Is Tweepy working?

I’ve been trying to find a reliable way to scrape Twitter data. I’ve tried using libraries like twitter-scraper, Snscrape Twitter, and Twint, but I’ve run into issues with all of them. I’m considering signing up for a Twitter Developer Account and using Tweepy instead. Has anyone had success in scrapping tweets using Tweepy?

Yes


Adding Favicon

🚀 Feature
As there is no favicon I would like to add it.
Add relevant screenshot or video (if any)

As the coding period for LGMSOC starts I would like to work on this issue, mentor and Project admins it would be great if you could assign this to me.

@nisha331 , check issue #14 , if you are interested to work on that issue, you can comment there.

Oh thank you @niloysikdar  , commented there. Kindly check it out.


Feature request: "on this page" mini TOC

As seen on Leap Day.
I prefer this theme visually, but the on-this-page TOC is a nice touch.

In the "Leap Day" theme, this is solved with javascript (based on jquery).
Relevant parts:
An empty list is added in the layout file:
https://github.com/pages-themes/leap-day/blob/af5c3638f65f80f9baca1ece30017cf55f91cf1e/_layouts/default.html#L40-L42
And a script loads the TOC and add the list items:
https://github.com/pages-themes/leap-day/blob/af5c3638f65f80f9baca1ece30017cf55f91cf1e/assets/js/main.js#L16-L28
This script is registered in layout:
https://github.com/pages-themes/leap-day/blob/af5c3638f65f80f9baca1ece30017cf55f91cf1e/_layouts/default.html#L9-L10

See also this https://github.com/pages-themes/cayman/issues/16#issuecomment-326620674 where {:toc} is mentioned.

I did not managed to use the {:toc} inside the default.html layout file, even with the inputs from https://github.com/jekyll/jekyll/issues/5843

At the end I have switched to jekyll-toc, a solution built on top of the liquid templating engine.
This works well on GitHub pages.


Style tweaks for sidekiq handler

style-only -- partial work previously done in #197, which i will redo based on this branch

Thanks @jjb!
it's nice for me, we'll wait for the specs to pass and then we can merge it.

Merged, thanks @jjb !

Released in 1.4.3 (now on rubygems)

:dango:


Add  Landing Page

Add a landing page and relocate the splitter page to its dedicated space for issue #18

Some updates I would recommend here for a more basic landing page.

The header can be completely removed in the landing page.  There will be a button to connect their wallet in the front and center, so no need for any of that.

This example UI can be remove as they will see plently of it later.

Eth price in the bottom left can be removed (we may do this to all pages later as well)

These cards are helpful, but it would be cleaner to just provide a few sentences in the main paragraph with this info instead of taking  up the room these do.  So these can be removed and we can work on the wording for the informational paragraph.

The Get Started button should say Connect Wallet.  That way in our info paragraph the last bit can be "Connect your wallet to get started".

Once this page is clean we can get some designers to create a logo that we can add in as well.
@Avelous Would love your thoughts here as well.


Housekeeping

As of right now there are 126 open issues, and 57 open pull requests for the library. That number only seems to be going upwards.
I've selected (so far) 6 pull requests (and there will no doubt be more) that are either in major need of merging, or are simple bugfixes, or sensible changes that should have probably been merged a while ago, or just closed if they are not desired.
My hope is that the selection can be merged into this repo in a single shot (we can reference everything that should be closed in this single PR and GitHub should close everything relevant automatically).
@erusev I know you've mentioned Parsedown 2.0 a few times, while that would be great for drawing a line and making improvements that require BC breaks, IMO there are some issues that that will not solve – namely, things like XSS issues should still be fixed in 1.x. It also seems a shame to waste the work that some have done towards fixing bugs in 1.x when it's just a case of merging the changes.
@erusev I also know you're quite busy – which is why I am applying the above criteria to try and minimise the review effort: (major need of merging, or simple bugfixes/sensible small changes).
So far, this list mainly includes a subset of my own pull requests (they're easier for me to look at quickly), but if @erusev is happy with the goal of identifying and merging finished bugfixes and sensible small changes than I can look through some more PRs (this would require a bit more effort than just looking back at ones I've made – hence this initial list). Additionally, if there is a desire to merge this list then perhaps those who have opened pull requests would be happy to update them for current master where merge conflicts exist.

I have created a new fork of parsedown, and am creating pull requests using the original commits from the respective PRs to this main repo. If anyone would like to help with this effort then I can add you as a maintainer. Or feel free to just target PRs and I will merge them and update this list.

This list so far is as follows, (all changes can be found on the pull-request page on the fork):
#495: Prevent various XSS attacks by @aidantwoods
Merging this should close the following: #161, #497, #276, #403, #530, #495.
#545: Test against PHP 7.2 by @carusogabriel
Merging this should close the following: #545.
#475: Loose lists by @aidantwoods
Merging this should close the following: #474, #529, #551, #427, #475.
#423: Fix CommonMark test by @PhrozenByte
Merging this should close the following: #423
#433: Preventing double nested links by @aidantwoods
Merging this should close the following: #358, #487, #432, #417, #504, #433
#525: Properly support fenced code block infostring by @aidantwoods
Merging this should close the following: #524, #525

This collation of 6 pull requests, when merged, should allow the closing of (at least) 21 issues and pull requests.

I've sent some previous contributors invites to https://github.com/aidanwoods/parsedown in hope that we can get some new development going right away. This perhaps can permit some changes and bug fixes to happen, with the hope that any work done there can be merged back into this repo eventually. @erusev I've also sent you an invite, given that the intent is for the changes to end up back here, it would be good to keep you involved.
If anyone else that wants to help, let me know.

So far I've gone through the issues page and attempted to categorise all the bugs, as well as trying to determine which require additional attention.
This list is in https://github.com/aidanwoods/parsedown/issues/10

@aidantwoods
Awesome work as always. I made you a contributor. You'll be able to push without my permission. You've been a great contributor and I trust you completely.

@erusev thank you ❤
Are you happy for me to merge in everything listed above?

Sure, all of these look good.

Thank you @erusev  for adding @aidantwoods, excellent choice, the project made a huge leap forward in just a few hours! Thank you! :heart:
There's just one small wish left: Can you please add @aidantwoods (if he agrees, what do you say?) to erusev/parsedown-extra, too? There are many bugfixes awaiting review, many of them can be merged virtually immediately. :smiley:

@PhrozenByte Done.


Readme proof edit

A fairly thorough language edit of the Readme.

Such a great work done. Thank you!

No problem mate! Thanks for the library, super useful :+1:

Fantastic improvement. Very well done.
Sent from my iPhone

On Jun 9, 2015, at 11:14 AM, Henre Botha<EMAIL_ADDRESS>wrote:
No problem mate! Thanks for the library, super useful
—
Reply to this email directly or view it on GitHub.


Design token updates

A lot of incorrect HEX, core value, description, and inconsistent structures are fixed for dark, light, and common.
Review is already done by Natalia, you can go ahead and approve it ;)

@nataliadelmar there is probably a spelling mistake somewhere we need to look at:

We can wait for Claire to be back from PTO to correct this on Figma tokens plugin :)


Suggested rewordings

Closes #
📑 Description
Suggested rewordings for some sections of NN6 (Foundational CP changes).
Also added some additional text to the DEV-19 Transaction definition describing what should occur when the Device-Patient Association Manager does not support the DEV-19 transaction. This section is just a starting point.

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed
[ ] I have selected a committee co-chair to review the PR

ℹ Additional Information
None.

@bilhar97 I think you can now merge master into your branch and finalize this PR.


Update User Guide

The user guide has certain inconsistencies and inaccuracies.
This may confuse readers using the guide.
Let's do the following to close AY2122S2-CS2103T-T17-3#116:

Edit front matters for a more targeted value proposition and
usage description
Edit features for more user friendliness and accuracy
Edit contents page and heading titles

Codecov Report

Merging #120 (d68b732) into master (fd472cd) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head d68b732 differs from pull request most recent head e3497dd. Consider uploading reports for the commit e3497dd to get more accurate results

@@            Coverage Diff            @@
##             master     #120   +/-   ##
=========================================
  Coverage     71.48%   71.48%
  Complexity      649      649
=========================================
  Files           110      110
  Lines          2104     2104
  Branches        216      216
=========================================
  Hits           1504     1504
  Misses          542      542
  Partials         58       58

Continue to review full report at Codecov.

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


Jesse: Watch onlinemkvplayer.com

Jesse requests the watch of the watch_keyword onlinemkvplayer\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

onlinemkvplayer\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cocomac in Charcoal HQ


Have Scheduler serve as Center

