GH-3083: Make DELTA_LENGTH_BYTE_ARRAY default encoding for binary

Rationale for this change
The current default for V1 pages is PLAIN encoding. This encoding mixes string length with string data. This is inefficient for for skipping N values, as the encoding does not allow random access. It's also slow to decode as the interleaving of lengths with data does not allow efficient batched implementations and forces most implementations to make copies of the data to fit the usual representation of separate offsets and data for strings.
DELTA_LENGTH_BYTE_ARRAY has none of the above problems as it separates offsets and data. The parquet-format spec also seems to recommend this https://github.com/apache/parquet-format/blob/c70281359087dfaee8bd43bed9748675f4aabe11/Encodings.md?plain=1#L299
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?

Hey @raunaqmorarka thanks for raising this. I think we want to discuss on the devlist first if we want to change behavior. Would you be interested to raise this?

I'm not sure how to start a discussion on the devlist, I don't have credentials to login there.
It would be nice to discuss on the GH issue https://github.com/apache/parquet-java/issues/3083 if that's possible

@raunaqmorarka You can send an email to<EMAIL_ADDRESS>to subscribe. If you don't want to subscribe, you may directly send an email to<EMAIL_ADDRESS>You can see<EMAIL_ADDRESS>for reference.


[docs] Fix class name in overrides example

According to its API documentation, a key button does not exist on the
styles object of Button. Changing to root instead.
Avoids

"Warning: Material-UI: the key button provided to the classes property is not implemented in Button."

@manuelkiessling It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!


Remove duplication in Jenkinsfile

Create test.sh and setup.sh scripts to be used in Jenkinsfile, reducing code duplication. Same was done already in iconarray.

launch jenkins

launch jenkins

launch jenkins

launch jenkins

launch jenkins

launch jenkins

launch jenkins


Add homepage pagination

https://uxplanet.org/pagination-best-practices-76fbd3f5a78d

Video on slack

Ok, I think I've exhausted my design skills 😛 Here's what I have:
First page, desktop:

Middle pages, desktop:

Fewer number of links, desktop:

Mobile

Going to deploy to staging so that people can test...

From @EdOverflow on Slack:

I would make the buttons 50vw and add a little height. Makes it easier for mobile users.

Deployed on http://gratipay-staging.herokuapp.com/?status=approved&page=2

I would make the buttons 50vw and add a little height

I'm worried this will make the buttons look disproportionately sized in comparison to the other links/buttons on the page - worth trying though. Also, got to find an example of another site that does this

The list numbers restart on each page, is there a way around this?

The list numbers restart on each page, is there a way around this?

As in, the numbers restart when you switch tabs?

Oh I think I get what you mean - the numbers on each item. That definitely looks weird, will fix

List numbers issue fixed.

(the list numbers are 41, 42 etc. now - they used to be 1, 2, 3 before)

That... seems to have broken other pages, will take a look

Screenshots:
Desktop 1

Desktop 2

Mobile 1

Mobile 2

@rohitpaulk Lookin' good! Should we implement the recommendations under "Should I use a list of number or Next/Previous buttons for pagination?"?

Also, got to use i18n for previous, next etc.

I tried adding a bit of brown to the ... fillers, here's a before and after:
Before

After

Done, deployed to staging
Screenshots:

This really improves the homepage experience, !m @rohitpaulk 🍻


ERIP - RRSP or direct payment validation

AC

[ ] Both "Do you want some or all of your ERIP payment to be paid to you directly?" or "Do you want some or all of your ERIP payment to be transferred directly to your RRSP?"