The scheduler now has most of the capabilities necessary to serve as center, making the center process extraneous.
Everything is dual mode, so you can work both ways, we might want to consider dropping the local scheduler option though, so that the Executor always communicates to the scheduler over a socket (even if they're in the same process.)

@broxtronix there is some complexity involved in supporting both the center-as-center and scheduler-as-center cases.  Are you comfortable with a breaking change that removes common use of the center?  This would affect current setup scripts like dcluster.  It would also remove easy knowledge of the scheduler state (ncores, who_has, has_what, ...) from the executor.and client code.

@danielfrg this would also affect the distributed recipe in anaconda cluster.  (replace dcenter with dscheduler)


Nine patch overlap fix

https://forum.babylonjs.com/t/nine-patch-showing-gaps-with-alpha-png/29365/7

The edges look weird because I edited it in photoshop before converting it to a blob for testing inline.  I have tested on firefox and brave that the interior artifacts are gone.

I see this but its saying the PR is still open?
And then there are some azure pipeline errors, what is this asking of me?


Deserialize number prefixed with a leading zero

It would be great if it was possible to hook into the parsing of numbers. I have data where the external producer fails produces non-octet numbers with a leading zero.
As specified in https://github.com/JamesNK/Newtonsoft.Json/issues/924 there is in-built octet handling in newtonsoft.
Have you consideres making it configurable? either as an option to ignore the octet-mode on leading 0's or by allowing to hook into the parsing using JsonConverter-subclassing?
what are the arguments against such configurability?

Notwithstanding how Newtonsoft.JSON handles this, leading zeros on a number are actually forbidden  by the official JSON syntax.

@crawley please email oracle I'm sure they understand the seriousness of the implications of not following a spec! In the meanwhile what do you suggest I do?


Sounds played with Emitter.self() on platform-bukkit don't play.

They play fine on paper-api. No errors in console or on the client.

Could be due to this section of code. Unless I'm missing something amongst the platform fun this should be falling back to playing the sound normally rather than doing nothing.
https://github.com/KyoriPowered/adventure-platform/blob/851884b016f4efb46f35c3dabf389c3b35491415/platform-bukkit/src/main/java/net/kyori/adventure/platform/bukkit/CraftBukkitFacet.java#L478-L480

should be fixed, please confirm

I'm going to close this as I'm pretty sure the fix does work now. If it doesn't, please comment and we can re-open this issue.


Chore(web-react): Migrate from@testing-library/react-hooks

Description

Switch from @testing-library/react-hooks to @testing-library/react

this will get us rid of the annoying deprecation messages from the @testing-library

Additional context

https://github.com/testing-library/react-hooks-testing-library?tab=readme-ov-file#a-note-about-react-18-support

https://github.com/testing-library/react-hooks-testing-library/issues/654#issuecomment-1097276573

Issue reference

coverage: 77.727%. remained the same
when pulling 68d945bdde2b6547d714c95e42c1f32aafa03bd6 on refactor/testing-library-react-hooks
into d17fe2f8b2e69b1826955a7bb6a9e7cb29827b09 on main.


All external resource IDs change on save after restarting Godot

Godot version
4.1.dev4
System information
macOS 13.3.1
Issue description
When trying out the new 4.1.dev4 build (having tried previous 4.1 versions) I noticed I was getting a lot of resource ID updates in my git diffs, even though I wasn't making any changes to the files in question. See for example:

At first I figured it might be normal after updating the project to 4.1 (from 4.0.3) but the ids kept changing, and after a little investigation I think I've found a way to reproduce the issue, and I think it's a bug. Probably mostly harmless, but annoying as it will cause a lot of pointless updates in your repository.
Steps to reproduce

Have a project with a scene open that has some linked external resources (maybe textures, packed scenes, whatever) so any non-empty scene will do scene.
Observe the "external resource IDs" (if that's the proper term) for each resource and linked scene.
Quit Godot
Restart Godot
Without making any changes, save the open scene (or run the project which also saves the scen)
Observe that all "external resource IDs" for the scene and all linked resources have changed.

Saving again without restarting will not change the IDs again. But they always change the first time you save after restarting Godot. So it seems like an issue with how resource IDs are generated or assigned, and that this generator is somehow reset on editor restart. So that it will not generate/assign the same IDs next time you save after a restart.
Minimal reproduction project
In my testing it affects all scenes I've tried and you should be able to test this by just quitting and restarting then saving any scene you have with external resources to see if you get the same issue.

Duplicate of #77172

@AThousandShips are you sure this is a duplicate? While they seem related #77172 seems to indicate that the IDs are changed on each save. I'm not seeing that issue in 4.0.dev4, I only see the issue if I restart the editor in between saves?

Okay! have you tested latest version to check that this isn't fixed by the same fix?

No, I've only tested in the 4.1dev4 build, I've never built Godot from source and I'm not sure I'm ready to do that. But if someone has an up to date build it should be relatively easy to test: just save, restart the editor and save a scene again and see if the IDs are changed. If you don't get the issue I guess we can assume it was fixed by the same fix and close this issue too.

I can't reproduce on latest version so seems to be fixed

That's great! Thanks for the quick feedback, I'll close this then.


Update README for s390x Nightly artifacts.

Updated README for s390x Nightly artifacts.
We are working on release artifacts and will do PR for release artifacts soon.

@rthadur @gunan recreated PR with correct cla


Text layer moves up during search

Visit the following PDF (http://movelex.hu/fenyoapa/tori_6_tk_webre.pdf_150.pdf) with the text layer enabled, e.g. using the URL parameter:http://movelex.hu/fenyoapa/tori_6_tk_webre.pdf_150.pdf#textLayer=visible
Look at the text below the top-left image (looks all right).

Use the search box and search for "pesti".
Look at the text below the top-left image, and observe that the text layer has shifted up.

I've found this bug and PDF at https://stackoverflow.com/questions/25922247/how-to-fix-pdf-js-find-highlight-error-or-what-causes-it.

Perhaps we should prevent an element to be added if they exist outside of the textLayer's dimensions.


fix typo

@jhasse

"fixed" by ninja-build/ninja@2d17936

correct string replacement somewhat obvious from the preceding text
$ sed -n '782,794p' ninja/doc/manual.asciidoc
2. A build edge, which looks like +build _output1_ _output2_:
   _rulename_ _input1_ _input2_+. +
   Implicit dependencies may be tacked on the end with +|
   _dependency1_ _dependency2_+. +
   Order-only dependencies may be tacked on the end with +||
   _dependency1_ _dependency2_+.  (See <<ref_dependencies,the reference on
   dependency types>>.)
   Validations may be taken on the end with +|@ _validation1_ _validation2_+.
   (See <<validations,the reference on validations>>.)
+
Implicit outputs _(available since Ninja 1.7)_ may be added before
the `:` with +| _output1_ _output2_+ and do not appear in `$out`.
(See <<ref_outputs,the reference on output types>>.)
$

thx!


Enhance create_edge Function to Include Vertices Arguments

Currently, the create_edge function in age_simple_sql/AGESimpleSQL.py does not accept vertices as arguments. This enhancement aims to modify the create_edge function to include from_vertex and to_vertex as arguments, similar to the create_vertex function.
Tasks:

Modify the create_edge function to accept vertices as arguments.
Extract labels and properties from from_vertex and to_vertex.
Update the query to include the extracted labels and properties.
Test the enhanced function to ensure it works correctly.
This enhancement will improve the flexibility and functionality of the create_edge function, making it more consistent with the create_vertex function.

The commit 78511afc9878a17feb214565ce5143edd82ca516 fixed this issue.


feat(extended-validation): merge useExtendedValidation usages

@n1ru4l now with the new extendContext that's available through all phases, maybe we can trick and collect all extended validations before onExecute and then just take it from the context and run it? :)

@dotansimha I did this in https://github.com/dotansimha/envelop/pull/245/commits/707164a1084418dd310925be2155980be82a0d25 the drawback here is that it now requires context to be non-null. Since extendContext expects a non-null context anyways maybe we can enforce it on a global level that the initial context cannot be a null/primitive value?

@dotansimha I did this in 707164a the drawback here is that it now requires context to be non-null. Since extendContext expects a non-null context anyways maybe we can enforce it on a global level that the initial context cannot be a null/primitive value?

I think this is a fair assumption, since we make sure to set {} in case where context was not passed at all.


Add files via upload

https://github.com/instructlab/taxonomy/issues/813
If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

...
...
...

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[ ] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ ] An attribution.txt file in the same folder as the qna.yaml file
[ ] Content does not include PII or otherwise sensitive or confidential information
[ ] Content does not include anything documented in the project's Avoid these Topics guidelines

https://github.com/instructlab/taxonomy/issues/813

Closing due to combined PR here: https://github.com/instructlab/taxonomy/pull/1149


opengl.h _stdcall error

Hi, I am teaching myself OpenGL using your opengl.h as a loader. It works great, thanks for it and for the article though I noticed that when I tried to get it running on Windows 10, after developing my simple example app on Linux, that it would not compile as it had macro related errors.
I managed to fix it by changing _stdcall to __stdcall in the opengl.h file.
I find it weird because you are developing on Windows too, maybe it is because I am using Mingw32 instead of MVSC. I am not sure.
Anyway this is what I changed to fix it.
#ifndef GLAPIENTRY
#ifdef _WIN32
#define GLAPIENTRY __stdcall // was _stdcall
#else
#define GLAPIENTRY
#endif
#endi

I thought I would let you know so that it may be solved here, if you want, in order to prevent anyone else from receiving the same problem.
Thanks, Alex.

Nice catch, thanks for sharing! Seems _stdcall is a MSVC thing. The double underscore works too, so I updated opengl.h with it to be compatible with MinGW.
That said, if you're learning OpenGL, I would recommend using MSVC instead. 🙂 It has a much better C++ debugger, and Visual Studio has NVIDIA NSight integration (to use NVIDIA's OpenGL debugger).
Just my opinion, and I can understand why you're using MinGW if you're also working on Linux.
Thanks again for sharing!

Cool and yeah I definitely have to check out NSight, it looks super useful. Thanks.

NSight has definitely saved me a lot of development time. Definitely definitely look at RenderDoc too, it's a life saver.


proxy-pom.xml: skip format-code plugin

On the released tags tarball 11.4 and 12.0, mvn -f proxy clean install -DskipTest fails to execute format-code on project proxy because it expects the source to be git repository.

[ERROR] Failed to execute goal com.cosium.code:git-code-format-maven-plugin:3.3:format-code (format-code) on project proxy: Execution format-code of goal com.cosium.code:git-code-format-maven-plugin:3.3:format-code failed: One of setGitDir or setWorkTree must be called. -> [Help 1]

Added the PR to skip this in proxy/pom.xml while doing mvn install.
mvn -f proxy clean install -DskipTests -DskipFormatCode skips the format code for a released tarball.

This fix helps while building wavefront rpm from released source tarball, else we need to do git init after extracting the tagged tarball; since it's tagged code, is there any advantage in running format code on it? By released code I assume that code is already formatted.

Hi, @prashant1221 and @sshedi Can you please ping me on slack ?

Hi @laullon , can you please take these changes?

LGTM, @sshedi can you add a note on the readme.md file about -DskipFormatCode, then I'll merge it to dev branch and master

LGTM, @sshedi can you add a note on the readme.md file about -DskipFormatCode, then I'll merge it to dev branch and master

Sure, thanks.

Thanks @laullon for your time and patience.


Kong ingress controller failed to fetch secrets for kong consumers if restarted (either due to some crash or planned)

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
kong3.4 & KIC: 2.12.3
Current Behavior
If one of KIC Pod restarts due to some issue or in planned way, it is unable to fetch secret and thus results in resource processing failed for Kong consumers.
In order to solve this: we have to delete the Kong consumers (it shows programmed false) and re-sync them into K8s cluster.
We have single deployment for both proxy and Ingress controller with DB-LESS mode
Expected Behavior
Kong Ingress controller should able to process the existing consumer and secret
Steps To Reproduce

Run the deployment with proxy v3.4.x and KIC: 2.12.3 (lets says with replica config of count 3)
Create  Kong consumers having credentials obtaining from K8s secret
delete one of the pods and wait for restart of the containers. Once the new pod is running, kong ingress controller logs still shows the resource processing error to process the kong consumer

FYI: kong Consumer is created in corresponding to JWT kong plugin
Anything else?
No response

Above image shows error after restarting pod for one of the consumers. However, at the same time...secret and consumers are present in the cluster


Create generalized mixing ratio conversion schemes

Now that the CCPP-framework's constituent object is up and running, it would be great to figure out a way to replace the species-specific wet-to-dry and dry-to-wet physics schemes with more generic routines that can convert all wet constituent variables to dry and visa versa.

One thing I struggled with is keeping track of the state of each species.
Currently in CAM, the wet-to-dry or dry-to-wet is often done "in place" (via set_dry_to_wet and set_wet_to_dry) so the value of a state%q species could be wet or dry with no indication.
In the CCPP world, these two states are associated with different standard names so a generic routine needs to be able to see and possibly manipulate the standard names of the constituent object species.
If the choice is to modify in-place, use of the object needs to be careful to not use old constituent array indices since they may now point to the wrong mixing ratio. The framework needs to be able to always pull out or create the correct mixing ratio for any species declared individually by a scheme and schemes need to have some way to indicate which state they want everything in to provide some protection against the troubles we have run into in the past.
If the choice is to modify via a copy, this would take a bunch of new memory but then, the objects should have different standard names. Also, in this world, it could be problematic to have a "mixed" object, that is one where some species are dry and some are wet (which might be a good thing since that would be a confusing state of affairs).
Of course, a third option could be to go with some sort of internal solution whereby the object could hand over any requested mixing ratio by doing an on-the-fly conversion and then keep everything consistent using some sort of cache-consistency algorithm.
I may be overthinking this but this is how I see it anyway.


Feature/tech 284 camino adjustments

Contains following changes:

corrected references of raw dashboards urls in installer script
renamed job labels
modified Health Checks failing panel to include only problematic nodes

The contact points should be configurable outside of the version-control as we don't want to expose credentials/webhook-urls to everyone through a public repository. Apart from that it looks good to me so far

hey @Noctunus , contact points are now parameterized


Refactor commands and add testing

[x] Refactor copy service command
[x] Refactor update service command
[x] Add unit tests

Opened another branch for integration tests.
This PR is ready for review @mikz


[fragmenter] 0.0.4 build 1

Fragmenter is incompatible with OE2020, per https://github.com/openforcefield/fragmenter/issues/61
Putting this up as a reminder -- Will build package and test next week.

Built, uploaded, and tested. Moving to main :-)


alarm: defaultDeleteExpiredTimers detection

Fix new alarm when selectedAlarm is undefined

tests ok

@gfwilliams Got a syntax error in settings from 681bd41945, should be ok now

Lets fix also the menu entry of #3095

Looks great, thanks! Sorry for introducing that syntax error - not sure how that happened. I'd made these changes a while back and only just pushed them so I must have forgotten to test :(


containerView blocking UITapGesture

Info
Value

Platform Name
ios

Platform Version
11

CFAlertViewController Version
3.0

Integration Method
cocoapods

Xcode Version
Xcode 9.2

Repro rate
100%

Repro with our demo prj
no

Issue Description and Steps
I am currently using CFAlertController to present a view that allows the user to enter a star rating via Cosmos and a review using a UITextView. What is happening is that the viewDidTap from CFAlert is eating the UITapGesture needed by the Cosmos star rating to update the stars.
Is it possible to make this overridable? Or is there a known way around having the alert eat the UITapGesture?

In order to allow for taps on my header view (other than for dismissing the alert) I went and removed the gestureRecognizers from the alertcontroller.view
I will instead handle closing the view by adding another action the user can select.


how can we get the last scaler data element ?

i am confusing how to get the last scaler vector element in a vector register? for example, if we want to use V instructions to implement the strcmp() function.
int strcmp(const char* str1, const char* str2) {
char c1, c2;
do {
c1 = *str1++;
c2 = *str2++;
} while (c1 != '\0' && c1 == c2);
return c1 - c2;

}
so the c1 and c2 is the last scaler vector element, we can use vmsbf instruction to setup the mask, but i don't know how to get the data content to a general register?

There are many valid strategies for vectorizing strcmp that have been proved out using RVV. I suggest looking at existing examples for strlen etc. and then spending some time thinking about it.

hi Aswaterman，
i guess your suggestion is we can use the Vector Mask Instructions like vmfirst  to know which data element is met the condition like (c1 != '\0' && c1 == c2) in strcmp() function, and then read the last data from memory.
but my concern is that the last data has readed into vector register, why not we provide a register for developer to get it from vector register?  Re-read the data from memory is very slow than fetch from vector register.
i saw ARM SVE also provide some instructions to read the data of vector register to general register, for example, LASTA instruction.
and an other thing is the, if we want to calculate 4x4 matrices, like A x B =C
load the A data into V0， load B data into V1，V2 for C.
for example, if we want to calculate this:
c0 + = a0b0，c1 +=a1b0, c2 +=a2b0,   c3 +=a3b0,
we can use this instruction in RVV:
flw ft0, (t1)
vfmacc.vf v2, ft0, v0
but the ft0，should be re-load from memory, right?
my point is that, the b0 data has loaded into V1， why not provide a instruction to read it from v resigter?
In ARM SVE, this instruction  like this:
fmla v2.4s, v0.4s, v1.s[0]
it can directly use the scaler data to FMLA instruction operation.

The redundant load is an extremely minor cost.
Just because another ISA offers an instruction doesn’t make it a good idea…

you mean the data will be in cache, if it is cache miss or this data of cache line evict from cache, it will be re-load from memory.

Yes, I mean that the reloaded data is nearly certain to be cache hit, and so the cost to re-access it is very low.
Overall, the fact that RVV scalars are sourced from scalar registers instead of vector registers is a feature, not a bug: doing so substantially reduces register pressure by freeing up vector registers to hold vectors.  Furthermore, the most common source of scalar operands to vector instructions is from other scalar instructions, and so directly using the scalar registers reduces operand traffic.
In the less-common case that a vector operand need be broadcast, we recommend using vrgather.vi or vrgather.vx.

Thanks very deeply explanation, sounds interesting!

I just quickly sketched out the strcmp routine below (not tested, so probably has bugs).
    .text
    .balign 4
    .global strcmp
  # int strcmp(const char *src1, const char* src2)
strcmp:
    ##  Using LMUL=2, but will work for larger LMULs
    li t1, 0                # Initial pointer bump
loop:
    vsetvli t0, x0, e8, m2, ta, ma  # Max length vectors of bytes
    add a0, a0, t1          # Bump src1 pointer
    vle8ff.v v8, (a0)       # Get src1 bytes
    add a1, a1, t1          # Bump src2 pointer
    vle8ff.v v16, (a1)      # Get src2 bytes

    vmseq.vi v0, v8, 0      # Flag zero bytes in src1
    vmsne.vv v1, v8, v16    # Flag if src1 != src2
    vmor.mm v0, v0, v1      # Combine exit conditions

    vfirst.m a2, v0         # ==0 or != ?
    csrr t1, vl             # Get number of bytes fetched

    bltz a2, loop           # Loop if all same and no zero byte

    add a0, a0, a2          # Get src1 element address
    lbu a3, (a0)            # Get src1 byte from memory

    add a1, a1, a2          # Get src2 element address
    lbu a4, (a1)            # Get src2 byte from memory

    sub a0, a3, a4          # Return value.

    ret

A hypothetical "move element from vector register index to scalar" could admittedly be a bit faster on some possible microarchitectures than the scalar loads to memory, but could also be a lot slower on others, and would add the complexity of a new data path and new data-dependent hazard to the pipeline.
If someone wants to test this, we could add to examples directory.

i have test your strcmp_asm code, it works fine.
i wrote a simple test case on it.
int strcmp(const char* str1, const char* str2) {
char c1, c2;
do {
c1 = *str1++;
c2 = *str2++;
} while (c1 != '\0' && c1 == c2);
return c1 - c2;

}
char *str1 = "i am learning riscv now, riscv is very good for me!!";
char *str2 = "i am learning riscv now, riscv is very good for us!!";
int main(void)
{
int ret;
ret = strcmp(str1, str2);
printf("C: ret = %d\n", ret);

ret = strcmp_asm(str1, str2);
printf("ASM: ret =%d\n", ret);

}
Here is the run result.
spike --varch=vlen:128,elen:32,slen:128 --isa=rv64gcv pk test
bbl loader
C: ret = -8
ASM: ret =-8

in this instruction，
vsetvli t0, x0, e8, m2, ta, ma  # Max length vectors of bytes
x0 should be initial as -1 ？

An other one is we has better to using temporary register for a0 and a1 to access the memory, otherwise other invalid introduction will change the content of source and destination string.
for example:
mv a2, a0             # str1
mv a3, a1             # str2

in this instruction，
vsetvli t0, x0, e8, m2, ta, ma # Max length vectors of bytes
x0 should be initial as -1 ？

x0 is fixed zero register and when used in vsetvli in this way sets the maximum vector length - see spec for vsetvli

An other one is we has better to using temporary register for a0 and a1 to access the memory, otherwise other invalid introduction will change the content of source and destination string.
for example:
mv a2, a0 # str1
mv a3, a1 # str2

not needed given in standard calling convention argument registers are caller save

I'm going to add to examples directory given that it at least compiled and worked for one test case.
Thanks for trying it out.


Classes can become outdated, alternative approach using element cascade?

I'm wondering if we could use a combination of html element cascading
eg.
body > div > div + p > a
in place of the classnames
eg.
._1yjej2X8._2AIt9kbG
My feeling is the class names are more likely to change than the underlying structure of the HTML.
Thoughts?

Yup, whenever possible we should do that.

this is from https://github.com/sindresorhus/anatine/issues/114
here's an example of how the "who to follow" panel on a person's profile page can be targeted:
CSS (web inspector, copy attribute; then manually edit):
.ldQL7yes

Selector Cascade (web inspector, copy selector):
#react-root > div.___iso-html___ > div > div > main > div > div._3p2OS0y_._3xzA16lK._2AIt9kbG > div > section > div > div > div > div > div > div:nth-child(4) > div

XPath (web inspector, copy XPath):
//*[@id="react-root"]/div[1]/div/div/main/div/div[2]/div/section/div/div/div/div/div/div[4]/div

So it seems XPath is the most direct, but that the Selector Cascade can be obtained easily but may still include class names.

You're in a world of pain. Our DOM structure and classes are going to keep changing out from under you. By trying to hack the app itself you've committed to breaking the UX on a regular basis, and confusing users about who is responsible for things being broken.

We're just having fun.
Pass on my regards to kpk 🍻

We're not changing anything because wrappers like this are embedding the site. We're changing things because we have features to add, bugs to fix, and big problems to solve. Markup will change regularly and could likely be different depending on who is looking at it. CSS classnames are auto-generated for us, so we actually have no control over what they are. There's just no way that we can support every feature of countless wrappers like this one.
In regards to @necolas mentioning "confusing users about who is responsible for bugs": This application does not specify anywhere that it's merely a wrapper around mobile.twitter.com with some additional features. By looking at the README, I would guess that someone wrote a full desktop Twitter client on their own. It says "Pristine Twitter app" and lists a bunch of creators at the bottom, but no credit is given to those of us who have worked months, even years, to bring the mobile website to life.
So, if I were someone else and using Anatine and spotted a display bug or a broken button, I'd probably report it here and blame the "creators" for the issue.

I'm genuinely interested in your fears or motivation? Why change things around because a small minority of your users are applying their own custom styling?

As Paul mentioned, the fact that markup and styles are frequently changing is the result of the app being under active development. Just letting you know that this problem is likely to get worse for you as time goes by due to a) increased pace of development, b) greater obfuscation of style information (e.g., class names or inline styles).

@necolas @paularmstrong that's fair enough, thanks for the heads-up.
The react site is better than the twitter app, which says a lot to the great work your team are doing.

I was thinking about this issue again for some reason. There are relatively stable and human readable attributes you could target in some of your css selectors. We use the 'data-testid' attribute as a hook for functional browser tests. It won't be as precise or common as classnames, but using it when possible could help you reduce the frequency of these bugs.


Update Errata.md

a -> an

@jquesnelle Could you go to Settings > Moderation options > Interaction limits and block the above user (Dezzj) from commenting? They have been spamming "Veiwed" across several repositories I contribute to.
https://docs.github.com/en/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository

@cebtenzzre blocked -- seems to be some sort of spam/clout bot


Introduce a CSV2ExtJsLocale interface

This PR introduces a new interface that can be used to easily retrieve ExtJS compatible locale JSONs that are generated on the basis of a CSV file with all the locale information (for different languages).
One of the main advantages of this approach is that a CSV can easily be used in Excel or LibreOffice to manage the translation - even by non-technical persons. Another advantage is the extensibility for new languages (which would simply be additional columns in the CSV).
The retrieved JSON is compatible with the BasiGX language combo: https://github.com/terrestris/BasiGX/blob/master/src/view/combo/Language.js
Example:
A CSV file src/main/resources/META-INF/locale/client.csv with the following content:
component;field;de;en
MyProject.some.Component;config.data.title;"de:title;and something after a semicolon";en:foobar
MyProject.some.Component;config.data.tooltip;de:tooltip;en:tooltip
MyProject.some.Component;config.data.dragText;{0} Zeile(n) ausgewählt;{0} line(s) selected
MyProject.another.Component;justonefield;de:foo;en:foo
MyProject.another.Component;data.a;de:data.a;en:data.a
MyProject.another.Component;data.b;de:data.b;en:data.b
MyProject.yet.another.Component;config.myArray[];de:v1,v2,v3, ...;en:v1,v2,v3, ...

would be translated to
{
   "MyProject.another.Component":{
      "data":{
         "a":"de:data.a",
         "b":"de:data.b"
      },
      "justonefield":"de:foo"
   },
   "MyProject.some.Component":{
      "config":{
         "data":{
            "title":"de:title;and something after a semicolon",
            "tooltip":"de:tooltip",
            "dragText":"{0} Zeile(n) ausgewählt"
         }
      }
   },
   "MyProject.yet.another.Component":{
      "config":{
         "myArray":[
            "de:v1",
            "v2",
            "v3",
            " ..."
         ]
      }
   }
}

when the following web-interface is called: http://localhost:8080/yourProject/locale/client/de.json
To retrieve the english version (i.e. the values from the en column in the CSV), you would simply have to replace the de in the URL above with en. You could also retrieve the content of other CSV locale files by adapting client in the above URL to the name of your CSV (without .csv), e.g. http://localhost:8080/yourProject/locale/admin/en.json for the english version of a CSV named admin.csv.
To easily generate the needed Map<String, Object> (map of maps) in Java, which will be translated by the Jackson lib to an according JSON, the very useful StructureUtils.putValueIntoMapOfMaps method of the JBoss/elasticsearch project is used (as this method supports the dot notation in the second column of the CSVs).
Please review this first version of the locale interface. Thanks!

Just to keep this in mind: I still have to check if the current webapp archetype is compatible to this new feature. It is possible that some adaptions in the web.xml are necessary (to allow .json next to `.action in the URL).

One thing I forgot. Can you please add tests? This looks like it can be done easily.

I addressed the mentioned issues and added tests.
But do me a favour @marcjansen : Don't say that it looks easy to create tests in a spring mvc setup :laughing: :joy:
I am also not 100% sure whether this code should go to SHOGun2, but as you said: it does not really hurt. What i would like to have in future is some kind of plugin mechanism to pull in such features as optional ones.


Open map for directions with "to" and "from" address populated

Thanks for this awesome module! I needed to pop open the map with the to/from address populated. Is this possible? (if geolocation is disabled i was planning on leaving the from blank so they can fill it in)

Have you tried adding the sourceLatitude & sourceLongitude parameters (see readme). They act more or less as a From address.
Does that cover your use case?

Ah thank you I missed that! I didn't try it but it sounds like it does. Thanks very much!


[WIP] Add conditions to display Host CPU performance charts

Unlike VMs, the list of performance charts displayed cannot be modified for Hosts at the provider level.
For a provider, we may want to be able to display a CPU usage chart, if that data is available, instead of or alongside the CPU frequency chart.
Proposed solution is to make use of the applies_to_method attribute for the Host CPU charts and set it to a method that can be overridden in the Provider subclass.
Screenshot shows Host performance charts for a provider that overrides cpu_percent_available? to return true and cpu_ready_available? and cpu_mhz_available? to return false.

And now with the screen shot:

I like this a lot, I do think we should have the cpu_mhz_available in the provider subclasses which actually implement the metrics capture however and have the ones in core default to false.
I know we have some of these in ManageIQ::Providers::InfraManager::Vm and ManageIQ::Providers::CloudManager::Vm but think that is some technical debt that we shouldn't continue with.

Rolled back second commit

Someone let me know if I understood this correctly:
ok, so outstanding is

in the providers of interest, add these methods that return true
Update core to return false from these methods
Keep these charts referencing the methods that were added here

I think this broke manageiq-ui-classic - see the error on master there https://github.com/ManageIQ/manageiq-ui-classic/runs/6836117713?check_suite_focus=true
  1) ChartsLayoutService#layout returns layout for fname if specific class does not exist
     Failure/Error: expect(chart).to eq(host_chart)
       expected: [{:applies_to_method=>"cpu_mhz_available?", :chart2=>{:columns=>["derived_vm_count_on"], :title=>"VMs...were running", "Display-VMs-off:VMs that were stopped"], :title=>"Virtual Machines", :type=>"Area"}]
            got: [{:applies_to_method=>"cpu_mhz_available?", :chart2=>{:columns=>["derived_vm_count_on"], :title=>"VMs...were running", "Display-VMs-off:VMs that were stopped"], :title=>"Virtual Machines", :type=>"Area"}]
       (compared using ==)
       Diff:
       @@ -18,23 +18,6 @@
           ["max_derived_cpu_reserved:Projected to hit reserve",
            "max_derived_cpu_available:Projected to hit available"],
          :type=>"Line"},
       - {:applies_to_method=>"cpu_percent_available?",
       -  :chart2=>{:columns=>["derived_vm_count_on"], :title=>"VMs", :type=>"Line"},
       -  :columns=>
       -   ["cpu_usage_rate_average",
       -    "max_derived_cpu_available",
       -    "max_derived_cpu_reserved"],
       -  :menu=>
       -   ["Chart-Current-Hourly:Hourly for this day",
       -    "Chart-VMs-topday:Top VMs on this day",
       -    "Timeline-Current-Daily:Daily events on this Host",
       -    "Timeline-Current-Hourly:Hourly events on this Host",
       -    "Display-VMs-on:VMs that were running"],
       -  :title=>"CPU (%)",
       -  :trends=>
       -   ["max_derived_cpu_reserved:Projected to hit reserve",
       -    "max_derived_cpu_available:Projected to hit available"],
       -  :type=>"Line"},
         {:applies_to_method=>"cpu_ready_available?",
          :chart2=>{:columns=>["derived_vm_count_on"], :title=>"VMs", :type=>"Line"},
          :columns=>
     # ./spec/services/charts_layout_service_spec.rb:23:in `block (3 levels) in <top (required)>'


collapseable calendar

Description

Type of change

[x] New feature (non-breaking change which adds functionality)

I have read the CLA Document and I hereby sign the CLA

recheck

nice

it transitions fine while going from collapsed state to uncollapsed but not vice versa any guess why


remove legacy plugins

What does this PR do?
removing legacy plugins, follow up to #5743
cc: @awaelchli
Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified
[x] Check that target branch and milestone match!

Did you have fun?
Make sure you had fun coding 🙃

Hello @Borda! Thanks for updating this PR.

In the file pytorch_lightning/accelerators/legacy/accelerator.py:

Line 35:25: E251 unexpected spaces around keyword / parameter equals
Line 35:27: E251 unexpected spaces around keyword / parameter equals
Line 36:37: E251 unexpected spaces around keyword / parameter equals
Line 36:39: E251 unexpected spaces around keyword / parameter equals
Line 37:28: E251 unexpected spaces around keyword / parameter equals
Line 37:30: E251 unexpected spaces around keyword / parameter equals

In the file pytorch_lightning/accelerators/legacy/ddp2_accelerator.py:

Line 34:37: E251 unexpected spaces around keyword / parameter equals
Line 34:39: E251 unexpected spaces around keyword / parameter equals
Line 35:28: E251 unexpected spaces around keyword / parameter equals
Line 35:30: E251 unexpected spaces around keyword / parameter equals

In the file pytorch_lightning/accelerators/legacy/ddp_accelerator.py:

Line 49:25: E251 unexpected spaces around keyword / parameter equals
Line 49:27: E251 unexpected spaces around keyword / parameter equals
Line 50:37: E251 unexpected spaces around keyword / parameter equals
Line 50:39: E251 unexpected spaces around keyword / parameter equals
Line 51:28: E251 unexpected spaces around keyword / parameter equals
Line 51:30: E251 unexpected spaces around keyword / parameter equals

In the file pytorch_lightning/accelerators/legacy/ddp_cpu_hpc_accelerator.py:

Line 24:37: E251 unexpected spaces around keyword / parameter equals
Line 24:39: E251 unexpected spaces around keyword / parameter equals
Line 25:28: E251 unexpected spaces around keyword / parameter equals
Line 25:30: E251 unexpected spaces around keyword / parameter equals

In the file pytorch_lightning/accelerators/legacy/ddp_cpu_spawn_accelerator.py:

Line 42:37: E251 unexpected spaces around keyword / parameter equals
Line 42:39: E251 unexpected spaces around keyword / parameter equals
Line 43:28: E251 unexpected spaces around keyword / parameter equals
Line 43:30: E251 unexpected spaces around keyword / parameter equals

In the file pytorch_lightning/accelerators/legacy/ddp_hpc_accelerator.py:

Line 34:37: E251 unexpected spaces around keyword / parameter equals
Line 34:39: E251 unexpected spaces around keyword / parameter equals
Line 35:28: E251 unexpected spaces around keyword / parameter equals
Line 35:30: E251 unexpected spaces around keyword / parameter equals

In the file pytorch_lightning/accelerators/legacy/ddp_spawn_accelerator.py:

Line 46:37: E251 unexpected spaces around keyword / parameter equals
Line 46:39: E251 unexpected spaces around keyword / parameter equals
Line 47:28: E251 unexpected spaces around keyword / parameter equals
Line 47:30: E251 unexpected spaces around keyword / parameter equals


Lottie Viewer Information is Wrong

LottieViewer application from the store does not have the "Save As CodeGen" button

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

ID: d199db9b-701a-e6c3-c1d0-5e52c629d105
Version Independent ID: 4761c3e5-4ac2-a5e2-8397-ba0d93bd87c1
Content: Using Codegen - Windows Community Toolkit
Content Source: docs/animations/lottie-scenarios/getting_started_codegen.md
Product: community-toolkit
GitHub Login: @sohchatt
Microsoft Alias: mhawker

FYI @simeoncran

This is by design - it was removed in favor of just supporting LottieGen.exe because the number of options was increasing so much that a UI become cumbersome.
@nishitha-burman to fix the docs.

@nishitha-burman did you have a chance to fix the doc? ⬆

@nishitha-burman did you have a chance to fix the doc? ⬆

Hi @Kyaa-dost the docs will be updated with the 7.0 release

Hi @Kyaa-dost the docs will be updated with the 7.0 release

Thanks for the update @nishitha-burman!

Thanks for the update @nishitha-burman!


Tiny Backbone Structure

https://github.com/yjh0410/pytorch-yolo-v2-v3/blob/e18c5671dcfac59038717b262e2729f9f0a05fcb/backbone/darknet.py#L161-L227
Why do you replace the MaxPooling with strided convolution??
I think that convolution has more complexity than MaxPooling.

In origin YOLO-v3, it does so. I just follow it.
I have done some experiments on CIFAR-10, and I found that stride-2 conv is better than pooling with the same parameters.
------------------ 原始邮件 ------------------
发件人: "Yonghye<EMAIL_ADDRESS>发送时间: 2020年3月22日(星期天) 中午11:07
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS>主题: [yjh0410/pytorch-yolo-v2-v3] Tiny Backbone Structure (#26)
https://github.com/yjh0410/pytorch-yolo-v2-v3/blob/e18c5671dcfac59038717b262e2729f9f0a05fcb/backbone/darknet.py#L161-L227
Why do you replace the MaxPooling with strided convolution??
I think that convolution has more complexity than MaxPooling.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@yjh0410  Thanks!


Enable users to save searches as required in RF10

RF10 - Create saved searches. Registered users shall be able to save search parameters in order to be able to reproduce a search query at a future date.
I was not able to save search parameters also inhibiting my ability to test RF11 and RF12.

duplicate of #137


Create a lint rule that custom hooks start with use[A-Z]{1}

https://github.com/nikaera/flutter_hooks_lint/commit/c8ee9c57782ae5f092c2637e4b0af4f6227632d8


scene turns black when imported vdb in unreal engine 5

scene turns black when imported vdb in unreal engine 5

Thanks, I've already fixed this issue but haven't uploaded it yet.
In the meantime, you can fix the issue by using the "Epic" quality setting in the "Effects" category.
This is a screenshot showing the issue. Set "Effects" back to Epic and you should be fine.

This issue is now fixed with the 0.4.1 version.
https://github.com/eidosmontreal/unreal-vdb/releases/tag/v0.4.1
https://github.com/eidosmontreal/unreal-vdb/commit/4436e5015ea54475bb4f1ee404d739d55c424e69#r75969609
Thanks for reporting it !


Adding server span generation on receiving subscribe and binding event

Description
Adding server span generation on receiving subscribe and binding event
Issue reference
Part of Epic
#292
#1373
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test

Also, in general, I keep seeing the span creation being duplicated and repeated everywhere in our code, while we know this needs to change.

Also, in general, I keep seeing the span creation being duplicated and repeated everywhere in our code, while we know this needs to change.

We need to create span or set span ( client/server ) , in the first incoming call to Dapr and outgoing call to app.

Also, in general, I keep seeing the span creation being duplicated and repeated everywhere in our code, while we know this needs to change.

We need to create span or set span ( client/server ) , in the first incoming call to Dapr and outgoing call to app. We can think of creating a common layer before the routing handler - probably in next milestone.

We have to do something about it in the next milestone, we currently have too many create/set spans, also in non-entrypoint or exit methods. And those should not occur if the sampling rate is 0.
/cc @youngbupark

f the sampling rate is 0.

Yes, we will disable spans once sampling rate is 0. Tracking #1473

Moving this PR to 0.8.0 milestone.  We can merge the PR once we have decision on publish/subscribe and bindings trace flow.
cc @yaron2 @youngbupark

Thanks, I think this is the right call

@yaron2 I am sure that the total number of span generation frequency is lower than the previous code because the previous tracing span were generated for every api call. We will talk about it more in the next meeting.

Merged as part of #1533 and PR https://github.com/dapr/dapr/pull/1545


[Create New Issue]: Median of Two Sorted Arrays(java)

Description
Description
Domain
Competitive Programming
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign


frequencies of positive event given some features subset

Calculate probability of positive event, given certain feature(s) such as id or channel.
We add weights and threshold based on id frequencies i.e.

if less than 5, then id is dropped,
5-20 -> apply some weight,
>20 -> enough examples to apply full weights.

(there is some data-leak -> to be improved)

merged in #20


bug: ion-item-sliding slides entire list of ion-items

Bug Report
Ionic version:

[x] 4.6.2
Current behavior:

When sliding an <ion-item> within <ion-item-sliding>, all of the items slide a bit when I'm only sliding a single element.
Expected behavior:

When sliding an <ion-item> within <ion-item-sliding>, I expect the only element that moves is the one I slide.
Steps to reproduce:

Related code:

https://stackblitz.com/edit/ionic-v4-angular-tabs-hdltbd

Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 5.2.3 (/Users/jeffreywen/.nvm/versions/node/v10.15.3/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.6.2
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Capacitor:

   Capacitor CLI   : 1.1.0
   @capacitor/core : 1.1.0

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v10.15.3 (/Users/jeffreywen/.nvm/versions/node/v10.15.3/bin/node)
   npm    : 6.4.1
   OS     : macOS Mojave

Please provide a sample code that reproduces the issue

you are sliding the wrapping ion-slides

The iteams are sliding because they are wrapped around an ion-slides

Thank you very much. Indeed it was because my items were wrapped in slides.


rye sync fails to install build dependency (hatchling)

Steps to Reproduce
Not sure how to reliably reproduce. I'm working on an existing project, but on a new mac mini (m2).
I note that:

on first (ever on this computer) sync, I got a complaint about pip not being found. Which I resolved by aliasing pip to pip3 in my shell profile.
on second sync, I got a new complaint about http://pypi.org not being trusted, and resolved by adding the trusted host explicitly to a new pip.conf file, as well as by running pip3 config set global.index-url https://pypi.org to try to force https.
on third sync I ran into the issue described here and don't know how to best resolve. I also don't know if the earlier issues listed above are symptoms of some other problem that I'm running away from by e.g. customizing my shell profile or pip config etc. rye sync is still using http.

Expected Result
I expect that rye's build dependencies install (if needed) successfully.
Actual Result
Output looks like:
% rye sync
Reusing already existing virtualenv
Generating production lockfile: /Users/matt/dev/project/requirements.lock
    error: subprocess-exited-with-error

    × pip subprocess to install build dependencies did not run successfully.
    │ exit code: 1
    ╰─> [3 lines of output]
        Looking in indexes: http://pypi.org/simple/
        ERROR: Could not find a version that satisfies the requirement hatchling (from versions: none)
        ERROR: No matching distribution found for hatchling
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.

Version Info
% rye --version
rye 0.11.0
commit: 0.11.0 (f6f63d6c1 2023-07-18)
platform: macos (aarch64)
self-python<EMAIL_ADDRESS>symlink support: true

Stacktrace
The full stacktrace looks like:
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 8, in <module>
    sys.exit(cli())
  File<EMAIL_ADDRESS>line 1157, in __call__
    return self.main(*args, **kwargs)
  File<EMAIL_ADDRESS>line 1078, in main
    rv = self.invoke(ctx)
  File<EMAIL_ADDRESS>line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File<EMAIL_ADDRESS>line 783, in invoke
    return __callback(*args, **kwargs)
  File<EMAIL_ADDRESS>line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File<EMAIL_ADDRESS>line 592, in cli
    results = resolver.resolve(max_rounds=max_rounds)
  File<EMAIL_ADDRESS>line 593, in resolve
    is_resolved = self._do_resolve(
  File<EMAIL_ADDRESS>line 625, in _do_resolve
    resolver.resolve(
  File<EMAIL_ADDRESS>line 73, in resolve
    collected = self.factory.collect_root_requirements(root_reqs)
  File<EMAIL_ADDRESS>line 491, in collect_root_requirements
    req = self._make_requirement_from_install_req(
  File<EMAIL_ADDRESS>line 453, in _make_requirement_from_install_req
    cand = self._make_candidate_from_link(
  File<EMAIL_ADDRESS>line 185, in _make_candidate_from_link
    self._editable_candidate_cache[link] = EditableCandidate(
  File<EMAIL_ADDRESS>line 318, in __init__
    super().__init__(
  File<EMAIL_ADDRESS>line 156, in __init__
    self.dist = self._prepare()
  File<EMAIL_ADDRESS>line 225, in _prepare
    dist = self._prepare_distribution()
  File<EMAIL_ADDRESS>line 328, in _prepare_distribution
    return self._factory.preparer.prepare_editable_requirement(self._ireq)
  File<EMAIL_ADDRESS>line 709, in prepare_editable_requirement
    dist = _get_prepared_distribution(
  File<EMAIL_ADDRESS>line 69, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(
  File<EMAIL_ADDRESS>line 38, in prepare_distribution_metadata
    self._prepare_build_backend(finder)
  File<EMAIL_ADDRESS>line 70, in _prepare_build_backend
    self.req.build_env.install_requirements(
  File<EMAIL_ADDRESS>line 217, in install_requirements
    self._install_requirements(
  File<EMAIL_ADDRESS>line 275, in _install_requirements
    call_subprocess(
  File<EMAIL_ADDRESS>line 224, in call_subprocess
    raise error
pip._internal.exceptions.InstallationSubprocessError: pip subprocess to install build dependencies exited with 1

Solved.
The rye-installed config at ~/.rye/config.toml contains these values:
[[sources]]
name = "default"
url = "http://pypi.org/simple/"

Changing to https fixed the issue.


Cellery test should be executed without ballerina as well

Currently, we have mandated ballerina for cellery test execution. But this should not be the case, the cellery test should be able to be executed without ballerina as well. And only the cellery test --debug should require ballerina.

Resolved by #795


Vendor package github.com/bugsnag/panicwrap to v1.1.0 to support ARM64

Done with command godep update -v github.com/bugsnag/panicwrap.
This PR is essential to fix the build errors detected in PR #3960, it supersedes PR #3961.
Signed-off-by: Boris Pruessmann<EMAIL_ADDRESS>@DieterReuter FYI

:+1:

Sweeeeeet
Thanks @docbobo @DieterReuter !!


Making memory allocation exception safe

Used make_unique instead of malloc

@jdduke , i get your point, but why to use this inside also if other options are available. Anyway it was great talking to you, hope for more such interactions in the future. I am closing the PR.


fix polygon_crossing issue with collinear edge

I found some cases where polygon_crossing() misses to label some edges as not visible.
The code bellow is an example of failure case before the fix.
I'm not totally sure, but my investigations lead me to conclude that this (co0 and co1) case in polygon_crossing() can solve that out.
import pyvisgraph as vg

# Set obstacles
obstacles = [
    [
        vg.Point(200.00, 50.00),
        vg.Point(200.00, 100.00),
        vg.Point(700.00, 100.00),
        vg.Point(700.00, 50.00)
    ], [
        vg.Point(4.00, 200.00),
        vg.Point(600.00, 200.00),
        vg.Point(600.00, 150.00),
        vg.Point(4.00, 150.00),
        vg.Point(4.00, 0.00),
        vg.Point(0.00, 0.00),
        vg.Point(0.00, 150.00),
        vg.Point(0.00, 200.00),
        vg.Point(0.00, 800.00),
        vg.Point(4.00, 800.00)
    ]
]

# Build path showing issue with polygon_crossing function
g = vg.VisGraph()
g.build(obstacles)
path = g.shortest_path(vg.Point(50, 400), vg.Point(50, 20))
print(path)
print("The edge from Point(0.00, 150.00) to Point(4.00, 150.00) outputed is wrong")

# Display with pygame
import pygame, time, sys

pygame.init()
screen = pygame.display.set_mode((800, 800))
screen.fill(0xFFFFFF)
for poly in obstacles:
    pygame.draw.polygon(screen, 0x000000, [(p.x, p.y) for p in poly])
pygame.draw.lines(screen, 0xFF0000, False, [(p.x, p.y) for p in path], 2)
pygame.display.update()
while True:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            sys.exit(0)
    time.sleep(0.1)

Seems the issue is with points vg.Point(0.00, 150.00) and vg.Point(0.00, 200.00). These two points are on the line segment from vg.Point(0.00, 0.00) and vg.Point(0.00, 800.00), they are colinear. I'll need to do some debugging to see why your fix works.

I think I know what the problem is now, adding if co0 and co1: continue wont be enough, I will do a write up of the bug in #20, as thats where the issue is.

@deboc, for d8a7fd3, do you have a example where you would end up with an out of bounds value? I would like to add a test case.

Yes sorry I didn't. I will try to find out one.
In short, I remember to have encountered a acos(1.00000000001) numerical issue at some point.

Here you go :
import pyvisgraph as vg
polygon = [
	vg.Point(353.6790486272709,<PHONE_NUMBER>0984855),
	vg.Point(351.1303807396073,<PHONE_NUMBER>603927),
	vg.Point(349.5795890382704,<PHONE_NUMBER>679034),
	vg.Point(957.1067811865476, -207.10678118654744),
	vg.Point(-457.10678118654766, -207.10678118654744),
	vg.Point(-457.10678118654744, 1207.1067811865476),
	vg.Point(957.1067811865476, 1207.1067811865473),
	vg.Point(353.52994294901674,<PHONE_NUMBER>165788),
	vg.Point(354.0988628008279,<PHONE_NUMBER>00828),
	vg.Point(354.52550331744527,<PHONE_NUMBER>760635),
	vg.Point(352.6969055662087,<PHONE_NUMBER>889012),
	vg.Point(351.22198101804634,<PHONE_NUMBER>70995),
	vg.Point(247.0, 500.0),
	vg.Point(341.8964635104416,<PHONE_NUMBER>6676054),
	vg.Point(349.24224903733045,<PHONE_NUMBER>47085),
	vg.Point(350.84395848060774,<PHONE_NUMBER>7398697)
]
g = vg.VisGraph()
g.build([polygon])

And the value (a + c - b) / (2 * sqrt(a) * sqrt(c)) is 1.0000000000000002, not that good for a cosinus...


The new DB migration job

The new DB migration job for Gallery.
Need to consider the unit tests/functional tests/E2E tests.

The validation database migration still looks ambiguous.

Update build.ps1 to generate AssemblyInfo.g.cs and to pack

Only build.ps1 is left now.

Decide to run migration for validation database here, considering the difficult to put it within server common.


Isolated environment is hard-coded for building bosh-releases

The bosh-cli sometimes compiles releases, e.g. for bosh create-env. It therefore requires compilation tools that may need certain environment-variables, e.g. to find dynamically linked libraries and header-files.
installation/pkg/compiler.go:95-108 prohibits the propagation of needed environment-variables that are intended to solve this. One examle is LIBRARY_PATH which is like the (already propagated) LD_LIBRARY_PATH but relevant for compilation-time instead of run-time. But there are quiet some more.
For me it would be sufficient, to switch off the UseIsolatedEnv e.g. via a cli-flag. Then the caller is responsible for providing a correct and clean environment.

bosh releases should be self-contained and should bring the needed header-files / libraries. For example, the ruby release bring libyaml: https://github.com/cloudfoundry/bosh-package-ruby-release/blob/main/packages/ruby-3.3/packaging#L55

In case of using isolated environments, bosh could use a docker-image that provides everything it needs for its release-compilations. This would be then truly-isolated and reproducible at least on all systems that provide a running docker-demon.

We do provide stemcells as docker images, so those might be a good option for running a create-env from: https://github.com/cloudfoundry/bosh-linux-stemcell-builder/pkgs/container/ubuntu-jammy-stemcell

We do provide stemcells as docker images, so those might be a good option for running a create-env from: https://github.com/cloudfoundry/bosh-linux-stemcell-builder/pkgs/container/ubuntu-jammy-stemcell

@jpalermo  Hm we already run bosh cli in a container image, the base layer is not ubuntu though. However its a normal linux derivate with all the neccecary and documented system environment variables  set according to docs for e.g. GCC or LD to work properly. They way bosh cli is written is not OS agnostic it makes hard assumtions here that it runs a debian based OS.
So while running in a stemmcell would defenetely work somehow it means the community would state that the Bosh CLI is just supposed to work there and neither on macos, openbsd nor orther linux derivates as it wants to keep assumtions over the OS hard coded instead of using the interface described by the used tools properly.(GCC/LD).
The point here is if we call GCC we should call it as documented https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html and not just assume a certain derectory for libs that is just true for some linux/unix derivates. Thats why the GCC guys introduced LIBRARY_PATH in the first place presumably. : )


Could there be following options in generator prompt?

spaces for indentation, defaults to tab
enforce es-next in xo, defaults to false

spaces for indentation, defaults to tab

👎  This generator is just what I use. If we start introducing stuff like that everything get's complicated. Now we'll need to convert indentation for everything and stuff.

enforce es-next in xo, defaults to false

I think we can just do it by default without a prompt. All my new Node.js modules target Node.js 4.

enforce es-next in xo, defaults to false

I think we can just do it by default without a prompt. All my new Node.js modules target Node.js 4.

Should I raise a PR?

This issue can be closed. The esnext option was added in https://github.com/sindresorhus/generator-nm/commit/1f5ff89c082b8e070d025597a87adc96462f406e and isn't even needed anymore because it is true by default in XO itself now.


Does this work? What version of crystal is required?

I'm having some troubles getting this lib to work correctly. Firstly it's telling me that MemoryIO is not supported, so I went in and changed it to IO::Memory since it was changed MemoryIO -> IO::Memory. Though, I still seem to be getting some errors from the JSON PullParser, telling me that json.null is not a method for IO::Memory.
Still very new to Crystal, so I'm not entirely sure what's going on. Would love some help, or info as to what I should do.

There's a channel on the Discord API server designated for questions like this: https://discord.gg/discord-api
Without looking too deep into your issue I'd guess that you are on a outdated version of crystal (or discordcr). I'd try updating both to latest

The master branch is compatible with latest crystal but the latest release is not. Please specify the master branch until the next release like so:
dependencies:
  discordcr:
    github: meew0/discordcr
    branch: master


include of non-modular header JSQSystemSoungPlayer error

I want to use JSQMessagesViewController as a dependency to my swift pod. When I build my example app I get the old non-modular header error related to the JSQSystemSoundPlayer but I don't know how to get around it with XCode 7.
Podspec:
s.dependency 'JSQSystemSoundPlayer'
s.dependency 'JSQMessagesViewController', '7.2.0'
#Also tried 5.3.2

Hi @marcioarantes-ww
I have actually had similar experiences with this problem. The issue is that Swift doesn't play nice with importing non-modular frameworks into frameworks. Essentially, you will only run into this problem when bundling a framework inside another. There is a simple solution, however it requires some work JSQSystemSoundPlayer as well as JSQMessagesViewController.
@jessesquires Both projects (JSQSystemSoundPlayer as well as JSQMessagesViewController) will need to have the following Xcode project setting: DEFINES_MODULE = YES; Should I put two PRs through?

@Mackarous :+1: :+1: :+1: :+1:

Related: #927, #1283, #1284

Thank you guys! :)

Hey sorry for the delay,
@jessesquires:
Upon further investigation, it turns out that JSQSystemSoundPlayer is not an issue, and can remain as is. The change that needs to be done is in the JSQMessagesViewController Podfile. The Podfile requires the following changes:
platform :ios, '8.0'
use_frameworks!

This will use frameworks instead of static libraries for the included projects, which in the case of JSQMessagesViewController is only JSQSystemSoundPlayer. This will allow the import of JSQSystemSoundPlayer as a module, and it should resolve the errors that @marcioarantes-ww is having. I have only been able to test in a very controlled environment as I do not know the exact intricacies of @marcioarantes-ww's project.
Summary of changes to JSQMessagesViewController:

Change Podfile platform to iOS 8
Change Podfile to use frameworks instead of static libraries
Change project structure deployment target to iOS 8
Run pod install

Thanks for the investigation and info @Mackarous ! Huge help! :bow:
This was what I expected to hear. We'll have to target this change for version 8.0 of the library.

I believe this is incorrect. As stated above JSQMessagesViewController works fine with the use of use_frameworks! flag in the podfile but this is not what I'm doing. JSQMessagesViewController is a dependency of my own pod not a project. I was able to compile my example app by updating JSQSystemSoundPlayer+JSQMessages to include @import JSQSystemSoundPlayer;

Hey @marcioarantes-ww,
I should have elaborated further:
The reason this works is because you are importing JSQMessagesViewController as a dependency in your project. Making the change you suggested is specific to your project, and will actually break when using JSQMessagesViewController through a Podfile. The reason for that is because you are using frameworks in your Podfile which takes precedence, and since you are using JSQMessagesViewController as a dependency in a Podspec, it follows your Podfile's use_frameworks! tag. Finally, changing a file in your dependency is temporary since running a pod update or pod install will overwrite your changes.
To ensure that JSQMessagesViewController works as a pod in a project Podfile and a dependency in a Podspec, the changes I outlined above need to be implemented.

@Mackarous got it thanks for clarifying. Looking forward to your next update.

Thanks @Mackarous ! :tada: :smile:

+1 for this issue :)

I have this issue and can't resolve it... :(

finally works with cocoapods 0.39.0. Do not use beta :p

I'm still getting this error.  how exactly did you fix it?  this is what my podfile looks like
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
workspace 'EODPOC'
target 'EODPOC' do
pod 'Alamofire'
pod 'Facebook-iOS-SDK', '~> 3.23.0', :inhibit_warnings => true
pod 'MMDrawerController' , '~> 0.5.7'
pod 'MMProgressHUD', :inhibit_warnings => true
pod 'MagicalRecord', :inhibit_warnings => true, :inhibit_warnings => true, :git => 'https://github.com/magicalpanda/MagicalRecord.git', :branch => 'release/3.0'

#pod 'FMDB'
pod 'FMDB', :git => 'https://github.com/robertmryan/fmdb.git'

pod 'RNCryptor', :inhibit_warnings => true
pod 'SwiftyJSON'

pod 'JSQMessagesViewController'
#pod 'JSQMessagesViewController', :git => 'https://github.com/jessesquires/JSQMessagesViewController.git', :branch => 'develop'
end

is your project structure also using ios 8.0 as the minimum deployment target? When i followed @Mackarous instructions the first time, i had a mismatch and got an error.. but if both the podfile and project are set to 8.0 then it worked

thanks for the rapid reply (no sarcasm).  i tried changing it to 8.0, 9.0, 9.2, etc.  I changed the deployment target and platform values to match but still get the error.  this was working previously but just no longer compiles

+1 on the "JSQSystemSoundPlayer/JSQSystemSoundplayer.h file not found" error using cocoapods 1.0.0.rc1.

Encountered this with CocoaPods 1.0.0. You need to @import JSQSystemSoundPlayer;

It seems to work for me (for now) using Swift 2.2 with Xcode 7.3.1 and CocoaPods 1.0. It currently builds both in simulator and on device just using import JSQMessagesViewController

It work for me ( using Swift 2.2 with Xcode 7.3.1 and CocoaPods 1.0 ) but only in simulator , in device Im getting the following errors:  'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/containers/Bundle/Application/.../Frameworks/JSQMessagesViewController.framework> (loaded)' with name 'JSQMessagesViewController'
any ideas?

Fixed by #1649

I still got same issue (using swift 2.2 , xcode 7.3.1 and cocoaPods 1.0), it work only in simulator. In my devide (iphone 6 , ver 9.3.2).  My pods file also change to "platform :ios, '8.0'
use_frameworks! " @Mackarous  . It still happening.   This's message :

'JSQSystemSoundPlayer/JSQSystemSoundPlayer.h' file not found.
Could not build Objective-C module 'JSQMessagesViewController'.
Anything i can do?

The fix is on develop and will be included with v8.0 of the library

i still got same issue (using swift 3.1 , xcode 8.3 and cocoaPods 1.0),
. My pods file also change to "platform :ios, '9.0'
use_frameworks!
'JSQSystemSoundPlayer/JSQSystemSoundPlayer.h' file not found.
Could not build Objective-C module 'JSQMessagesViewController'.
Anything i can do? @jessesquires


If you fix it and make a new pull request, I will consider it.

I think you can solve the problem with split jobs.
# pseudo actions
job_large:
- name: oj-resolve
      uses: competitive-verifier/actions/oj-resolve@v2
      with:
      output-path: verify_files.json
      exclude: |
            tests
- name: Verify
      uses: competitive-verifier/actions/verify@v2

job_other:
- name: oj-resolve
      uses: competitive-verifier/actions/oj-resolve@v2
      with:
      output-path: verify_files.json
      exclude: |
            tests_convolution_mod_large
- name: Verify
      uses: competitive-verifier/actions/verify@v2

check_job:
- name: Merge results
      uses: competitive-verifier/actions/merge-result@v2

I have tried to split that test in https://github.com/Tiphereth-A/CP-lib/actions/runs/12121522762, and it seems that we can not fix this in either this repo or my CP-lib... sad.

Storage within the Action is guaranteed up to 14GB.
https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

The increased storage consumption was due to this pull request.
https://github.com/yosupo06/library-checker-problems/pull/1285

FYI I resolved this issue by https://github.com/yosupo06/library-checker-problems/issues/1293#issuecomment-2543898075

I wonder is https://github.com/yosupo06/library-checker-problems/issues/1293#issuecomment-2543891406 the main reason which causes storage limitation exceeded?

Your problem may be fixed in v3.3.0.
https://github.com/competitive-verifier/zzz_Tiphereth-A_CP-lib/actions/runs/12529018775
https://github.com/competitive-verifier/zzz_Tiphereth-A_CP-lib/actions/runs/12529093753

@Tiphereth-A
Your problem may be fixed in v3.3.0.
https://github.com/competitive-verifier/zzz_Tiphereth-A_CP-lib/actions/runs/12529018775/attempts/1
https://github.com/competitive-verifier/zzz_Tiphereth-A_CP-lib/actions/runs/12529018775

@Tiphereth-A Your problem may be fixed in v3.3.0.
https://github.com/competitive-verifier/zzz_Tiphereth-A_CP-lib/actions/runs/12529018775/attempts/1 https://github.com/competitive-verifier/zzz_Tiphereth-A_CP-lib/actions/runs/12529018775

Thank you!


Create blr.txt

Adding a Bangalore,India branch of silveroaks's school (blr.silveroaks.co.in).
hyd.silveroaks.co.in domain is already added which represents the Hydrabad,India Branch.
School main website: https://www.silveroaks.co.in/
School Blr website: https://www.silveroaks.co.in/home/sarjapur-bangalore/
School Hyd website: https://www.silveroaks.co.in/home/hyderabad/

@sushantgupta Pull request merged. Thank you!


Design enclosure

Need
Design housing/enclosure for Boron, OpenMV, internal lipo battery (if needed), and external solar panel/battery.
Steps

[ ] Select polycase with dimensions to fit all parts
[ ] Design placement for penetrators/cable glands on polycase
[ ] Design placement for camera and window/sun glare shield if needed
[ ] Design bracket to mount polycase and solar panel together

Some reference materials exist in related repo, such as a bracket for Voltaic panel/battery and polycase: https://github.com/COAST-Lab/Open-Water-Level/tree/main/Fabrication/Enclosure and Assembly/Voltaic-Polycase-Bracket. Note that bracket was designed for printing on Form 3 and was made shorter than might be desired given printer limitations. Designed for polycase here https://github.com/COAST-Lab/Open-Water-Level/blob/main/Fabrication/Datasheets/polycase_2d_drawings.pdf and Voltaic bracket here https://github.com/COAST-Lab/Open-Water-Level/blob/main/Fabrication/Datasheets/Voltaic_Bracket_BK102_dwg.pdf.

@ebgoldstein, I tried to assign this to @jacobstasiewicz but he's not a member of the org and I'm not an owner/don't have permissions to add new members. Could you pull him into the org?

@jacobstasiewicz, I'm looping you into this issue re: designng enclosure for the openMV+particle system
To make everyone aware, Jacob and I discussed:

we need a hole for a cable gland,  but we might not need other cuts.
3D printing a mounting system
I will design a PCB with female headers for the 2 boards to pop into

We discussed options for the camera field of view:

do we want a clear lid or solid lid?
do we want a camera dome?
do we want a hile& visor

finding or deisgn/printing a bracket connecting polycase to solar panel (https://github.com/COAST-Lab/Open-Water-Level/blob/main/Fabrication/Enclosure and Assembly/Voltaic-Polycase-Bracket/Polycase-Voltaic-Bracket v12.stl)

If this design serves as the basis for a new design for this TinyCamML project, please let me know early in the design process.
Two improvements needed to that design:

Slots for mating the solar panel bracket with the custom 3D printed bracket referenced above could be shifted a couple mm for better alignment
It'd be valuable to have material under the top mounting holes on the solar panel bracket to avoid tightening a hose clamp in the top to the extent that it pulls the top of the solar bracket flush with a tree which would result in a non-perpendicular camera angle

@jacobstasiewicz:
can you commit the design files and a draft BOM to a new folder in this repository called 'hardware' then close this issue?
I will open a range of issues related to hardware design based on our discussion today, they will all be tagged with 'enclosure' and 'enhancement'

this is done... #22 is focused on uploading files


Missing latitude and longitude

Hi,
thanks for this work.
I was trying to use your metadata.csv file and i spotted that these two records are missing latitude and longitude :

Record number 350 of locations [ ID_BE, ID, Indonesia, BE, Bengkulu, , , 1971800 ]
Record number 797 of locations [ SE_G, SE, Sweden, G, Kronoberg, , , 197040 ]

Thanks for flagging! This should be fixed momentarily


Fix entry length overwrite on encode for integers

Fixes issue #15
Signed-off-by: Robert Schulze<EMAIL_ADDRESS>

thanks!


Add working mpv snap built from upstream git

Requires --devmode, and plays back local video fine.

Please git add -f parts/plugins. The plugin is missing.

mpv/parts/plugins/__pycache__/x-waf.cpython-35.pyc is not required.

Great work!


Internal error: Password resetter [] is not defined

Larastan Version: 0.6.1
--level used: 7

Description
InvalidArgumentException

  Password resetter [] is not defined.

  at vendor/laravel/framework/src/Illuminate/Auth/Passwords/PasswordBrokerManager.php:65
    61|     {
    62|         $config = $this->getConfig($name);
    63|
    64|         if (is_null($config)) {
  > 65|             throw new InvalidArgumentException("Password resetter [{$name}] is not defined.");
    66|         }
    67|
    68|         // The password broker uses a token repository to validate tokens and send user
    69|         // password e-mails, as well as validating that password reset process as a

Laravel code where the issue was found
/** @return \Illuminate\Http\RedirectResponse|\Illuminate\Http\JsonResponse */
    public function reset(Request $request)
    {
        $response = $this->resetParent($request);

        $attorney = $this->broker()->getUser($this->credentials($request));

        if ($attorney !== null) {
            if ( ! $attorney->hasVerifiedEmail()) {
                $attorney->markEmailAsVerified();
                event(new Verified($attorney));
            }
        }

        return $response;
    }

    public function broker(): PasswordBroker
    {
        return Password::broker('attorneys');
    }

Hi,
Are you sure there is a config entry for attorneys in your auth.php config file in passwords key?

Hi, yes, here you're
'passwords'        => [
        'users'     => [
            'provider' => 'users',
            'table'    => 'password_resets',
            'expire'   => 60,
            'throttle' => 60,
        ],
        'attorneys' => [
            'provider' => 'attorneys',
            'table'    => 'attorneys_password_resets',
            'expire'   => 60,
            'throttle' => 60,
        ],

In fact the code runs oks


Codeceptjs version > 3.5.8 -  Throws DataCloneError when I.executeScript command is used with  run-workers (multiple browser parallel execution)

What are you trying to achieve?
In my application, there are several ReactJS fields for which we utilize the executeScript command to assign values. While this process functions correctly in a non-parallel execution environment, it encounters issues when executed in parallel.
**Note: this works fine with codeceptjs versions lesser than 3.5.8 (Example, with 3.5.6 this error does not occur).
Command to run the test
npx codeceptjs run-workers 2 profile1 --verbose
**
What do you get instead?

Provide console output if related. Use --verbose mode for more details.

Error processing test.after event:
DataCloneError: function (name, func, attachToElement = false, proto, instances) {
            const customCommand = typeof com...<omitted>... } could not be cloned.
    at new DOMException (node:internal/per_context/domexception:53:5)
    at sendToParentThread (E:\Codeceptjs_pipeline\parenttrigger\node_modules\codeceptjs\lib\command\workers\runTests.js:282:14)
    at EventEmitter.<anonymous> (E:\Codeceptjs_pipeline\parenttrigger\node_modules\codeceptjs\lib\command\workers\runTests.js:227:49)
    at EventEmitter.emit (node:events:530:35)
    at EventEmitter.emit (node:domain:488:12)
    at Object.emit (E:\Codeceptjs_pipeline\parenttrigger\node_modules\codeceptjs\lib\event.js:149:28)
    at E:\Codeceptjs_pipeline\parenttrigger\node_modules\codeceptjs\lib\scenario.js:182:11
    at injectHook (E:\Codeceptjs_pipeline\parenttrigger\node_modules\codeceptjs\lib\scenario.js:10:5)
    at module.exports.teardown (E:\Codeceptjs_pipeline\parenttrigger\node_modules\codeceptjs\lib\scenario.js:180:10)
    at Context.<anonymous> (E:\Codeceptjs_pipeline\parenttrigger\node_modules\codeceptjs\lib\ui.js:114:66)

Provide test source code if related

Feature('CodeceptJS test');

const{I} = inject();

Scenario('test something', async () => {
  await I.amOnPage('/react/demos/?_gl=1*1lz342q*_ga*MTY3MTc2MDgxLjE3MDY2ODgzOTg.*_ga_41J4HFMX1J*MTcwNjY4ODM5Ny4xLjAuMTcwNjY4ODM5Ny4wLjAuMA..#/bootstrap5/textboxes/default');
  await I.wait(10); // temp adding a wait
  // for versions < 3.5.8 use helper to locate the element
  const element = await I.grabWebElements({id: 'textbox_2'})
  // set the value in react text field
  await I.executeScript((element, value) => {
    const valueSetter = Object.getOwnPropertyDescriptor(element, 'value').set;
    const prototype = Object.getPrototypeOf(element);
    const prototypeValueSetter = Object.getOwnPropertyDescriptor(prototype, 'value').set;
    if (valueSetter && valueSetter !== prototypeValueSetter) {
        prototypeValueSetter.call(element, value);
    } else {
        valueSetter.call(element, value);
    }
    element.dispatchEvent(new Event('input', { bubbles: true }));
  }, element[0], 'test');
})

Details

CodeceptJS version:  v3.5.12
NodeJS Version: 20.11.0
Operating System: Windows 11 10.0.22631 and MacOS
puppeteer || webdriverio || testcafe version (if related) : "webdriverio": "^8.29.1"
Configuration file:

const { setHeadlessWhen, setCommonPlugins } = require('@codeceptjs/configure');
// turn on headless mode when running with HEADLESS=true environment variable
// export HEADLESS=true && npx codeceptjs run
setHeadlessWhen(process.env.HEADLESS);

// enable all common plugins https://github.com/codeceptjs/configure#setcommonplugins
setCommonPlugins();

/** @type {CodeceptJS.MainConfig} */
exports.config = {
   tests: './test.js',
  output: './output',
  helpers: {
    WebDriver: {
      host: 'localhost',
      port: 4444,
      url: 'https://ej2.syncfusion.com/',
      browser: 'MicrosoftEdge',
      windowSize: 'maximize',
      restart: true,
    }
  },
  multiple: {
    profile1: {
      browsers: [
        {
          browser: "MicrosoftEdge",
        },
        {
          browser: "chrome",
        }
      ]
    }
  },
  include: {
    I: './steps_file.js'
  },
  fullPromiseBased: true,
  name: 'parenttrigger'
}

@kobenguyent  @DavertMik could you pls help with this issue?

Hello @kobenguyent .. Would you be able to help with this issue?

any update on the issue, we are also facing the same problem.

We were also facing the same issue. We've found the fix and are raising the PR.


deploy onto new network

When i run
forge script --broadcast --rpc-url https://evm-rpc-arctic-1.sei-apis.com/ --private-key <PRIVATE_KEY> --verify script/DeployPermit2.s.sol:DeployPermit2

It errors out with
[⠊] Compiling...
[⠒] Compiling 1 files with 0.8.17Compiler run successful!
[⠢] Compiling 1 files with 0.8.17
[⠆] Solc 0.8.17 finished in 7.42s
Traces:
  [2120457] → new DeployPermit2@0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519
    └─ ← 10421 bytes of code

  [147] DeployPermit2::setUp()
    └─ ← ()

  [9079256848778899849] DeployPermit2::run()
    ├─ [0] VM::startBroadcast()
    │   └─ ← ()
    ├─ [0] → new <unknown>@0x8a8dDbE4c64CF1857360DC25883a581933D5ca4b
    │   └─ ← 9345 bytes of code
    └─ ← EvmError: Revert

I've also tried it with a sepolia RPC but end up with the same error.  Would love some guidance on how to get past this

Have you edited the deploy script from main at all? The address its trying to deploy to isnt the canonical deploy address that I would expect.

I get the same error. I haven't made any modifications at all. Simply forge install and then forge script --broadcast etc. like below:
$ forge script --broadcast --rpc-url https://rpc-campnetwork.xyz --private-key <PK> --verify script/DeployPermit2.s.sol:DeployPermit2
[⠢] Compiling...
No files changed, compilation skipped
Traces:
  [2117050] → new DeployPermit2@0x5b73C5498c1E3b4dbA84de0F1833c4a029d90519
    └─ ← 10353 bytes of code

  [144] DeployPermit2::setUp()
    └─ ← ()

  [9079256848778920913] DeployPermit2::run()
    ├─ [0] VM::startBroadcast()
    │   └─ ← ()
    ├─ [0] → new Permit2@0x000000000022D473030F116dDEE9F6B43aC78BA3
    │   └─ ← 9152 bytes of code
    └─ ← "EvmError: Revert"

Error:
Script failed.

Permit2 should be already in that chain.


[plugin] add drift voter plugin

My previous PR was too deep in merge hell. I cherry picked each commit from it onto main.

finalllyyyy


Overriding dateFormat of Eloquent error

Laravel Version: 5.6.33
PHP Version: 7.2.0RC2
Database Driver & Version: mysqlnd 5.0.12-dev - 20150407

Description:
When I try to change the Date Format for Eloquent (e.g. overriding protected $dateFormat = DateTime::ISO8601), I get an error
Steps To Reproduce:
Create new stock project of Laravel
composer create-project --prefer-dist laravel/laravel stockProject

Fix storage permissions (e.g. macos)
cd stockProject
chmod -R 777 storage

Create auth routes
php artisan make:auth

Migrate
php artisan migrate

Sign Up in new project site
Add to User model (App\User.php) this lines
protected $dates = [
        'created_at',
        'updated_at'
    ];
protected $dateFormat = DateTime::ISO8601;

Modify /routes/web.php for simplify getting all users from DB (sorry for my bad english)
Route::get('/users', function() {
    $users = User::get();
    $array = $users->toArray();
    return response()->json($array);
});

In browser try to open /users end-point -> getting error

Try to register new user -> error

The $dateFormat property determines how date attributes are stored in the database.
Use $casts instead:
protected $casts = [
    'created_at' => 'datetime:'.\DateTime::ISO8601,
    'updated_at' => 'datetime:'.\DateTime::ISO8601,
];

It's work on stock project
User.php model
protected $casts = [
        'created_at' => 'datetime:Y-m-d\TH:i:s',
        'updated_at' => 'datetime:Y-m-d\TH:i:s'
    ];

but not working in another, more extended project / model
Order.php model
protected $casts = [
        'created_at' => 'datetime:'.DateTime::ISO8601,
        'date_create' => 'datetime:'.DateTime::ISO8601,
        'updated_at' => 'datetime:'.DateTime::ISO8601,
        'work_start_date' => 'datetime:'.DateTime::ISO8601,
    ];

web.php routes
Route::get('/orders', function() {
    $orders = Order::get();
    $array = $orders->toArray();
    return response()->json($array);
});

What can influence the date conversion? What am I doing wrong? Differences from the stock project only that in the extended model there are relationships...

Find a solution here https://github.com/laravel/framework/pull/20404
I hope this helps someone.


Use brew bump-formula-pr

https://github.com/Homebrew/brew/blob/master/Library/Homebrew/dev-cmd/bump-formula-pr.rb may give you a better experience than using your own version (as we'll notice quicker if it breaks).

@MikeMcQuaid Thank you for your information. I tried to create new version with bump-formula-pr. It's very useful for me. I replace our original script to it.


EEG/iEEG suffixes are not listed in the Entities appendix

https://github.com/bids-standard/bids-specification/blob/master/src/99-appendices/04-entity-table.md

the entity entries (REQUIRED vs OPTIONAL) should be the same as they are for MEG, so we could expand the MEG columns to say something like

[meg, eeg, ieeg]
(channels)
and [meg, eeg, ieeg]
(photo coordsystem headshape)

potentially differing entities such as the space (discussed here) are not yet listed in this appendix.
for eeg and ieeg alone we would then need to add only a column for electrodes files:

[eeg, ieeg]
(electrodes)

Am I missing something? cc @robertoostenveld @choldgraf

+1 from me

I am not sure whether the two columns work: I think that the table should only contain data (i.e. channel-time-series data) and tsv files, and no json files.
coordsystem is a json (sidecar file), not a data file. It would not have key-value pairs in the file name that the corresponding data (electrodes.tsv, or MEG sensor information stored in the MEG data itself) would not have.
photo contains data, and headshape also contains data (i.e. both are experimentally measured/determined). The same goes for electrodes. But photo and electrodes do not have the same key-value pairs in their file names. E.g. photo is not (cannot be) expressed in different coordinate systems, so the space-xxx pair would not apply, whereas it could apply for headshape and electrodes.

Although I don't know the solution at this moment, I propose to make a table (e.g. google sheet) with initially all types of files in separate columns, and the same rows as here, then start adding the REQUIRED/OPTIONAL, and then check which columns end up the same and then possibly collapse them again. Or even keep them separate: this will make the table wide, but ensures that each file type can be found.
Let me just make a quick start: see the table here.

Thanks for getting started on the table @robertoostenveld, this is much cleaner compared to what I proposed. I made a few comments and will add some work later.
As an additional enhancement it might be good if we turn each row of the first column into links, so that people can directly jump to the description of e.g., proc or ce

... it might be good if we turn each row of the first column into links, so that people can directly jump to the description of e.g., proc or ce

That would indeed be nice. I find myself spending a lot of time searching for these details.  It would require an (invisible) anchor to be added to the text sections. At the end of this page there are some suggestions for anchors in text (as opposed to headings, where they are automatically made)

I was actually only thinking about linking to the nearest heading, but the anchor idea is much better. Let's implement that once we update the entity table with our draft from your google doc