Please add an apostrophe (') towards the end of the sentence

Thanks Bhumin - moving to PO

works well

works well


Pictures are rendering in a wrong way

Expected: to be rendered as on m. Habr.com (article: https://m.habr.com/ru/post/526946/)

Current state:

Cannot reproduce that in Chrome, can you share your device model and browser version?

@k2589
Cannot reproduce that in Chrome, can you share your device model and browser version?

Edit: probably display: flex bug

iPhone 11, iOS 14.0, Safari

Did 9a7ce380a700db2b630d4c1fabf9d9d1481e39e5 fix the issue?

Did 9a7ce38 fix the issue?

Nope:( Issue still exists

Have you updated the SW? Try clearing site's cache and data.
Needs more investigation. I don't have such device so I cannot really fix this issue. Might be solved somewhere in StackOverflow.

Check if 5e54b3359cbc8a33ad5ed0be1f2c66cbafc67b7c fixed the issue

Check if 5e54b3359cbc8a33ad5ed0be1f2c66cbafc67b7c fixed the issue

Now everything works fine! Thank you!

Glad to see that!


How to test on image

@myounus96 You should first configure the relevant parameters in parameters.py, and then run the main.py script. Of course, first you need to train the model...

@myounus96 You should first configure the relevant parameters in parameters.py, and then run the main.py script. Of course, first you need to train the model...

Have done that..tester.py only producing acc metrics..not coloured masked predicted images..

@myounus96 Please refer to the detection.py script in the deployment folder.

it just keep giving 'load NONE from pretrained checkpoint' error.

@myounus96
You should load face detect box weight from （https://pan.baidu.com/s/14MzwqOBxY2tciC5V8MXW2w and password is a9ty）first.

@myounus96
You should load face detect box weight from （https://pan.baidu.com/s/14MzwqOBxY2tciC5V8MXW2w and password is a9ty）first.

Thank you will try this.

I got 'page doesn't exist'.

@myounus96 Please check your email.

@JACKYLUO1991 didn't receive any email yet, will confirm when received.

Got the email.

@ success or failure?

@ success or failure?
Getting this error FileNotFoundError: [Errno 2] No such file or directory: './segmentation/ParseNet_120_G.pth'.
By placing trained model in segmentation folder, getting this size mismatch for classifier2.weight: copying a param with shape torch.Size([19, 512, 1, 1]) from checkpoint, the shape in current model is torch.Size([19, 384, 1, 1])..

@myounus96 You need to train the segmentation network first. What you were given before is the weight of face detection.

@myounus96 You should first configure the relevant parameters in parameters.py, and then run the main.py script. Of course, first you need to train the model...

Have done that..tester.py only producing accuracy metrics..not coloured masked predicted images..

Already done that, have mentioned in my 2nd comment. ^

@myounus96 I think line 390 of the detection.py script is what you need.


Deprecate HOMEBREW_NO_ENV_FILTERING

It's undocumented so we don't need to do the full deprecation dance here but let's give people a bit of a head up.

Review period will end on 2021-03-05 at 08:54:04 UTC.

Places we use this within Homebrew:

remove-disabled-formulae action - can be removed without issue.
brew-script action - I see the usefulness of this, though the regular Actions {{ ... }} system covers most use cases.
prey Cask - sounds like they need some way to pass arbitrary user-supplied data to the installation of a Cask.

remove-disabled-formulae action - can be removed without issue.
brew-script action - I see the usefulness of this, though the regular Actions {{ ... }} system covers most use cases.

👍🏻

prey Cask - sounds like they need some way to pass arbitrary user-supplied data to the installation of a Cask.

This should have never been recommended 😭. I'd suggest we do something like HOMEBREW_PREY_TOKEN which we then set to the variable they are looking for.

Review period ended.

Merging because this a warning and not an error. Agreed the above will need fixed before this can be fully removed.

Can we keep HOMEBREW_NO_ENV_FILTERING around undocumented and gated on HOMEBREW_DEVELOPER? I have found it useful for troubleshooting.

@sjackman I'd rather we didn't because of how much subtly breaks without it but I don't have strong opinions if others do.

Can we keep HOMEBREW_NO_ENV_FILTERING around undocumented and gated on HOMEBREW_DEVELOPER? I have found it useful for

I'd rather we didn't because of how much subtly breaks without it but I don't have strong opinions if others do.

How about blazing a big opoo warning at the top and end of each brew invocation when HOMEBREW_NO_ENV_FILTERING is enabled?

How about blazing a big opoo warning at the top and end of each brew invocation when HOMEBREW_NO_ENV_FILTERING is enabled?

@sjackman That would be a reasonable compromise yet 👍🏻


Fixed swift interop issue that prevented returning a nil NSURL for a download task

Fix for #3104 and #3043

Brought into 3.0.0 with e501c8e


Possibly send 'Delete' request on closing

To handle disconnection between the player and WHEP endpoint. It might be better if the player could post 'Delete' when it is about to be closed. So the endpoint would release the resources accordingly.

I guess we could implement a disconnect function for the adapters to implement


⚠ Fetchers has degraded performance

In 0e090b8, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 328 ms

Resolved: Fetchers performance has improved in 0dd011e.


Navigating to a ViewLocation does not work for inlined locations

Version and Platform (required):

Binary Ninja Version: 3.4.4196-dev
OS: MacOS
OS Version: Monterey
CPU Architecture: M1

Bug Description:
When navigating to a specific ViewLocation using the current_ui_view_frame.navigateToViewLocation() Python API for a ViewLocation that is inlined within the current function, Binary Ninja navigates to the ViewLocation of the that instruction in the originating function instead of the current function.
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

Open the attached binary (t8.exe) in Binary Ninja.  WARNING: This binary is Windows malware.
Navigate to 0x406a3f
Set view to Linear Medium Level IL
In the Python Console, enter the following:

loc = ViewLocation(current_function, 0x41dd80, current_ui_view_location.getILViewType(), 4)
loc.setViewType(current_ui_view_location.getViewType())
execute_on_main_thread(lambda: current_ui_view_frame.navigateToViewLocation(bv, loc, True, True))

Observe that Binary Ninja navigates to 4 @ 0x41dd8f within the function __EH_prolog3 instead of navigating to 4 @ 0x41dd80 within the function sub_406a3f

Expected Behavior:
I expected Binary Ninja to navigate to 4 @ 0x41dd80 within the function sub_406a3f.
Additional Information:
sub_406a3f contains a call to the function __EH_prolog3.  In Medium Level IL, the call to __EH_prolog3 is replaced with the inlined instructions of __EH_prolog3.  The ViewFrame API navigateToViewLocation seems to suggest that I can specify an exact ViewLocation when providing the full context of a function, address, IL view type, instruction index, and view type.  As far as I can tell, navigateToViewLocation seems to ignore the context of the supplied function and instead navigates to the function that contains the given address.
t8.zip

This is a bug in linear view only. Graph view navigates as expected.


reflow mail-messages with '>'

Hello,
I'm looking whether Atom could replace vim as external editor for composing messages in Claws/Evolution/etc. but the problem is that the message containing '>' chars is not properly reformatted due to '>' not being honored.
I asked about the same thing in the forum.
Do you believe there should me some special mail-mode for Atom or it could be handled within autoflow package itself?

Same with markdown and blockquotes...

Fixed by #45.


I have restarted since November. Did the offset change? Was the Desert Map updated?

I used it well in November. Does it work right now?
If the offset is changed, do you know the new offset?
Or give me another way to know
How do I update my new desert map?

I guess there is some sort of pointer encryption nowadays, but you should be still able to decrypt them somehow. However, I'm not going to decrypt/tell the method how to do so


Remove [ente.io]/[Photo Storage]

I'm sorry if this is the wrong way to do it but here goes:
I was looking for photo storage alternatives and looked into ente.io and found this comment that might warrant the removal of said service from this list:
https://www.reddit.com/r/PrivacyGuides/comments/rjzc9s/compare_cryptee_and_enteio/
Look at the top comment from the user "aliceturing"

Just for the record, a copy&paste of the comment:
89
u/aliceturing Dec 19 '21 Dec 19 '21
Where do I even begin.
First off anyone who has ever read any legal document would easily be able to see that folks over at Ente clearly haven’t done any legal homework, and I wouldn’t ever recommend anyone serious about their privacy to consider using Ente. Your message got me all curious, so I just read through their terms and privacy policy.
1 – Ente claims to be open source, and have a GPL-3 license on their github, yet, their terms and conditions have an IP clause that’s clearly conflicting with GPL-3 like this :
You are not allowed to, and you can't let anyone else use, copy, alter, distribute, display, licence, modify or reproduce, reverse assemble, reverse compile, communicate, share, transmit or otherwise make available, (whether digitally, electronically, by linking, or in hard copy or by any means whatsoever), any of our code, content, copyright materials, intellectual property or other rights without getting our permission in writing, other than in order to use our services as intended or as allowed under any open source licences under which we use intellectual property provided by others.

What this tells me is that they clearly don’t have an attorney, nor did they care or bother enough to hire a lawyer to read through what they copy pasted onto their terms and conditions / privacy policy etc.
2 – Why does this matter? Ente is a company(?) based in India. A country so famously bad for privacy protections that even Facebook / Whatsapp decided to sue the government.
https://www.forbes.com/sites/aayushipratap/2021/06/15/whatsapps-fight-with-the-indian-government-over-its-data-privacy-rules-may-have-global-reverberations/
So I don’t think you should trust Ente with anything. They’re based in a privacy hot-zone, and clearly haven’t done any legal homework before attempting to make an app about privacy.
Let’s build a bit more upon this though before we write them off for being based in India alone shall we?
3 – They have a copyright infringement / takedown clause in their terms and conditions. Like wtf. If they can’t see what you upload, and if it’s actually end-to-end encrypted as they claim, they wouldn’t need a copyright clause like this :
We respect the copyright of others and require that users of our services comply with copyright laws. You are strictly prohibited from using our services to infringe copyright. You may not upload, download, store, share, access, display, stream, distribute, e-mail, link to, communicate, transmit, or otherwise make available any files, data, or content that infringes any copyright or other proprietary rights of any person or entity.

Why is this weird? Because they wouldn’t be able to prove copyright infringements without being able to check the content, thus wouldn’t be able to take down anything. If they have this clause, and could take down content, I’ve got multiple burning questions.
Either a lawyer wrote this, and they can see your files and can confirm copyright infringements, and can take down your content.
Or they don’t have a lawyer, nobody read through this, and they just copy pasted terms and privacy policies, and that’s an even bigger red flag given that they’re based in a country with horrifying privacy and online-scam legal track record.
You can probably see where I’m going with this… but I’ll still elaborate bit more because why not.
4 – Let’s look at their strange Copyright Counter-Notices section.
We process all takedown notices based on good faith acceptance of the representations from the party submitting the takedown notice. We do not review the material before processing the takedown notice.

So wait. I can submit a copyright take-down notice for all user accounts on Ente right now, and have all users’ photos taken down?

You may file a counter-notice if you believe that access to a file you have uploaded has been wrongly disabled because it was the subject of an incorrect takedown notice. You should only do so if you are confident that no other party owns copyright in the material, or you have rights to store the material and, if you are sharing it, that you have the right to do so.

Please understand that:

21.1. When we receive your counter-notice, we pass it, including your address and other contact information, to the party who issued the original takedown notice.

So it gets better. To keep your files after a potentially malicious copyright notice, you have to file a counter-notice. But when you file a counter-notice, Ente gives your address and contact information to the malicious actor who filed takedown notices. WTF so if I file copyright notices for all users’ photos, not only users would need to file counter notices to keep their photos, but Ente would also give me their addresses and contact information!? How convenient!
So don’t confuse Ente for a privacy service provider. It’s just an app, and likely made by a bunch of people with their heart in the right place, but actions (and company) in all the wrong places. I wouldn’t trust them to keep your data safe at all.
. . .

Hey, @DudeDude2, @pluja, one of the founders of ente here. Here's our response to this comment:

Yes, our source code is more open than what was specified in our terms. This was a human error, which we fixed as soon as it was pointed out. We do have lawyers.
We offer the same level of data protection as any other multi-national company (Apple, Dropbox, Google, Microsoft, ...). In fact more, since your data is e2ee. You can read more about this here.
This is nonsensical. Our terms have clearly stated that for a successful takedown request, the reporter has to submit both the file identifier and the decryption key (Clause 17.3). This means only those you have explicitly shared your files with can submit a takedown request for those files.
Again, you can request a takedown for all our users only if you have managed to get hold of every single user's device, and all of their encryption keys.

If you have any follow up questions, I'd be more than happy to address them here :)
I sincerely hope you will re-evaluate your decision to delist ente.


How to call change function for JSON field source

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request

Current behavior
Can't assign a change event function like this in templateOptions:
"change": "function($event) { this.alertme(); }"
and binding like this:
if (f.templateOptions && f.templateOptions.change) {
f.templateOptions.change = f.templateOptions.change.bind(this);
}
It produces this error in console:
Error: f.templateOptions.change.bind is not a function
Expected behavior
Able to call a change function for dynamically loaded fields
Minimal reproduction of the problem with instructions
see this stackblitz for example:
https://stackblitz.com/edit/angular-g1h2be-m7aekd
Chrome 71

in formly we only evaluate the js expression and not define the entire function, I'd suggest the following solution instead: https://stackblitz.com/edit/angular-g1h2be-hpwffy

worked perfectly many thanks!

@aitboudad  This solution is great. And I encountered another question, in the source code, the change event is FormlyTemplateOptions which accepts two arguments, field and event. So can I get these two arguments in the alterme() function in the example you took?
type FormlyAttributeEvent = (field: FormlyFieldConfig, event?: any) => void
Thanks.

There is an error,
ERROR in src/app/ngx-formly/user-registry-form/user-registry-from.component.ts(222,61): error TS2345: Argument of type 'FormlyAttributeEvent' is not assignable to parameter of type 'string'.
Caused by the
Function('$event', field.templateOptions.change)
Ignore this error during the compiling ?

@carlwang87 rely on a new parameter name instead of change use for example changeExpr

So can I get these two arguments in the alterme() function in the example you took?

https://stackblitz.com/edit/angular-g1h2be-hpwffy


[eventhub] Upgrade to<EMAIL_ADDRESS>

Event Hubs is still using version 2 of the eslint plugin. This issue is to track upgrading it to version 3. Instructions below.
Affected packages:

[ ] event-hubs
[ ] event-processor-host

--
The gist of how this works is to basically do the following steps in the package directory:

Add a dependency on the new version (3.0.0) of the plugin to your devDepdendencies:

"@azure/eslint-plugin-azure-sdk": "^3.0.0"
you also need to make sure the following are also devDependencies (due to how eslint resolves plugins, you need all plugins that are used by the configuration as direct devDependencies):
"@typescript-eslint/eslint-plugin": "^2.0.0"
"@typescript-eslint/parser": "^2.0.0"
"eslint": "^6.1.0"
"eslint-plugin-no-null": "^1.0.2"
"eslint-plugin-no-only-tests": "^2.3.0"
"eslint-plugin-promise": "^4.1.1"

Create .eslintrc.json with these contents:

{
  "plugins": ["@azure/azure-sdk"],
  "extends": ["plugin:@azure/azure-sdk/azure-sdk-base"]
}

Change the lint and lint:fix commands in the package.json file to the following:

    "lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
    "lint": "eslint package.json api-extractor.json src test --ext .ts -f html -o search-lintReport.html || exit 0",

Make sure the eslint plugin is built. A safe way is to build the tree of your package's dependencies again:

rush update
rush build -t @azure/<package-name>

Make sure it says it built @azure/eslint-plugin-azure-sdk in the process.

Run the linter and check the output:

rushx lint
then open the lint report HTML file in the package directory.
--
You might find that you need to disable some of the rules temporarily while we can work out fixes for them. Just log an issue with the eslint-plugin tag for any that you find.

We can skip event-processor-host as it is Track 1 and only in maintenance mode


Add targetName to paramter to getBuildProperty

Allow to get property only of one target similar to updateBuildProperty.


Deploy #748c32e to production

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


TODO: clock component

Will merge feat(clock-component) into feat(top-section) (bc its branches from that) and then continue from there thanks  @ChaiyapatOam 🚀


CVE-2020-7788

https://github.com/advisories/GHSA-qqgx-2p2h-9c37
This bug is caused by the dependency js-beautify. I have opened an issue there too. Please help update the child dependency or close this when the bug has been fixed.

fixed in https://www.npmjs.com/package/pretti


Misc minor fixes to Switch Optimization

Disabled Switch optimization upon Rejit.
Cleaned up an API which is no longer called.
Added back the Assert in the Ld_A const folding API (It was removed
earlier as it can have only two BailOutKinds, but it is good to have the
old assert here.)

https://github.com/Microsoft/ChakraCore/pull/704 was closed due to some issue with ChakraHub. So recreating a new (duplicate PR).


minor edits

The Gif does not appear in preview? I assume it will when published?

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/excel/custom-functions-overview.md
:warning:Warning

Details

docs/excel/custom-functions-overview.md

Line 0: [Warning] Invalid file link:(~/../images/custom-function.gif).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Active Problem Reload Bug

When a problem that is being actively monitored is reloaded in the browser, its init timestamp should not be updated.
Actively monitored problem: Problem object in the storage not having an end timestamp, or having end timestamp as null.
Consequently, when we begin monitoring a problem, remove with its end timestamp if it already exists.
Or better yet, look into creating a sessions-type object for each problem objbect, to record the start and end timestamps for each session.

#10 Refer to this for information about the problem object structure.

Fixed in 2a8648bf746b7f744dbecc8fd071b52604943ccc


Japanese cannot be displayed

Japanese cannot be displayed.
The file:
Japanese.pdf
Can you solve it?
Thank you.

I've fixed the problem.
The path can only be in English.


Versioning

In addition to handling Python versioning, I think it'd be import to nail down versioning of CONGA, itself.  This can be handled by GitHub actions that can run code/programs triggered by making a new release using the GitHub interface. What I normally do with GitHub actions are: 1) add the program files, themselves, as assets to the release on GitHub, 2) create a Docker image and push to Docker Hub, tagged using semantic versioning. It'd also be good if CONGA output its version number when it runs (sorry if it already does and I didn't see it).
GitHub can also automate the creation of versioned pip and conda packages,

Now using versioneer to automatically bump version numbers according to git tags and using github actions to create new releases when git tags are pushed. Need to also automate a changelog which I will add an issue for.


Updated annotations and demos for auto generated docs

Made updates so that we can auto generate docs on http://reactivex.io/. See https://github.com/ReactiveX/RxPHP/pull/27

You can view what it looks like on this temp site:  http://gemsbok.voryx.net/documentation/operators.html

👍 this is really great

I checked this out - it looks good. I did make a few notes.


Add checks to model

Check for:

double links
orphan links
out-to-out links

in-to-in links

done


Push store in background

How I can store a push notifications, when my aplicación is in background, I see how WhatsApp can store a push , after I received a push I desactive de data network, and launch the application, in this momento the record send in the push is store in the aplicación

WhatsApp does push notifications a little differently since they use VoIP background modes iirc. What use case are you trying to address?


Support for commands with multiple parameters

I'm trying to enter a command to my SCPI-enabled device that takes multiple parameters:
Concretely"
MEMory:WORD <address>,<value>
With a concrete invocation of:
MEM:WORD #H0196, 511
However, when I try to execute inst.mem.word(0x196, 512), I get:
Traceback (most recent call last):
  File "easy_scpi_test.py", line 20, in <module>
    main()
  File "easy_scpi_test.py", line 13, in main
    inst.mem.word(0x196, 512)
TypeError: __call__() takes from 1 to 2 positional arguments but 3 were given

Thank you for the suggestion. I just pushed a commit. Can you please pull the new code and test it out before I push it to PyPI?

This should be resolved in version 0.1.1.


Implementation of __repr__ method within jitclass

Hello,
Numba 0.56.0 has introduced support for many builtins for the numba.experimental.jitclass type.
Would it be possible to add __repr__, too?
I think it might be useful to increase the level of interaction with Jupyter Notebook.

Thanks for the request! It's potentially a little involved but I think possible to do this. Out of interest, what would you expect __repr__ to return by default? Maybe a string like <numba.experimental.jitclass... object at 0x_address_ >?

I expect something in line with the standard representation of an object, see:
repr
repr()
But it seems like something is already there:

There is indeed something present already, asking for your expectation was to essentially  see if it was stdlib repr()/__repr__ or something else jitclass specific. Many thanks for confirming!

Is there any plan to allow the user to choose what the __repr__ method should output?
It can be useful to return a string containing enough information to reconstruct the object, as advised in eval().


Edit 'Find and Apply' has opened emails and 1 sign in email (continuous applications)

Context
We need to edit our emails so they make sense for continuous applications (and some of them are very old so an opportunity to refresh them).
This change relates to the emails we send to candidates when Find and Apply open for the new cycle
It also includes a small change to one of our sign in emails.
Changes proposed in this pull request
Trello ticket for find and apply open emails
Changes:
Edited content to make more sense for continuous applications
Added link to guidance on the applications process
Added appropriate footer to one of the emails
Trello ticket for sign in email
Small content change to make 'application' plural
I've put this around a feature flag for continuous applications, which James showed me - need to make sure this works.
Guidance to review
Make sure the code is correct (it was mainly content changes)
If tests break, I might need help fixing them
Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] If it adds a significant user-facing change, is it documented in the CHANGELOG?
[ ] Required environment variables have been updated added to the Azure KeyVault

 Edit content on Apply sign in emails

@MaeveRoseveare @tomas-stefano I added the updated text to email subjects as well. I'm assuming that's the case in order to match the header but let me know if I should revert it. The subject line is getting tested in quite a few places, so I added a helper to manage that.


refactor(API): move the model-based functions to helpers

Notes:
Following the decision of not having the model-based calls as part of the API Category contract, I moved them out and created semantic factories to build the GraphQLRequest from the models, so the functionality is preserved.
Examples:
Mutation of type create:
// previous
Amplify.API.mutate(of: post, type: .create) { response in
}

// new (mimics the underlying GraphQL statement: createPost)
Amplify.API.mutate(request: .create(post)) { response in
}

Queries:
// previous
Amplify.API.query(from: Post.self, where: nil, listener: { response in
}

// new  (mimics the underlying GraphQL statement: listPosts)
Amplify.API.query(request: .list(Post.self)) { response in
}

// ---

// previous
Amplify.API.query(from: Post.self, byId: "id", listener: { response in
}

// new  (mimics the underlying GraphQL statement: getPost)
Amplify.API.query(request: .get(Post.self, byId: "id")) { response in
}

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

so does that mean with this change we are keep the APIs for DataStore the same but we can follow up by refactoring those over to something simiilar? (syncQuery, mutations, query) not a priority since those are not public facing

I believe they already follow the same pattern, those queries and mutations are added as an extension to the GraphQLRequest on https://github.com/aws-amplify/amplify-ios/blob/master/AmplifyPlugins/Core/AWSPluginsCore/Model/GraphQLRequest/GraphQLRequest+AnyModelWithSync.swift


Add scanner and printer Canon PIXMA TS5355a

Compare to #60.

Installed: canon-pixma-g6000-complete
Message:
====================================================================================>
==>
==> Final steps you have to take:
==>
==>   Connect & turn on your printer
==>
==>   Run command
==>      cnijlgmon3
==>
==>   This should give you the address of your printer.
==>   Now you can register it with
==>      sudo lpadmin -p G6000 -m canong6000.ppd -v <printer-address> -E
==>
==> How to scan:
==>
==>   A 'Cannon Scangear' icon has been installed in your application menu.
==>   Alternatively, run this command from the command line:
==>      scangearmp2
==>
====================================================================================>

Works without additional steps.

cnijlgmon3

direct cnijbe2://Canon/?port=usb&serial=01DE95 "Canon TS5300 series" "USB Printer #1 with status readback for Canon IJ"

sudo lpadmin -p G6000 -m canong6000.ppd -v 'cnijbe2://Canon/?port=usb&serial=01DE95' -E

sudo lpadmin -x G6000

search for models in /usr/share/cups/model/*

sudo lpadmin -p TS5355a -m canonts5300.ppd -v 'cnijbe2://Canon/?port=usb&serial=01DE95' -E

Package canon-pixma-ts5055-complete seems more up-to-date.
sudo lpadmin -x TS5355a and uninstall canon-pixma-g6000-complete.

cnijlgmon3

direct cnijbe2://Canon/?port=usb&serial=01DE95 "Canon TS5300 series" "USB Printer #1 with status readback for Canon IJ"

sudo lpadmin -p cups-Canon_TS5355a -m canonts5300.ppd -v 'cnijbe2://Canon/?port=usb&serial=01DE95' -E


Cross-Repo Issue Visibility

Is your feature request related to a problem? Please describe.
Monitoring issues across the entire rubrikinc organization can be cumbersome and makes it difficult to ensure issues are properly being addressed
Describe the solution you'd like
A dashboard that shows all current issues across the rubrikinc organization and allows for easy filtering
Describe alternatives you've considered
The GitHub Issue Dashboard is a step in the right direction but its difficult to process the data since it's all grouped together. It's also not easy to filter based off of various criteria.
I've also searched GitHub for any open-source alternatives but did not find anything that work.
Additional context
Could potentially be combined into https://github.com/rubrikinc/welcome-to-rubrik-build/issues/8 and https://github.com/rubrikinc/welcome-to-rubrik-build/issues/10 for a more wholistic solution

Tracking internally via Jira


[Feature]Some expected features.

<Suspense fallback={null} children={<New />} /> Expecting the ability to customize settings for fallback,The use case is to set a loading component when switching between routes.
Routes supports configuring the handle property. The use case is for customizing page authentication (auth) and breadcrumb (crumb).
Exporting a more user-friendly configuration that supports dynamically generating route menus.
Creating separate files for Link, Navigate, Path, Params, useNavigate, etc., in order to avoid circular dependency caused by their use in _app.

The above are some expected features for current use. Since routing is often used in conjunction with sidebar menus, page authentication, and breadcrumbs, it is expected to configure related properties for better compatibility with these scenarios.
If there are better ways to integrate with these scenarios, it would be great if the author could share and communicate them.

Hey @binghuis, thanks for the suggestion.
I believe the first three points and more can be handled via having a custom integration based on the available ones. generouted core was exported for this purpose at some moment. Here's a related issue https://github.com/oedotme/generouted/issues/28#issuecomment-1344011149 with an example - but would make sense to use an up-to-date integration code.
For 4, the latest plugin release includes a change that would address the circular dependency. You can check v1.9.0 for more details. I believe also it the experience and HMR are improved after this release.

I'm glad that I could be of help.


Adding catMaybes

Example from Hoogle
>>> catMaybes [Just 1, Nothing, Just 3]
[1,3]

There exists an Elm implementation, but it's in a library that's not isn't as focused as this one elm-exts
This looks relatively easy to implement with maybeToList (or could be copy-pasted from elm-exts), and I can submit a PR for this.

Hey @jonboiser, this is actually pretty easy to achieve with core functions:
List.filterMap identity [Just 1, Nothing, Just 3]
http://package.elm-lang.org/packages/elm-lang/core/3.0.0/List#filterMap
What do you think?

That looks good to me. Even though it's simple, it might still be nice to include in this library, since its API overlaps somewhat with Data.Maybe, and Haskellers might be expecting it.

Sounds good to me! Do you want to submit a PR?

@lukewestby PR is set up.

Just to point out, I suspect that this may want to be called filterJusts I think in order to match the other filter patterns in Elm. (I think I remember something like this being proposed in the past?)
Maybe there's some existing conversations from the mailinglists and elsewhere we could quickly reference...


reorg tests

Change test directory layout:
test/ test_module.py
/test_input
/test_reference
/test_output
gitignore test_output

I just thought of one reason to actually remove output after each test: If our tests write out files with the same name (as many of ours currently do), then a test could fail but still find an ouput file from a previous test and conceivably not fail.

Good point. How does this change the reorganization? Or are you simply saying we should keep the rm at the end of each test?

Yeah.  maybe add some sort of debug hook so that you can get at the files if a test fails.
actually pytest -x might do the trick, since it will stop immediately if a test fails.


Nesting two storybook projects.

Is your feature request related to a problem? Please describe.
We have an existing library of components that we share across teams.
This library also has it's storybook.
Is it possible to do storybook composition, meaging, creating new storybooks that would start off including these base components (atoms, molecules, organisms), and then add to this storybook pages specific to the current project consuming the component library?
Describe the solution you'd like
Would like to be able to start a storybook with an existing storybook of atoms, molecules, to which i would add pages specific to the current project, consuming a library of common components.
Describe alternatives you've considered
We considered having two seperate storybooks, one for the web components then another one for the pages developed by each team, put would prefer to have one storybook per team, that includes the common components, and pages specific to the project

I don't see why you couldn't do this. Most Storybooks have a story loader that looks like this defined in its config.js:
import { configure } from '@storybook/react';

function loadStories() {
  let req;
  req = require.context('../lib/components', true, /\.stories\.js$/);
  req.keys().forEach(filename => req(filename));
  req = require.context('../services/webapp/screens', true, /\.stories\.js$/);
  req.keys().forEach(filename => req(filename));
  // ...
}

configure(loadStories, module);

Each storybook could have a different config with as many or as few of those as you wanted.

yes, each storybook is using the storyloader in config.js, but is there already a function in the storybook api that allows to export and import an entire existing storybook, into another storybook other than this storyLoader, like a storybookLoader?

No, we don't have anything like this. Fortunately, configuration is done in Javascript so it shouldn't be hard to reuse code between your configurations.
That said, I'm sure your use case is fairly common, so we can think about adding support for something like that in a future version. What do you imagine the API would look like?

A convenient api could be:

first, having the ability to export storybook A as an npm package (maybe this already exists?)
then being able to add this package to another project (React, Vue, Ang. etc.), that already contains a storybook config.js, and loading all stories side by side in config.js's loadStories function


[WIP]Make RepaintBoundaries raster-cachable

RepaintBoundary adds a rasterCache option to allow users to choose whether to cache the contents of RepaintBoundary in the raster cache. If the rasterCache of RepaintBoundary is set to true, it will improve the performance of complex list scrolling.
engine PR: https://github.com/flutter/engine/pull/32615
fix https://github.com/flutter/flutter/issues/91648
Pre-launch Checklist

[ ] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[ ] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[ ] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[ ] I signed the [CLA].
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is [test-exempt].
[ ] All existing and new tests are passing.

/cc @jonahwilliams who has looked a lot into repaint boundaries and raster caching recently..

Closing it, more context please see https://github.com/flutter/flutter/issues/91648#issuecomment-1125488826


Rust NTT updates

This PR aims to update NTT interfaces to a state where they can be conveniently used from C++ and Rust without breaking changes in the near future, including when we ship our improved NTT algorithm.

Left to do:

Merge https://github.com/ingonyama-zk/icicle/pull/299 into dev and merge it into the current branch
Add some more Rust NTT tests, in particular with different device-related options like on-device memory and async execution using non-blocking streams

An overview of this PR:

On the CUDA side, it's mostly fixes for issues found during testing and in our latest integration, including many alignment errors. Also, enabling some important functionality in NTT and MSM. On the NTT side, cosets are now fully functional, and in MSM, batch/non-batch functionality is unified and cfg.points_size enabled.
In Rust, NTT and MSM tests are added and some refactoring done. I used #[doc(hidden)] a lot to denote functionality of icicle-core that needs to be public in order for curves to be implemented, but doesn't need to be exposed to normal users of icicle. Some of this functionality comes from complications with writing idiomatic generic code that needs to rely on inherently non-generic extern functions. Another example is random scalar/point generation which needs to be public for tests and benchmarks but probably won't be used by most integrations (also I think that it needs to accept an rng parameter so needs a breaking change in its current form so I don't want to make it fully public API). If you have better ideas for not-so-public functionality pls let me know.
For the end user on the Rust side, the intended usage is as follows: import the needed curve that implements our master-trait SNARKCurve which should provide everything an integration needs. The functions like msm, ntt and get_default_*_config are generic free-floating functions. So, something like:

from icicle_bn254 import CurveCfg;
from icicle_core import {msm::{msm, get_default_msm_config}, ntt::{ntt, get_default_ntt_config}};
....
ntt::<CurveCfg::ScalarField>(....);
msm::<CurveCfg>(....);
....

It's the simplest API I could come up with. At the same time, we have a more flexible system of traits and types that will hopefully allow us to implement sumcheck-oriented protocols or SNARKs, or maybe build some higher-level abstractions like polynomial operations with minimal changes (hopefully).

some comments imo worth addressing in main


Non-topmost splashscreen

It's not that big a deal, but the splashscreen on top of everything is kind of a minor annoyance. I'm not sure if anyone agrees with me, but I figured I would submit it as a request anyway. Plenty of applications have splashscreens that are not above other windows.
Thanks!

The splash screen is not there in version 3.0.0 so I am going to mark as fixed.
3.0.0 will be releasing soon


Cannot compile iOS example app

Hello,
I'm trying to compile the example apps following this guide: https://instagram.github.io/IGListKit/
I download the current IGListKit version, then I run "./scripts/setup.sh" but I see this error:
Setting up example projects...
Setting up iOS examples...
Analyzing dependencies
2020-01-19 14:46:39.693 defaults[10716:3505260]
The domain/default pair of (/Users/ricardo/Downloads/IGListKit-master/Source/Info, CFBundleShortVersionString) does not exist
[!] The `IGListDiffKit` pod failed to validate due to 1 error:
    - ERROR | version: A version is required.

Any advice? What should I do to compile the iOS example app?
Thanks a lot.
New issue checklist

[x] I have reviewed the README and documentation
[x] I have searched existing issues and this is not a duplicate
[x] I have attempted to reproduce the issue and include an example project.

General information

IGListKit version:  4.0.0
iOS version(s): iOS 13 and 12
CocoaPods/Carthage version: cocoapods 1.8.4
Xcode version:  11.2.1
Devices/Simulators affected: NA
Reproducible in the demo project? (Yes/No): I guess so, I cannot compile it.
Related issues:

Just to highlight here. Fixed in this commit https://github.com/Instagram/IGListKit/pull/1423/commits/9253d54cc639759f6a7fc52fded80a95bac03c29

Thanks for surfacing this @JackieQi !

+1 definitely a demo project should take less than a minute to run.

Hello, there is a similar problem with MacOS 11.0.1, what actions should I take to fix this error?

This issue is reproducible on macOS 11.1 / 11.2, @JackieQi 's patch does fix it.


[allauth] Template context processor no longer supports {% if socialaccount.providers  %}

As of django-allauth/0.21.0:
"Template context processors are no longer used. The context processor for allauth.account was already empty, and the context processor for allauth.socialaccount has been converted into the {% get_providers %} template tag." - http://django-allauth.readthedocs.org/en/latest/changelog.html
In templates/account/login.html there is:
{% if socialaccount.providers  %}
{% blocktrans with....
This template tag is no longer valid and therefore, even if some providers are enabled this section of template will never be displayed.
I believe the solution to be:
{% load socialaccount %}
{% get_providers as socialaccount_providers %}
{% if socialaccount_providers  %}
.. but I haven't tested it.
Thanks

In setting up allauth with Facebook, I have tested this assertion and it is correct.
Switching from the former to the later allowed the Facebook login to display in the template.

Anyone want to submit a pull request?

I'll take care of that today
—
Joe Stelmach
On Sat, Aug 29, 2015 at 2:36 PM, Daniel Greenfeld
<EMAIL_ADDRESS>wrote:

Anyone want to submit a pull request?
Reply to this email directly or view it on GitHub:
https://github.com/pydanny/cookiecutter-django/issues/296#issuecomment-136022206

You could test with this branch
https://github.com/pydanny/cookiecutter-django/tree/issue-296
I start, but no have free open source time on this week
Em 01/09/2015 06:52, "Joe Stelmach"<EMAIL_ADDRESS>escreveu:

I'll take care of that today
—
Joe Stelmach
On Sat, Aug 29, 2015 at 2:36 PM, Daniel Greenfeld
<EMAIL_ADDRESS>wrote:

Anyone want to submit a pull request?
Reply to this email directly or view it on GitHub:

https://github.com/pydanny/cookiecutter-django/issues/296#issuecomment-136022206
—
Reply to this email directly or view it on GitHub
https://github.com/pydanny/cookiecutter-django/issues/296#issuecomment-136655789
.

Looks good to me

@Daviey @angryjoe Thanks for reporting/test and sorry for the very long delay
fixed in https://github.com/pydanny/cookiecutter-django/commit/8380f143c64eca14992e44956e4cc520ba4a3859


monad-peel-0.2.1: tests: Could not find modules

Preprocessing test suite 'test' for monad-peel-0.2.1...

Control/Exception/Peel.hs:40:18:
    Could not find module ‘Control.Exception.Extensible’
    It is a member of the hidden package ‘extensible-exceptions-<IP_ADDRESS>@exten_FEBYnjUcabpEXD3JqlYlJc’.
    Perhaps you need to add ‘extensible-exceptions’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Control/Monad/IO/Peel.hs:25:8:
    Could not find module ‘Control.Monad.IO.Class’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Control/Monad/IO/Peel.hs:33:18:
    Could not find module ‘Control.Monad.Trans.State.Strict’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Control/Monad/IO/Peel.hs:35:18:
    Could not find module ‘Control.Monad.Trans.Writer.Strict’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Control/Monad/IO/Peel.hs:37:18:
    Could not find module ‘Control.Monad.Trans.RWS.Strict’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Control/Monad/Trans/Peel.hs:33:8:
    Could not find module ‘Control.Monad.Trans.Class’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

test.hs:15:8:
    Could not find module ‘Control.Monad.Trans.Identity’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

test.hs:16:8:
    Could not find module ‘Control.Monad.Trans.List’
    It is a member of the hidden package ‘List-0.5.2@List_6t9ZXV2bo8L7U3emrRksGs’.
    Perhaps you need to add ‘List’ to the build-depends in your .cabal file.
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

test.hs:17:8:
    Could not find module ‘Control.Monad.Trans.Maybe’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

test.hs:18:8:
    Could not find module ‘Control.Monad.Trans.Reader’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

test.hs:19:8:
    Could not find module ‘Control.Monad.Trans.Writer’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

test.hs:20:8:
    Could not find module ‘Control.Monad.Trans.Error’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

test.hs:21:8:
    Could not find module ‘Control.Monad.Trans.State’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

test.hs:22:18:
    Could not find module ‘Control.Monad.Trans.RWS’
    It is a member of the hidden package ‘transformers-<IP_ADDRESS>@trans_GZTjP9K5WFq01xC9BAGQpF’.
    Perhaps you need to add ‘transformers’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.

Wow. I wonder how did it work when i tested it, but i found the test suite built and working.
--
()  ascii ribbon campaign - against html mail
/\  http://arc.pasp.de/   - against proprietary attachments

Thanks!


feat: added spellcheck

Description

Add spellcheck script and cspell.json for spell checking.
Current behavior (updates)

NIL
New behavior

NIL
Is this a breaking change (Yes/No):

No
Additional Information

@108yen
Do you run spell checks within the pre-commit hook? If needed, I can set it up.

@koralle @108yen

Do you run spell checks within the pre-commit hook? If needed, I can set it up.

 If needed, I can set it up.

Let's do it. If it bothers you, we'll remove it then.
CI will incorporate it.

@hirotomoyamada
Is there any problem to try with the Yamada Theme?

@108yen
No problem. I just don't think it will work.The reason is that spell check is not perfect.


HDDS-9781. Limited maxOpenFiles, disabled enableCompactionDag, and createCheckpointDirs when creating OMMetadataManager instance for bootstrapping

What changes were proposed in this pull request?
For the OMDBCheckpoint request, a new RocksDB instance is created on the checkpointed dir to verify that all the snapshots have created checkpoint dirs because it is an async process in RocksDB.
When this RocksDB instance is created, it is needed to be created with snapshot's DB's config rather than AFS's DB's config.
This change addresses this concern, limits the number of open files, and does not start background processes like compaction.
What is the link to the Apache JIRA
HDDS-9781
How was this patch tested?
Existing test.

Thanks @aswinshakil for the review.


Should stylsheets be embedded or a separate GET?

Right now stylesheets are embedded into the root layout. But, we haven't yet had a very large app. With the boot time of the app being dictated by the the dead render GET then parsing that document and finally making the LV connection if there is a large stylesheet that is embedded into the dead render it will impact the boot time and any re-render of each app.
If we instead link to the stylesheet via a url we could fingerprint the stylesheet and cache it. This way when we re-render the app we can inspect the fingerprint of the url to determine if it should bust the cache or not. If not, we pull from cache rather than GET.
If we go this way I think a larger conversation should be had about a general asset cache. We'd want to cache things like images using the same method. From a simple search it does't seem that AsyncImage doesn't cache, but someone shared their solution with a CachedAsyncImage view they wrote https://stackoverflow.com/a/69666892/366782

We need to wait for the stylesheet to be loaded and parsed to display the content anyways, otherwise you'll get one initial render without styles then have the styles appear after the parsing is done.

So for this the concern is that if we have a rather large stylesheet if it is being embedded into the document then we have to pay the network cost every time on the dead render. If instead it is a link with a cache bust QP on the url we can decide at render time of that document if we need to fetch it again based upon the caching strategy.


Add arm64 build output

Support for apple M1 silicon

Nice work @SimonyanG! Would love to see this hit default branch. Surprised this wasn't already implemented.

Bumping this for someone to take a look :)

Please implement this :)


Implement Read dissemination

You need to implement fetching the disseminations details. it will be having to types
- fetch all disseminations in a table format
- fetch single dissemination in form format
Note:
Please go through the created endpoints before you start working on this.
Refer: issue #40
https://github.com/Scaler-Community-Projects/NGO-Farmer-Analysis/wiki/Dissemination-Form

would like to contribute to this.

would like to contribute to this.

I have assigned you on another issue? do you want me to assign this too?

@mephi007 Have a look at this one.

I would like to work on this issue?

Not able to assign myself!

Not able to assign myself!

I have assigned it!


could you show the code position of softNMS and variance-voting?

I also want to know, can anyone answer？

@luckyxianxian  https://github.com/yihui-he/KL-Loss/issues/10
BTW, this repo is deprecated. Please use our new repo: https://github.com/yihui-he/KL-Loss


Add supporting javascript libraries, add _Helper class

This provides the underlying support needed to make various python modules load.  Since git doesn't like tracking empty directories, I also included a rewrite of the site._Helper class, suitable for including in the repl.  I have socket, dummy_threading, Queue, signal, select, multiprocessing, tempfile, and zipimport ready to go.  I don't know if it's better to include each in a separate pull request, or just separate commits.  Since they're living outside the current build tree, it probably doesn't matter, but it's easier to add them to the pull request than it is to remove them from it.

Maybe I'm missing something... but are the twisted and scheme bits supposed to be part of this pull request?

Nope, and they're not among the 8 modified files.  I'm still fumbling my way through git, so if there's a better way to do all this, I'm all ears.  I made a new branch, based off pypyjs/pypyjs/master, then pushed the new files to it.  Looks like somehow I manged to get the log entries from my master branch included, but I'm not sure how.  Once the main repo has the standard library stuff, I'll add twisted and scheme to my fork, but I doubt there will be much interest in having those in the main version.

Because your "master" branch has additional commits compared to the pypyjs one (it looks like the most recent commit in common is 4456afcc6daca63b1caa3bb8bad327f9b3560c9f from April), git wants to merge your history into the pypyjs repo. It can certainly be cleaned up, but if you're new to git it will involve a couple of weird rebase/branch/remote commands... so let's see if @rfk minds this PR as it is. :sheep: Git is not what I would call user-friendly.
As for the other bits, they obviously don't belong in the standard distribution... but the scheme module especially is a super bizarre idea! Scheme to Python to JavaScript to aljlksjdlkfjalk!

Yeah, or perhaps I can retry making a fresh branch off of the main repo.  Worst case is I just delete my fork and make a new one :smile:.
As for including twisted, the twisted reactor works pretty well for managing concurrent tasks in the client, since it is designed to be single-threaded and asynchronous.  I had to mess with its internals a bit to get it happy running on top of pypyjs (lots of modules unconditionally loaded, but then conditionally used, since the conditions should never be true on top of pypyjs, I stripped the dependencies).  Obviously it won't belong in lib/stdlib/python, maybe we should create a lib/extralib or something.
As for why I ported my scheme interpreter to pypyjs, it's the easiest way to do synchronous programming with pypyjs.  I modified the scheme interpreter to use a generator pattern, so you just use a settimeout loop to run a few dozen iterations of the scheme main loop; when you hit a synchronous request, you suspend the scheme interpreter until the condition is satisfied, then continue.  Since it supports full call/cc (re-entrant and escape continuations), it opens the door to lots of possibilities not readily available in js.  Of course, the amount of dynamic code generation it does makes the JIT choke, so it only really works with the non-JIT build.  I just got done adding a very basic JIT to the scheme interpreter itself, so I'll see if that helps pypy's JIT not choke on it.

I'm still fumbling my way through git

Git is not what I would call user-friendly

Thanks for persisting with git to get this PR up; I'm happy to do a bit of git-wrangling on my side to clean up the commit history here and only pull in the necessary changes.

I have socket, dummy_threading, Queue, signal, select, multiprocessing, tempfile, and zipimport ready to go.

@perkinslr I suggest just adding them all to this PR as additional commits.  I can review them all together, and then prepare a single clean commit that includes just the final diff, but not the extra schema/twisted stuff that's in the commit history on this PR.  Sound OK?

Okay, that's all the standard library that I've got working so far.  Currently os.py uses overridden os.read and os.write to support writing to javascript file-like objects (websocket, pipe).  It would be better to properly register js objects as files in python, which will probably require modifying pypy.
Thanks for volunteering to do the git-wrangling, I'm lucky if I can get the version on github and the version on my computer to match contents.  Is there anything in particular I should do to avoid this issue next time around?

Thanks @perkinslr; FYI I'm traveling for work this week so may be a little slow on email, but I'll try to pinch an hour one evening to take a look at this.

No worries, if I get a bit of time I'll see about cleaning up some of the code-generated ones so they're easier to read.  Also, if there're any other core libraries that don't import and block stuff, I can probably give them a kick.

@perkinslr I'm working on the unittest module, so you don't have to worry about that.
I don't know about progress on CFFI, but my project's viability depends on it, so it will happen within a year.

How likely are we to get CFFI or ctypes working with emscripten-based modules anytime soon

I had a couple of ideas but haven't looked into this in a while, and I know emscripten grew some new function-pointer-related functionality in the meantime.  @crantila have you dug into that in any detail?  (But we should probably move the details of that conversation to a more specific bug)

@perkinslr if you're happy that it's got all the relevant commits, let's move discussion of this over to #167.

Is there anything in particular I should do to avoid this issue next time around?

I'd love to offer some advice here but I don't think I have much wisdom to add; I was just going to make a fresh branch from master and git cherry-pick all the relevant commits :-)

Okay, sounds good, if I get some free time I'll try to wrap Sql.js, since it has a decent interface.

The extent of my work on CFFI in PyPy.js starts and ends with reading the issue report and thinking "oh sweet, we totally need that!"


Lang-1465: Fix the ZZ time zone format

Try to fix ZZ time zone format.
Issue link: https://issues.apache.org/jira/projects/LANG/issues/LANG-1465.
Thanks.

-1. Please see the test failures https://travis-ci.org/apache/commons-lang/jobs/589618913

The Z modifier here is not the same as within Java itself. Therefore, rejecting it. Moreover, your usecase is nonsense because the format is not valid according to ISO 8601.

The Z modifier here is not the same as within Java itself. Therefore, rejecting it. Moreover, your usecase is nonsense because the format is not valid according to ISO 8601.

Hi Michael, but the previous version can pass this test case.


site picocli.info doesn't work

Can not access to https://picocli.info/

I just tried on my phone and it looks fine to me.
Do you get an error message? What do you see?

Sorry, it seems like all "info" sites are blocked in my country. It works from TOR browser. I just have not been realized this before.

Oh no! I did not realize that.
I will look into adding another domain, in addition to picocli.info (this will take me some time)...

I think it is not required. We had elections last Sunday. I believe it's temporary. They just do not know what to block.

I see. Thank you for the clarification.
Be safe!


Refactoring with newest php version style

The structure of Shorthand comparisons in this file,  Used ?? . maybe it's better to exchange ?: with ?? operand .  its just for having same Coding Style in All of the file.

While in this specific situation, it may not matter, the null coalesce(??) is not intended as a replacement for the short ternary(?:). Each has its own distinct functionality. This isn't simply a style choice.

While in this specific situation, it may not matter, the null coalesce(??) is not intended as a replacement for the short ternary(?:). Each has its own distinct functionality. This isn't simply a style choice.

for this situation we can save style structure.


1:2 condition does not seem to work correctly

When in the gate layer and setting a condition to 1:2, this causes the gate to trigger every time, rather than only on the first of two sequence loops.

Fixed in d72148c396ba26c3a6a95a144debd6c392c16645


Updated info.json

Added missing mandatory keys 'category' and 'supportInfo'

@cs-suyog-jinturkar Please review this


[Feature] Can centos7 use this project?

Checklist

[ ] 1. If the issue you raised is not a feature but a question, please raise a discussion at https://github.com/sgl-project/sglang/discussions/new/choose Otherwise, it will be closed.
[ ] 2. Please use English, otherwise it will be closed.

Motivation
I can't install flashinfer-0.1.6;
" Download NCCL 2.22.3, for CUDA 12.4 " maybe not support centos7 ?
Have you ever try running on centos7?
Related resources
No response

cc @yzh119

You can install CUDA compat if you cannot directly upgrade your nvidia driver.
Otherwise, everything is working fine in CentOS 7 on my end.

FlashInfer is built with pytorch/manylinux-builder and it should be compatible with CentOS 7. I am unable to reproduce your issue.
https://github.com/flashinfer-ai/flashinfer/blob/52dab1d4a4d7e5d910a8c695de911d979d6f2038/.github/workflows/release_wheel.yml#L57


[Documentation]:  Improve docs for dataplane code generation for more supported features

Please describe the issue or feature request.
Current site https://azure.github.io/typespec-azure/docs/howtos/DataPlane Generation - DPG/00howtogen lack some detailed information on how the generated SDK would look like for various TypeSpec input.
Describe your ideas for solutions
We need to improve the DPG documentation to ensure all our partners would understand the expected SDK would look like for their TypeSpec inputs.
### Tasks
- [ ] https://github.com/Azure/typespec-azure/issues/1347
- [x] The spread of alias & models
- [ ] https://github.com/Azure/typespec-azure/issues/1351
- [ ] https://github.com/Azure/typespec-azure/issues/1348
- [ ] https://github.com/Azure/typespec-azure/issues/1349

Created a couple of sub issues for each feature that need documentation.  Feel free to add more into this list.


BE OOM crash because expr use lot of memory

Steps to reproduce the behavior (Required)

create table:
tpcds tables with 1G data;

select:

mysql> select
    ->   e() as c0,
    ->   ref_0.ss_cdemo_sk as c1,
    ->   case when ref_0.ss_promo_sk > ref_0.ss_promo_sk then ref_0.ss_net_paid_inc_tax else ref_0.ss_net_paid_inc_tax end
    ->      as c2,
    ->   ref_0.ss_hdemo_sk as c3
    -> from
    ->   tpcds_1g.store_sales as ref_0
    -> where case when ref_0.ss_ext_wholesale_cost is not NULL then concat(
    ->       cast(strleft(
    ->         cast(cast(nullif(case when ((ref_0.ss_ext_sales_price is not NULL)
    ->                 and (cast(null as VARCHAR) <> cast(null as VARCHAR)))
    ->               or (cast(null as VARCHAR) < cast(null as VARCHAR)) then cast(null as VARCHAR) else cast(null as VARCHAR) end
    ->             ,
    ->           upper(
    ->             cast(cast(null as VARCHAR) as VARCHAR))) as VARCHAR) as VARCHAR),
    ->         cast(ref_0.ss_sold_time_sk as INT)) as VARCHAR),
    ->       cast(case when (44 = ref_0.ss_ticket_number)
    ->           or ((ref_0.ss_cdemo_sk <> ref_0.ss_cdemo_sk)
    ->             or ((((ref_0.ss_quantity = ref_0.ss_sold_time_sk)
    ->                   and (ref_0.ss_quantity <= ref_0.ss_ticket_number))
    ->                 and ((38 is not NULL)
    ->                   or ((false)
    ->                     or (cast(null as VARCHAR) <> cast(null as VARCHAR)))))
    ->               or (ref_0.ss_addr_sk <> ref_0.ss_store_sk))) then space(
    ->           cast(ref_0.ss_cdemo_sk as INT)) else space(
    ->           cast(ref_0.ss_cdemo_sk as INT)) end
    ->          as VARCHAR),
    ->       cast(cast(nullif(strright(
    ->           cast(cast(null as VARCHAR) as VARCHAR),
    ->           cast(ref_0.ss_sold_time_sk as INT)),
    ->         cast(coalesce(cast(null as VARCHAR),
    ->           cast(null as VARCHAR)) as VARCHAR)) as VARCHAR) as VARCHAR)) else concat(
    ->       cast(strleft(
    ->         cast(cast(nullif(case when ((ref_0.ss_ext_sales_price is not NULL)
    ->                 and (cast(null as VARCHAR) <> cast(null as VARCHAR)))
    ->               or (cast(null as VARCHAR) < cast(null as VARCHAR)) then cast(null as VARCHAR) else cast(null as VARCHAR) end
    ->             ,
    ->           upper(
    ->             cast(cast(null as VARCHAR) as VARCHAR))) as VARCHAR) as VARCHAR),
    ->         cast(ref_0.ss_sold_time_sk as INT)) as VARCHAR),
    ->       cast(case when (44 = ref_0.ss_ticket_number)
    ->           or ((ref_0.ss_cdemo_sk <> ref_0.ss_cdemo_sk)
    ->             or ((((ref_0.ss_quantity = ref_0.ss_sold_time_sk)
    ->                   and (ref_0.ss_quantity <= ref_0.ss_ticket_number))
    ->                 and ((38 is not NULL)
    ->                   or ((false)
    ->                     or (cast(null as VARCHAR) <> cast(null as VARCHAR)))))
    ->               or (ref_0.ss_addr_sk <> ref_0.ss_store_sk))) then space(
    ->           cast(ref_0.ss_cdemo_sk as INT)) else space(
    ->           cast(ref_0.ss_cdemo_sk as INT)) end
    ->          as VARCHAR),
    ->       cast(cast(nullif(strright(
    ->           cast(cast(null as VARCHAR) as VARCHAR),
    ->           cast(ref_0.ss_sold_time_sk as INT)),
    ->         cast(coalesce(cast(null as VARCHAR),
    ->           cast(null as VARCHAR)) as VARCHAR)) as VARCHAR) as VARCHAR)) end
    ->      >= case when substr(
    ->         cast(cast(null as VARCHAR) as VARCHAR),
    ->         cast(case when ref_0.ss_customer_sk is not NULL then ref_0.ss_quantity else ref_0.ss_quantity end
    ->            as INT)) <> cast(null as VARCHAR) then upper(
    ->       cast(cast(nullif(cast(null as VARCHAR),
    ->         cast(null as VARCHAR)) as VARCHAR) as VARCHAR)) else upper(
    ->       cast(cast(nullif(cast(null as VARCHAR),
    ->         cast(null as VARCHAR)) as VARCHAR) as VARCHAR)) end
    ->     ;
ERROR 1064 (HY000): Memory exceed limit. Pipeline Backend: <IP_ADDRESS>, fragment: 2efaec7e-74e2-11ec-8cd0-00163e10c9d8 Used:<PHONE_NUMBER>, Limit:<PHONE_NUMBER>. Mem usage has exceed the limit of single query, You can change the limit by set session variable exec_mem_limit.
mysql> select
    ->   ref_0.r_reason_sk as c0,
    ->   ref_0.r_reason_id as c1,
    ->   ref_0.r_reason_desc as c2,
    ->   ref_0.r_reason_sk as c3,
    ->   ref_0.r_reason_desc as c4,
    ->   split_part(
    ->     cast(ref_0.r_reason_desc as VARCHAR),
    ->     cast(ref_0.r_reason_desc as VARCHAR),
    ->     cast(ref_0.r_reason_sk as INT)) as c5
    -> from
    ->   tpcds_1g.reason as ref_0
    -> where true
    -> limit 118;
ERROR 1064 (HY000): there is no scanNode Backend

Expected behavior (Required)
query return right result
Real behavior (Required)
BE crash :
I0000 00:00:00.000000 29450 vlog_is_on.cc:197] RAW: Set VLOG level for "*" to 10
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0xd3f2000 @  0x4d4f559 0x4eccf1c 0x1cc6e88 0x4e1d7c5 0x2f7c6d1 0x2f7cb5b 0x2f7cd65 0x2f6ff65 0x2cc3d36 0x27dcfb0 0x2cc3a65 0x28831bc 0x27dd044 0x20c8109 0x249cc3b 0x21ec1d5 0x1c18a10 0x3410317
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x719fe8000 @  0x4d4f559 0x4eccf1c 0x1cc6e88 0x4e1d7c5 0x2f7c6d1 0x2f7cb5b 0x2f7cd65 0x2f6ff65 0x2cc3d36 0x27dcfb0 0x2cc3a65 0x28831bc 0x27dd044 0x20c8109 0x25193d9 0x25197ba 0x23c8aca 0x1c18a10 0x3410317
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x810cb8000 @  0x4d4f559 0x4eccf1c 0x1cc6e88 0x4e1d7c5 0x2f7c6d1 0x2f7cb5b 0x2f7cd65 0x2f6ff65 0x2cc3d36 0x27dcfb0 0x2cc3a65 0x28831bc 0x27dd044 0x20c8109 0x25193d9 0x25197ba 0x23c8aca 0x1c18a10 0x3410317
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x90421a000 @  0x4d4f559 0x4eccf1c 0x1cc6e88 0x4e1d7c5 0x2f7c6d1 0x2f7cb5b 0x2f7cd65 0x2f6ff65 0x2cc3d36 0x27dcfb0 0x2cc3a65 0x28831bc 0x27dd044 0x20c8109 0x25193d9 0x25197ba 0x23c8aca 0x1c18a10 0x3410317
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0x9f3d78000 @  0x4d4f559 0x4eccf1c 0x1cc6e88 0x4e1d7c5 0x2f7c6d1 0x2f7cb5b 0x2f7cd65 0x2f6ff65 0x2cc3d36 0x27dcfb0 0x2cc3a65 0x28831bc 0x27dd044 0x20c8109 0x25193d9 0x25197ba 0x23c8aca 0x1c18a10 0x3410317
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0xae6a4c000 @  0x4d4f559 0x4eccf1c 0x1cc6e88 0x4e1d7c5 0x2f7c6d1 0x2f7cb5b 0x2f7cd65 0x2f6ff65 0x2cc3d36 0x27dcfb0 0x2cc3a65 0x28831bc 0x27dd044 0x20c8109 0x25193d9 0x25197ba 0x23c8aca 0x1c18a10 0x3410317
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0xbd9466000 @  0x4d4f559 0x4eccf1c 0x1cc6e88 0x4e1d7c5 0x2f7c6d1 0x2f7cb5b 0x2f7cd65 0x2f6ff65 0x2cc3d36 0x27dcfb0 0x2cc3a65 0x28831bc 0x27dd044 0x20c8109 0x25193d9 0x25197ba 0x23c8aca 0x1c18a10 0x3410317
tcmalloc: large alloc<PHONE_NUMBER> bytes == 0xccc55e000 @  0x4d4f559 0x4eccf1c 0x1cc6e88 0x4e1d7c5 0x2f7c6d1 0x2f7cb5b 0x2f7cd65 0x2f6ff65 0x2cc3d36 0x27dcfb0 0x2cc3a65 0x28831bc 0x27dd044 0x20c8109 0x25193d9 0x25197ba 0x23c8aca 0x1c18a10 0x3410317
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
*** Aborted at<PHONE_NUMBER> (unix time) try "date -d @1642127536" if you are using GNU date ***
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
terminate called recursively
PC: @     0x7f86579b2387 __GI_raise
*** SIGABRT (@0x3f70000730a) received by PID 29450 (TID 0x7f8621395700) from PID 29450; stack trace: ***
terminate called recursively
    @          0x3468522 google::(anonymous namespace)::FailureSignalHandler()
terminate called recursively
terminate called recursively
    @     0x7f865867d630 (unknown)
    @     0x7f86579b2387 __GI_raise
    @     0x7f86579b3a78 __GI_abort
    @          0x15c2903 _ZN9__gnu_cxx27__verbose_terminate_handlerEv.cold
    @          0x4e1d266 __cxxabiv1::__terminate()
    @          0x4e1d2d1 std::terminate()
    @          0x4e1d425 __cxa_throw
    @          0x15c280a _Znwm.cold
    @          0x2f7c2d2 std::vector<>::_M_fill_insert()
    @          0x2f7c6d1 starrocks::vectorized::SpaceFunction::evaluate<>()
    @          0x2f7cb5b starrocks::vectorized::UnpackConstColumnUnaryFunction<>::evaluate<>()
    @          0x2f7cd65 starrocks::vectorized::DealNullableColumnUnaryFunction<>::evaluate<>()
    @          0x2f6ff65 starrocks::vectorized::StringFunctions::space()
    @          0x2cc3d36 starrocks::vectorized::VectorizedFunctionCallExpr::evaluate()
    @          0x27dcfb0 starrocks::ExprContext::evaluate()
    @          0x2cc3a65 starrocks::vectorized::VectorizedFunctionCallExpr::evaluate()
    @          0x28831bc starrocks::vectorized::VectorizedBinaryPredicate<>::evaluate()
    @          0x27dd044 starrocks::ExprContext::evaluate()
    @          0x20c8109 starrocks::ExecNode::eval_conjuncts()
    @          0x25193d9 starrocks::pipeline::OlapChunkSource::_read_chunk_from_storage()
    @          0x25197ba starrocks::pipeline::OlapChunkSource::buffer_next_batch_chunks_blocking()
    @          0x23c8aca _ZNSt17_Function_handlerIFvvEZN9starrocks8pipeline12ScanOperator18_trigger_next_scanEPNS1_12RuntimeStateEEUlvE_E9_M_invokeERKSt9_Any_data
    @          0x1c18a10 starrocks::PriorityThreadPool::work_thread()
    @          0x3410317 thread_proxy
    @     0x7f8658675ea5 start_thread
    @     0x7f8657a7a8dd __clone
    @                0x0 (unknown)

StarRocks version (Required)

You can get the StarRocks version by executing SQL select current_version()

 mysql> select current_version();
+------------------------+
| current_version()      |
+------------------------+
| QA_TEST_MASTER bd20144 |
+------------------------+
1 row in set (0.03 sec)

fixed by #4368


Blocks removing

Is there any possibility to remove block completely instead of removing block's content and setting the block as "unstyled"?
In the TeX example blocks aren't removing completely:
https://github.com/facebook/draft-js/blob/master/examples%2Ftex%2Fjs%2Fmodifiers%2FremoveTeXBlock.js#L37

Sure, you could use Modifier.removeRange.

I found it a little more intuitive to convert the ContentState into an array, remove the appropriate block, create a new ContentState using that altered array, and pushing that onto the EditorState. But I feel like there might be a hefty performance cost there?

Guess that depends on how big your document is, but I personally wouldn't worry too much about the performance aspect. The main reason I prefer using Modifier.removeRange is that I trust it to handle things correctly. If I were to create my own solution, I'd have to think about redo/undo, next selectionState, removing entities, etc. It's definitely possible, but I don't really see the gain here.

Ah, I actually didn't notice that it reset selectionState, didn't remove entities, etc – definitely good reasons to use Modifier!
I stumbled in here because I was trying to find the best way to remove an image / "atomic" block. It was a little more intuitive (and readable, code-wise) to think of these images as entire "blocks that needed deleting" – rather than "an entity over a range of characters that need to be selected and deleted". Dealing with everything on a block-level also simplified the code around deletions, since the Modifier route seems like it would require evaluating the surrounding blocks – something along the lines of:
if (this image is the only block) {
  simply remove all the characters in this block;
  return;
}

if (this image is the first block) {
  create a selection state that starts at the beginning of the image block
  and ends at the beginning of the next block, and remove range forward;
} else if (this image is the last block) {
  create a selection state that starts at the end of the previous block
  and ends at the end of the image block, and remove range backward;
} else {
  create a selection state that starts at the end of the previous block
  and ends at the start of the next block and remove range in either direction;
}

But maybe (hopefully) there's a simpler way I'm missing? 😛

We've actually created our own atomic block type, which works a bit differently than the built in, so we can't use Modifier.removeRange for those. But I would assume that Draft handles removing atomic blocks as well in Modifier.removeRange if you e.g. pass the current selectionState as argument, no?

Yep, pretty sure Modifier.removeRange wipes out atomic blocks successfully. But I realized something important that I forgot to mention earlier – in our use case, we're actually hoping to remove an image not within our current selectionState.
Example: say we have two blocks – the first is just a block with plain text and the second is a block that's a single image. The user's cursor is currently sitting somewhere within the text block but when they move their cursor and hover over the image block, a trash bin icon appears over the image – and when the user clicks it, we want to remove the entire second block.
In the ContentState / array method, the steps are simple (simply remove that second element in the array,) but that brings up the issues you mentioned earlier. It seems like Modifier.removeRangeis the way to go – it just seems to require a bit more care than expected. :p
If that is the way to go, do you think it'd be worth me trying to get a PR together to bake that in, maybe something along the lines of AtomicBlockUtils.removeAtomicBlock()?

Oh I see. I agree it wasn't very intuitive to work with selectionStates for those kinds of things at first. But now that I've worked with it for a while, I actually think it gives me another level of control. I also find it quite easy to reason about:
In order to create the correct selectionState for a deletion (i.e. anchorKey, focusKey, anchorOffset, focusOffset, isBackward), I can just imagine how I would normally select things using the mouse (or keyboard) before deleting them. I'm willing to bet almost everyone intuitively knows how that works and what the end result will be.
E.g. if I want to completely remove a line of text (or block in the case of draft) when writing, I would actually start by putting my cursor on either the next line's start, and select upwards (or backwards) to include the "target line". I could also do it the other way around, i.e. start by putting my cursor on the end of the line above, and select downwards to include the target line. Yet another way is to put the cursor on the start of the target line and press shift+↓. This will actually put the focus on the start of the next line.
Pressing backspace on any of the selections described above, would remove the target line without leaving a blank line behind. The only difference between them is where my cursor would end up afterwards.
Sorry if this got a bit long, and maybe a bit off topic. But having said all this, I think people would probably appreciate the helper method you described. Just know that you'd either have to include a lot of parameters, or make opinionated decisions. E.g. where would you put the cursor after deletion? Do you leave empty space behind or not?


Feature_Request : Add swiper and new destination

Hey while surfing the website i think there should be more places in the popular destination and there should be the automatic swiper added so that user themself dont need to swipe and saw it automatically swipes in few seconds which give website good appearance and user good experience .

Please assign this me under Gssoc  i would like to contribute in this .
Thank You!!

@namandude please raise your issues using the issue templates which are already given in the "NEW ISSUE" section . Otherwise I can't assign u


[TypeSpec Validation] Create support team and recommend it when check fails

[ ] Create a GitHub team like @Azure/tsv-support spec authors can mention for support when check fails
[ ] Update check to recommend mentioning team when check fails (may depend on #24999)

Closing in favor of https://github.com/Azure/azure-rest-api-specs-pr/issues/14250


Where is the database text?

Where is the database text?

you need to wait for the newest update & ask in the VGS Discord for access :)
https://discord.gg/pMxV3De
Greetings
~ Kuroosh


Tetris

http://people.cs.umass.edu/~jcollard/elmtris/

@ShalokShalom Could you please submit a pull request following these guidelines? https://github.com/elm-community/builtwithelm#submitting-a-project
Thank you!

the side says PR or issue


Refactor to o11yphant-trace-api, improve trace propagation

There are some fairly major changes here in terms of files, but not in terms of conceptual complexity. The main point is to extract a generalized tracing API from the old honeycomb-centric o11yphant APIs. This PR adjusts to the new API, but also changes the module for the Honeycomb subsystem to be called the trace subsystem and provide the configurations necessary to allow switching between opentelemetry and Honeycomb smoothly.
After adjusting to the new needs of configuration and the new packages / initialization code, I've gone through some of the main branching points where threaded spans are created, and added some context fields to help us see what those threads are actually working on. Finally, I added tracing for httprox.
I also adjusted the client API to fix a bug with measuring concurrent requests, and adjusted that to use the new client tracing support in jHTTPc.
See:

https://github.com/Commonjava/o11yphant/pull/55
https://github.com/Commonjava/jhttpc/pull/44
https://github.com/Commonjava/galley/pull/364

@jdcasey Maybe a rebase is needed for this pr?

Yeah, it's a mess...I started work on it yesterday but didn't get it done.


Run scalan-meta as an SBT source generator and remove boilerplate code from the repository

See http://www.scala-sbt.org/0.13.5/docs/Howto/generatefiles.html, https://stackoverflow.com/questions/24724406/how-to-generate-sources-in-an-sbt-plugin, https://stackoverflow.com/questions/11509843/sbt-generate-code-using-project-defined-generator. See #5.

Additional example: https://github.com/sbt/sbt-boilerplate/blob/master/src/main/scala/spray/boilerplate/BoilerplatePlugin.scala


Add part of speech to entity tooltip

Add part of speech (if filled in) in the entity tooltip - in the parentheses after language, e.g.:
"evil (English, noun)".

(Terminology: is this mouseover called tooltip?)

@davidzbiral yes, we call it tooltip, entity tooltip is precise name for the ones from entity tags

@Ptrhnk Thanks for implementing, how do you show missing part of speech (PoS) in the tooltip? Simply without, i.e. for instance "heresy (English)", is probably the best? (There is a different place to signal missing PoS.)

@davidzbiral Yes, exactly. Also when concept PoS is "empty", there's just language right now - it's the same as you quoted. Is that OK?

@Ptrhnk Yes, that's ok!


Bind DN as user trying to login.

Is it currently not possible to do the authentication as user itself?
As an example you could define a DN template: "CN={username},OU=group,DC=example,DC=com", and where the password is the one provided at login. This would be instead of the bind DN and password used in the LDAP documentation.

We are doing some "spring cleaning in the fall", and to make sure we focus our energies on the right issues and we get a better picture of the state of the repo, we are closing all issues that we are carrying over from the ODFE era (ODFE is no longer supported/maintained, see post here).
If you believe this issue should still be considered for current versions of OpenSearch, apologies! Please let us know by re-opening it.
Thanks!

#4004 Seeks to secure the plain text password.
Binding as the user authenticating eliminates the need to store and manage the bind password.


Implement Redesign of Company Data Page & new Endpoints

Summary
New UI design of the company data page as well as integration of new endpoints.
Details
1. URL Change
Old URL: /account
New URL: /organization

2. Design Change
Objective: update the existing Organization Detail page with the new design provided by the UX/UI team and change the page URL from /account to /organization to better reflect the content of the page.
Requirements:

[ ] Implement the new design for the Organization Detail page as provided in the design mockups (see attached file).
[ ] Ensure that the new design is responsive and works across all major device sizes
[ ] Update all links and references within the application from /account to /organization.
[ ] Implement 301 redirects from the old URL to the new URL to maintain SEO value and prevent 404 errors for users who have bookmarked the old URL.
[ ] Update any relevant API calls that may be affected by the URL change. (expected to be none; but please check once)
[ ] Make sure that all user data is preserved and displayed correctly in the new design.
[ ] Ensure that all interactive elements (buttons, forms, etc.) are functional and meet accessibility standards.
[ ] Conduct thorough testing to ensure that the page renders correctly and that there are no broken features or links.
[ ] Add the new section "certificates" and display the customer certificates fetched from endpoint GET /api/administration/companydata/companyCertificates
[ ] "Delete" button should be inactive for now
[ ] The company role change button should be active and lead to the page /company-role (note: the edit button should only be available for those users which have the permission to view the page /company-role)
[ ] Out-of-Scope: Company Data change button

Design Specifications:
Design Mockup: https://www.figma.com/file/pcHZWXTQJUguIT75QSk9KW/Portal-Designs?type=design&node-id=9942-8246&mode=design&t=7pGPRbkgSUrunn4a-0

More might get added

@nidhigarg-bmw if you want you can take this over. You may still need an endpoint mapping for the certificates from my side; but the rest is refined :)

companyCertificateType goes into the chipcard element
companyCertificateType goes into the title as well
array of the businessPartnerDetails (currently not existing inside the api response) goes into the "Business Partner Level" as multiple records. As long as those information are not provided via the API endpoint or if the list is empty, you would show there only the information "n/a"

Important note: only call the active certificates please with the following api call =>
/api/administration/companydata/companyCertificates?page=0&size=15&sorting=CertificateTypeAsc&certificateStatus=ACTIVE
Last but not least: the chipcard must be super flexible - the certificateTypes can be very long  you can call api/administration/companydata/certificateTypes to see the huge names

@nidhigarg-bmw  please check once why we dont have space between the chipcards specified.


Added v0.5 branch to dropdown

Added v0.5 branch to dropdown in config file, and also updated the README to explain how to do this.
Note that the v0.5 site isn't serving content: https://v0-5.kubeflow.org/
When we know more about how to fix the above problem, I'll add that info to the README in this PR too.

This change is

/assign @abhi-g

Preview: https://deploy-preview-701--competent-brattain-de2d6d.netlify.com/

/lgtm
/approve

/hold

Added a hold because the 40.5 branch is still not serving content.

/hold cancel


 Mainly Biome and World Generation stuff but there's also a load of random things in here as well.

Why Block? Darkhax has done a lot of work there in the other PR... this won't be fun merging.

I did it before he made the PR, so I didn't know

With GitHub's in site resolution thing it won't be too hard to fix. A bit tedious though.

lol

Alright modmuss fixed the conflicts

Nice! Sorry for the conflicts, I will try to be more vocal about the mappings I am working on next time.

Ok, left some things that will need looking at

Okay, I have made the changes requested.

@unascribed has got a point in mapping method params's and not the method, I'm not sure if that is discouraged or not.

I know I did quite a few but I thought I undid them all. Where do you see mapped params but not methods?

Thanks, I'll sort them out later today

Okay, a bit late (got distracted), but I have made the requested changes.

Looking a lot better now


Failed build on android

Hello to all.
Build fail when add react-native-compressor package in project build failed on android only. On iOS works well.
REACT NATIVE VERSION - 0.67.5
File build.gradle
    ext {
        buildToolsVersion = "30.0.2"
        minSdkVersion = 21
        compileSdkVersion = 30
        targetSdkVersion = 30
        ndkVersion = "21.4.7075529"
        googlePlayServicesVersion = "18.0.2"
        androidMapsUtilsVersion = "2.3.0"
        supportLibVersion = "28.0.0"
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:4.2.2")
    }
}

allprojects {
    repositories {
        maven {
            url("$rootDir/../node_modules/react-native/android")
        }
        maven {
            url("$rootDir/../node_modules/jsc-android/dist")
        }
        mavenCentral {
            content {
                excludeGroup "com.facebook.react"
            }
        }
        google()
        maven { url 'https://jcenter.bintray.com' }
    }
}

BUILD OUTPUT
> react-native run-android

info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 1348 file(s) to forward-jetify. Using 12 workers...
info JS server already running.
info Installing the app...

> Configure project :react-native-mmkv-storage

> Task :app:checkDebugAarMetadata FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
62 actionable tasks: 59 executed, 3 up-to-date
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.github.numandev1:VideoCompressor:715bcc16e9.
     Searched in the following locations:
       - file:/Users/user/project/node_modules/react-native/android/com/github/numandev1/VideoCompressor/715bcc16e9/VideoCompressor-715bcc16e9.pom
       - file:/Users/user/project/node_modules/jsc-android/dist/com/github/numandev1/VideoCompressor/715bcc16e9/VideoCompressor-715bcc16e9.pom
       - https://repo.maven.apache.org/maven2/com/github/numandev1/VideoCompressor/715bcc16e9/VideoCompressor-715bcc16e9.pom
       - https://dl.google.com/dl/android/maven2/com/github/numandev1/VideoCompressor/715bcc16e9/VideoCompressor-715bcc16e9.pom
       - https://jcenter.bintray.com/com/github/numandev1/VideoCompressor/715bcc16e9/VideoCompressor-715bcc16e9.pom
     Required by:
         project :app > project :react-native-compressor

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

 Thank you @numandev1 🙏🙌


 Images get back to normal after resizing the window.
To Reproduce
Turn screen share on/off, do screen share, resize the window.

Screenshots

Desktop (please complete the following information):

Chrome

Sorry, I don't understand, where are the garbage images?

The black squares should be pictures and icons, but when starting Agora they sometimes turn into error graphics.

Could you pls share the correct picture?

With agora running:

Without agora running:

have you tried html render mode?

have you tried html render mode?

Using the HTML renderer on desktop is a workaround that worked for our scenario (and we haven't seen any other regression in the app with that, just overall doesn't seem ideal to diverge from the stock behavior).
But as the investigation in the Flutter ticket linked above shows, this is by now affecting many different apps and use-cases, many of which unrelated to video. So I think you can close this for now and we have to wait for a fix from Flutter and/or Chrome.


Added link to Awesome Hackathon

I've added a link here on our side as well :)

Hi @loleg Awesome! Really nice resource added. ✨ Thank you for your time and contribution here! Approved, merged 🎉


Multi node training question

Hi, I am trying to train YOLOX on 2 nodes, each with 8 gpus. I have setup my environment inside the docker and both servers can be reached passwordless with ssh.
I am unable to understand how to get tcp://<IP_ADDRESS> for server and train on multinode. using ssh ip and port doesn't work and using any other 127.x ip doesn't start training. is there any guide to follow for multinode training?
Thanks

i trying the same and its not working

its look like this project is dad , no one answering in the git

@Lifeguard-alex were you able to run using more than one node?

@FateScript @Joker316701882

same issue. Multi-gpu doesn't seem to work at all.

related issue: https://github.com/Megvii-BaseDetection/YOLOX/issues/1316


CHEBI:68480 with stray ethane in the structure

I had this happened in the drawing tool, as well---a slip of the finger, and there is an additional ethane in the structure. If one removes the ethane one gets to CHEBI:146793, so this is a merger candidate.

Now merged. Thanks

Now merged. Thanks


migrate some services from examples to openApi part 46; affects [codeclimate librariesio] and nexus securityheaders

Refs https://github.com/badges/shields/issues/9285
With nexus, we don't have passing tests for nexus v3
I have actually managed to find a couple of public nexus servers running v3:

https://repo.tomkeuper.com/
https://repo.unnamed.team/
but I can't work out how to get a working badge out of either of them.

With Security Headers, the tests fail because the badges themselves are broken https://github.com/badges/shields/issues/9154 I figure lets just migrate the examples here and leave that as an issue for another time.

but I can't work out how to get a working badge out of either of them.

For example:
https://pr-9933-badges-shields.fly.dev/nexus/r/me.neznamy/tab-api?server=https%3A%2F%2Frepo.tomkeuper.com&nexusVersion=3

OK. Thanks for the pointer. I think I mostly figured it out :crossed_fingers: