Add type hintings to fields inside dataclasses

Checklist
GitHub

[x] I've given this PR a concise, self-descriptive, and meaningful title
[x] I've linked relevant issues in the PR body
[x] I've applied the relevant labels to this PR
[x] I've assigned a reviewer

PR contents

[x] I've consulted ivadomed's internal developer documentation to ensure my contribution is in line with any relevant design decisions
[ ] I've added relevant tests for my contribution
[ ] I've updated the relevant documentation for my changes, including argparse descriptions, docstrings, and ReadTheDocs tutorial pages

Description

This PR aims to add type hinting to all fields inside dataclasses in keywords.py.
Linked issues

Resolve #1108

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

149 of 149 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.056%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4658

Relevant Lines:
5892

💛  - Coveralls


feat: Addition of releaseDrafter

Fixes #968
Refers #969

@leecalcote Let's move ahead with this & finalise about the labelling in today or Monday's meeting.

I think this is going to be really helpful.

@Saim-Safdar, @rav121 and @shivaylamba, we'll leave this PR open awaiting your comments, through after tomorrow's community call, merging afterwards if no comments otherwise.


LEAN-3014: add affiliations_list & contributors_list back

@hhusban  please note that I added these back because old documents with affiliation_list & contributor_list won't work.

Let's not merge this unless it's absolutely necessary. If LEAN-3030 gets merged, I don't think this will be needed.

If we're clearing all old submissions after Hashem's update, then yes we don't need to merge this.

@mnatsheh just a few things i noticed when i tried Zax:
1- It publishes the branch, then merges it into master. I'm not sure if that's done on purpose or not. Should we publish master after its done merging?
2- I did a minor release for this branch, and all other repos that have transformer as a dependency were published with a minor release as well. Shouldn't it be just a patch for other repos?

No longer needed.


[[FEAT]] Implement preferconst option

Do you think the preferconst name is ok?
#2459

i like this rule alot.

Do you think the preferconst name is ok?

I think its a good name

I've thought about this for a bit and I think it looks good.
I had one minor concern ;-
let [a, b] = [1,2]; // warns about `b`
a++;

The above code, espescially with more complex destructuring you might not want to prefer a const in.
But after thinking a bit, I think it's fine, because the case is not going to be that common and b) you could argue it makes the code clearer to extract all the destructured variables as const and then put into a new mutated variable if you need one (and defaults can be handled in the destructuring).

let [a, b] = [1,2]; // warns about `b`
a++;

I think JSHint shouldn't warn at all or it should warn if both a and b should be const


Review updates: reviewer consensus: disagree behaviour

This issue covers the behaviour that should happen when someone disagrees with a review.
Acceptance criteria

[ ] On clicking the Disagree button your opinion will be recorded and you will be redirected to complete a new review (the normal add review form e.g. https://dev-apply.opentech.fund/apply/submissions/1/review/)

QA criteria
Dev:

[x] checked feature meets acceptance criteria/conforms exactly to the specification.
[x] provided good unit test coverage (if this is non-trivial behaviour).
[ ] checked all tests for the project pass with this feature enabled.
[x] checked code conforms to the project coding standards.
[ ] had code reviewed by another developer and resolved any issues raised.
[ ] tested this feature as an end user of the website/app (Can I get to it? Is it useable? Can I break it? Does it work in an end-to-end context?)
[ ] checked that this feature works on the server/s I am deploying it to.

QA:

[ ] tested this feature as a front end user and it meets the acceptance criteria/conforms to the specification and design.
[ ] checked that the feature works on the server/s deployed to

@todd-dembrey, this is ready for review https://github.com/OpenTechFund/opentech.fund/pull/1045

Something in the latest deployment has removed the functionality of the opposite opinion button being disabled once an opinion has been made. E.g. if you agree with a review then the agree button is then disabled and you can only disagree with that review.
I am also getting a 500 error when disagreeing with a review. Using https://dev-apply.opentech.fund/apply/submissions/5/reviews/10/.

Fixed the issue with the 500 - back to you

LGTM. @todd-dembrey leaving with you for failing test. Happy fr this to be deployed to staging after that.

Test fixed

Hi @fourthletter, @danblah, @arduina,
This work is now ready for testing. This work follows on from #960, with some additional behaviour when you disagree with a review.
Please test this against the acceptance criteria noted in the initial issue description.
Please let us know if anything is unclear or if you have any questions. Otherwise please provide feedback of any issues you find or if everything is working as expected, please confirm and we can get this work deployed to the live site and issue closed off.
Thanks,
Maya

Acceptance criteria was functional during test. Thanks!

Great, thanks @fourthletter. Moving to @todd-dembrey ready for deployment to live.


Moved method getSubscriptions to PaymentMethod interface

By having getSubscriptions method in the interfacet, it is possible to get all subscriptions of a user easily instead of having to cast for each and every payment method implementation.

Is there a particular use case for this? Unless there is a lot of value, we typically shy away from adding short hand methods. Can you give us an example of where you are using this and what it looks like without it?

I found this a bit confusing but then I realized my own frustration with it a while back.
Psuedo code - New Way:
List<Subscriptions> subs =  new List<Subscriptions>();
List<PaymentMethods>  paymentmethods = Customer.paymentMethods;
foreach (PaymentMethod p in paymentMethods){
    subs.add(p.getSubscriptions);
}

Psuedo code - oldway Way:
List<Subscriptions> subs =  new List<Subscriptions>();
List<CreditCards>  cards = Customer.creditcards;
foreach (CreditCard p in cards){
    subs.add(p.getSubscriptions);
}
List<PaypalAccount>  pp = Customer.paypalaccounts;
foreach (PaypalAccount p in pp){
    subs.add(p.getSubscriptions);
}
...

Exactly, the new way certainly helps in fetching customer subscriptions from all payment methods even when some payment methods get added or removed.

@omgrr The use case is that we want to show all the subscriptions of a customer across all the payment methods. This functionality is available on the braintree control panel as well.
As @matthewarkin mentioned in his comment, if the getSubscriptions method is not present in the PaymentMethod interface, then we will have to get them from each and every payment method which means a lot of code and we will have to modify our code everytime a new payment method is added or some existing one is removed.

Sorry for the slow response. We talked it over internally and I think we're with you that this makes sense. We just need to add some tests around it and will let you know if we have any questions or news.

@singhalkul This has been included in the 2.60.0 release. Thank you for contributing!


Bump Elixir to 1.3.2

Quick bump up to version 1.3.2

I appreciate you making this change but making the code change hasn't been what's kept me from upgrading this. I lost my access to a Windows box where I could test the change--which is why I haven't made the code change yet.  Did you test this change to insure it works correctly?  Also, I think there's a new requirement to include a checksum and I need to check that too.
Just let me know if you tested this; I can pull it any time but I won't push this to CNG unless it's tested.

I did a quick test, and the correct version of Elixir seemed to have installed.  My app seems to be running as well.  Was there anything specific you wanted tested?
It doesn't look like checksum is required yet for https.  Let me know if you want this anyway and I will try to add it to the PR

Hi Michael,
Thanks for this.  I'll merge the pull request but getting the version of the CNG package for 1.3.2 is not quite that simple.  It's still going to take me a little while to get it up there (assuming the checksum is no issue).


Integrated displays on iMac does not report X resolutions

Describe the bug
On iMac, the module is reporting a Y resolution but not an X resolution.
To Reproduce
Steps to reproduce the behavior:

use the graphics module to retrieve displays

Current Output
The integrated screen is reported as such:
{
    "vendor": "Apple",
    "model": "iMac",
    "deviceName": "",
    "main": true,
    "builtin": true,
    "connection": "Internal",
    "sizeX": null,
    "sizeY": null,
    "pixelDepth": 30,
    "resolutionX": null,
    "resolutionY": 2880,
    "currentResX": null,
    "currentResY": 2880,
    "positionX": 0,
    "positionY": 0,
    "currentRefreshRate": null
  }

It's missing resolutionX and currentResX.
Expected behavior
We should have a resolutionX of 5120, as specified by Apple
Environment (please complete the following information):

systeminformation package version: reproduced on 5.7.6
OS: macOS Big Sur 11.4
Hardware: iMac 19,1

Additional context:

Output of system_profiler SPDisplaysDataType:

Graphics/Displays:

   Radeon Pro 575X:

     Chipset Model: Radeon Pro 575X
     Type: GPU
     Bus: PCIe
     PCIe Lane Width: x16
     VRAM (Total): 4 GB
     Vendor: AMD (0x1002)
     Device ID: 0x67df
     Revision ID: 0x00c4
     ROM Revision: 113-D0008A-042
     VBIOS Version: 113-D0008A14GP-003
     EFI Driver Version: 01.B1.042
     Metal Family: Supported, Metal GPUFamily macOS 2
     Displays:
       iMac:
         Display Type: Built-In Retina LCD
         Resolution: Retina 5K (5120 x 2880)
         Framebuffer Depth: 30-Bit Color (ARGB2101010)
         Main Display: Yes
         Mirror: Off
         Online: Yes
         Automatically Adjust Brightness: Yes
         Connection Type: Internal
       LG FULL HD:
         Resolution: 1080 x 1920
         UI Looks like: 1080 x 1920 @ 60.00Hz
         Framebuffer Depth: 30-Bit Color (ARGB2101010)
         Display Serial Number:
         Mirror: Off
         Online: Yes
         Rotation: 270
         Automatically Adjust Brightness: Yes
         Connection Type: DVI or HDMI
         Adapter Firmware Version: 7,55

@leonekmi will have a look on this tonight! Thank you for reporting!

@leonekmi should work now. Version 5.7.7 just released. Can you check it on your side?

The resolutions are now reported correctly, awesome! Thanks for the quick reply. :+1:


Update vpnv2-profile-xsd.md

"MachineMethod>Eap</MachineMethod" should’t be in the example, because

MachineMethod can only be Certificate
------ see https://docs.microsoft.com/en-gb/windows/client-management/mdm/vpnv2-csp
........................VPNv2/ProfileName/NativeProfile/Authentication/MachineMethod
This is only supported in IKEv2.
This value can be one of the following:
•	Certificate

A profile conatins either UserMethod or MachineMethod but not both

@Dansimp The PR that has been approved by the document author can be merged. Thanks.


Update Makefile : clean raygui.c & physac.c

should close #3288
Only tested under Linux

@SuperUserNameMan Thanks for the improvement, I'm merging it but it requires more testing...


how to Export  the Specific php request  metrics in Prometheus format?

how to Export  the Specific php request  metrics in Prometheus format?

What do you mean by specific PHP metrics? Userland code can use https://github.com/Jimdo/prometheus_client_php

@xuanskyer I use statsd inside PHP apps and use https://github.com/prometheus/statsd_exporter


Add Multiple isStart Nodes.

I want to add multiple isStart and connect that node to any of the node. How do i achieve that? Any help here is appreciated.

I want to add multiple isStart and connect that node to any of the node. How do i achieve that? Any help here is appreciated.

Currently only one start node is supported.


Bamboo version bump to v8.2.8 and K8s manifest default tag set to v2023.04

This version allows us to take advantage of new features since v8.1.7 and security fixes

As a PR code reviewer, I suggest the following improvements:

Provide more details in the commit message, such as the specific new features and security fixes that are being taken advantage of.

Consider using a more descriptive tag name instead of just the date, such as "v8.2.8-security-fixes".

Consider using a private container registry instead of a public one for increased security.

Consider adding resource limits to the containers to prevent resource exhaustion.

Consider adding liveness and readiness probes to the containers for improved reliability.

Consider using environment variables instead of hardcoding values in the YAML files for increased flexibility.

Consider using a YAML linter to ensure the syntax is correct and consistent.

As a PR code reviewer, I suggest the following improvements:

Provide a more detailed description of the changes made in the commit message. For example, mention specific new features and security fixes that are being taken advantage of.

Consider adding a comment in the kustomization.yml file explaining why the default tag was changed to v2023.04.

Consider adding a comment in the statefulset.yml file explaining why the image tag was changed to v2023.04.

Consider adding a security scan step in the CI/CD pipeline to ensure that the new version of Bamboo is free of vulnerabilities.

Consider using a private Docker registry instead of docker.io to ensure better security and control over the images being used.

Overall, the changes seem reasonable and necessary. Here are some suggestions for concise code improvements:

In the Dockerfile, instead of hardcoding the version number, use a variable for the latest version of Bamboo:

ENV LATEST_BAMBOO_VERSION=8.2.8
ENV BB_PKG_NAME atlassian-bamboo-${BAMBOO_VERSION:-$LATEST_BAMBOO_VERSION}

This way, you only need to update the LATEST_BAMBOO_VERSION variable when a new version is released.

In the kustomization.yml file, use a variable for the image name:

images:
- name: bamboo
  newName: docker.io/saidsef/atlassian-bamboo-cicd
  newTag: ${BAMBOO_IMAGE_TAG:-v2023.04}

This way, you can easily override the image tag with a different value by setting the BAMBOO_IMAGE_TAG environment variable.

In the statefulset.yml file, use a variable for the image name and tag:

spec:
  containers:
  - name: bamboo
    image: ${BAMBOO_IMAGE_NAME:-docker.io/saidsef/atlassian-bamboo-cicd}:${BAMBOO_IMAGE_TAG:-v2023.04}
    imagePullPolicy: Always

This way, you can easily override both the image name and tag with different values by setting the BAMBOO_IMAGE_NAME and BAMBOO_IMAGE_TAG environment variables.


FEAT: Making a global book pdf

A book pdf of all the chapters is compiled using a separate template file latex_book.tpl
The new configuration variables needed are:-
# make book
jupyter_pdf_book = True

# book title
jupyter_pdf_book_title = "Quantitative Economics with Julia"

# pdf book name
jupyter_pdf_book_name = "quantitative_economics_with_julia"

# pdf index file which contain all the names of parts and chapters
jupyter_pdf_book_index = "index_toc"

The template file to use for latex compilation is specified in the pdf target of the Makefile as jupyter_latex_template_book="latex_book.tpl"
The generated book can be found in the texbook directory inside _build/jupyterpdf with the name specified in jupyter_pdf_book_name variable above.
jupyter_pdf_book variable is present only to turn on/off this feature.

hey @arnavs I have updated sphinxcontrib-jupyter=0.5.2 which includes support for this PR through PyPI. Would you mind testing on your end before we merge this PR? You will need texlive / xelatex but I think you have tested pdf production before.

Thanks @mmcky, will give this a go today (Canada time) and report back.

Could be a macOS thing, but I ran this on my laptop and saw some font-related warnings like the following. Will keep you posted on how the book turns out/give it a go on Linux as well, and see if the warnings go away.
WARNING: xelatex exited with returncode 1 , encounterd in discrete_dp with error -- b"kpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono/BI', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono/B', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono/I', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono/BI', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono/B', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono/I', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif/BI', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif/B', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif/I', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `Liberation Mono', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\nkpathsea:make_tex: Invalid filename `CMU Serif', contains ' '\n"

thanks @arnavs - @AakashGfude and I will take a look at this also. For the CMU Serif we had to apply
https://tex.stackexchange.com/questions/224296/spaces-in-font-names?noredirect=1&lq=1
on linux to get the lexlive fonts into the system fonts cache

@arnavs I actually get the same message on os x. Its becuase Liberation Mono isn't included. https://en.wikipedia.org/wiki/Liberation_fonts. I haven't found a fix yet - but the above suggestion linking to texlive may solve the issue.

@arnavs I will start a clone of the build instance and compile this branch today.

@mmcky Sounds good. I couldn't get the StackExchange thing to work, but so long as it works on your end I think that's enough.

@AakashGfude let me know if you don't have time to compare the tpl with python and I will take a quick look. Thanks.

@mmcky , going through this at the moment. the tpl is the same as python. Latex behaves in weird ways. Just trying to find the error in tpl.

Oh ok - thanks @AakashGfude!


Add new first screen to config wizard

The current first screen has a mix of general fields and source data fields. This feature would split them into two screens: Details and Source.
Details (first step):

Mass Action Configuration Name
Mass Action Configuration Unique Name
Description
Batch Size (currently only in Quick Edit action)
Active (currently only in Quick Edit action)

Choose Source (second step):

Source Type
Report / List View inputs

The other steps remain unchanged (Choose Action, Field Mappings, Schedule)

Fixed in develop branch for future release.


PUT to https://smba.trafficmanager.net/amer/v3/conversations/ failed with [405] Method Not Allowed

We are using bot builder to send messages and after user's action we need to update the card.
This call to update the card fails
    session.connector.update(msg.toMessage(), (err) => {
          //logging here
   })

Here is the error:
message: PUT to 'https://smba.trafficmanager.net/amer/v3/conversations/{someID}/activities' failed: [405] Method Not Allowed
stack:
Error: PUT to 'https://smba.trafficmanager.net/amer/v3/conversations/{someID}/activities' failed: [405] Method Not Allowed
at Request._callback (/usr/src/app/node_modules/botbuilder/lib/bots/ChatConnector.js:722:46)
at Request.self.callback (/usr/src/app/node_modules/request/request.js:185:22)
at Request.emit (events.js:400:28)
at Request. (/usr/src/app/node_modules/request/request.js:1154:10)
at Request.emit (events.js:400:28)
at IncomingMessage. (/usr/src/app/node_modules/request/request.js:1076:12)
at /usr/src/app/node_modules/dd-trace/packages/dd-trace/src/scope/base.js:54:19
at Scope._activate (/usr/src/app/node_modules/dd-trace/packages/dd-trace/src/scope/async_resource.js:47:14)
at Scope.activate (/usr/src/app/node_modules/dd-trace/packages/dd-trace/src/scope/base.js:12:19)
Here are the botbuilder versions that we use:
"botbuilder": "^3.30.0",
"botbuilder-teams": "^0.2.9",

To Reproduce
Steps to reproduce the behavior:

Successfully creating a card
Call session.connector.update
See the error 405 not allowed

Expected behavior
To update the card without error

Hi @aniproof Can you confirm that this is still reproducible at this time?

Closing due to lack of response.


AttributeError: module 'yoyodyne.models' has no attribute 'BaseEncoderDecoder'

Error in predict.py at line 160: models.BaseEncoderDecoder.add_predict_argparse_args(parser)
I think it should be the 'BaseModel' class from 'yoyodyne.models.base' instead.

Thanks for the report. This is handled in the (mostly unrelated) and pending #266, with the solution you recommend, but if you have a moment feel free to issue the one-line PR to fix it now.

Closed in #271.


Swiper issue with ngFor

Swiper Version: 6.6.1
Platform/Target and Browser Versions: CHROME.

When updating array reference on add new items swiper go to the last slide at the last page.

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.


flutter run fails with iOS 10 devices

Steps to Reproduce
In the hello_world sample:
flutter run

Results in the following console output:
Exception from flutter run: SocketException: OS Error: Connection refused, errno = 61, address = <IP_ADDRESS>, port = 49582

The underlying issue appears to be a change to the log format.
With an iOS 10 device I see:
Sep 23 15:52:02 cbracken-iPhone Runner(libsystem_asl.dylib)[6166] <Info>: Observatory listening on http://<IP_ADDRESS>:54951

We currently scrape logs with the following regex:
Runner\[[\d]+\] <[A-Za-z]+>:

Good find. Thanks for testing this!

Fixed by #6028


Identity Manager Direction (Question)

Hi Brock,
Just wanted to clarify your direction for Identity Manager. I used it a while back just for the IdentityManagerService, using it to abstract out my Identity store to modern standards. Recently however I notice you've added a dependency to OWIN and, from recent issues, that you might expose an API.
So the question is: are you going solely down the OWIN/Katana middleware route, or can I safely take advantage of your IdentityManagerService implementations in my business logic?
Thanks! (P.S. Identity Manager blog post is on its way...)

IdentityManager is not the same as MembershipReboot. IdMgr is simply a UI tool that can access your identity management library. In fact, IdMgr abstracts the identity management library and we have plugins for MembershipReboot and ASP.NET Identity. You could build others.

Yeah, I was using it to abstract out ASP.NET Identity. In fact I was using your IdentityManagerService implementation without the UI. Why reinvent the wheel and make my own abstraction layer when you've already nailed it.
If the focus of IdentityManager is on offering a Katana middleware based API and/or UI tool, then that doesn't really belong deep down in business logic and I should probably bite the bullet and abstract out my identity management library myself.

Yes, that sounds like the right approach.


Glow Issue & Cfg Reset (Anti Aim) Issue

https://github.com/danielkrupinski/Osiris/blob/cb131733f811bc3e95cae823a272b55db429ed60/Osiris/Hacks/Glow.cpp#L96
Something is wrong here for sure, not working as expected.

What is the expected behavior and what do you observe?

    auto applyPlayerGlow = [applyGlow](const std::string& name, Entity* entity) noexcept {
        const auto& cfg = playerGlowConfig[name];
        if (cfg.all.enabled)
            applyGlow(cfg.all, entity->health());
        else if (cfg.visible.enabled && entity->visibleTo(localPlayer.get()))
            applyGlow(cfg.visible, entity->health());
        else if (cfg.occluded.enabled)
            applyGlow(cfg.occluded, entity->health());
    };

When only cfg.occluded.enabled is true, there are no occlusion tests performed and the enemies appears through walls while they shouldn't.

    auto applyPlayerGlow = [applyGlow](const std::string& name, Entity* entity) noexcept {
        const auto& cfg = playerGlowConfig[name];
        if (cfg.all.enabled)
            applyGlow(cfg.all, entity->health());
        else if (cfg.visible.enabled && entity->visibleTo(localPlayer.get()))
            applyGlow(cfg.visible, entity->health());
        else if (cfg.occluded.enabled)
            applyGlow(cfg.occluded, entity->health());
    };

When only cfg.occluded.enabled is true, there are no occlusion tests performed and the enemies appears through walls while they shouldn't.

Fixed


Remove "Remove Resource Card" link from the settings card.

The option to "Remove Resource Card" needs to be removed from the settings card.

Not seeing the Remove Resource Card link from the setting card related to any type of resource card in v0.2.0 build cbad9c9

v0.9.0 build ab13659
Not seeing "Remove Resource card" link in the settings card.


Schedules broadcast on no competitions started doubles after reloading

Seen since Version 1.1.3
part of config.yml
competitions:

  # When should competitions run?
  # It will use server's local timezone using a 24hour time format
  times:
    - "12:00" # midday

i had added 12:12 because i wanne test the competitions scheduler
5 player are needed in config, im alone so i should get a meassage it does not start.

To reproduce simply set minimum-players to 2 or more (when your alone) set a time that might be in 2-3 minutes from actual time and reload the plugin by its command /emf admin reload. Now wait for the time to come.

Result - you will see the competitions has not started meassage twice

now change to time to 2-3 minutes alter and reload aggain and wait aggain

Result - you will see the competitions has not started meassage tree times

and so on...

Fixed in #20


Bug: Invalid regular expression

I love this plugin and how powerful it is. For some reason lately I've noticed that I am receiving an error which prevents me from restarting/starting the server though.
 ERROR  Cannot start nuxt:  Invalid regular expression: /^(|-)*([A-Za-z]+:)+[/: Unterminated character class                                                                                10:24:31 AM
Occurred while linting /Users/jimmiejackson/Documents/repositories/test/components/common/Header.vue:113
Rule: "@kalimahapps/tailwind/sort"

  Occurred while linting components/common/Header.vue:113
  Rule: "@kalimahapps/tailwind/sort"
  at formatError (node_modules/vite/dist/node/chunks/dep-df561101.js:43993:46)
  at Context.error (node_modules/vite/dist/node/chunks/dep-df561101.js:43989:19)
  at Context.buildStart (node_modules/vite-plugin-eslint/dist/index.mjs:1:1766)
  at async Promise.all (index 8)
  at async hookParallel (node_modules/vite/dist/node/chunks/dep-df561101.js:43858:9)
  at async Object.buildStart (node_modules/vite/dist/node/chunks/dep-df561101.js:44182:13)
  at async node_modules/vite/dist/node/chunks/dep-df561101.js:65230:13
  at async _createServer (node_modules/vite/dist/node/chunks/dep-df561101.js:65260:9)
  at async buildClient (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.d6a45f81.mjs:582:24)
  at async bundle (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.d6a45f81.mjs:1461:3)

What might cause this issue?

Can you please provide a sample code? My guess is that you are using a class with a special character  which is breaking the regex.

Sure thing. It appears to be coming from somewhere in this component:
<template>

          <IconLogo class="h-14 w-auto" />

          <button
            type="button"
            class="hs-collapse-toggle p-2 inline-flex justify-center items-center gap-2 rounded-md border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-white focus:ring-blue-600 transition-all text-sm dark:bg-slate-900 dark:hover:bg-slate-800 dark:border-gray-700 dark:text-gray-400 dark:hover:text-white dark:focus:ring-offset-gray-800"
            data-hs-collapse="#navbar-with-mega-menu"
            aria-controls="navbar-with-mega-menu"
            aria-label="Toggle navigation">
            <svg
              class="hs-collapse-open:hidden w-4 h-4"
              width="16"
              height="16"
              fill="currentColor"
              viewBox="0 0 16 16">
              <path
                fill-rule="evenodd"
                d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z" />
            </svg>
            <svg
              class="hs-collapse-open:block hidden w-4 h-4"
              width="16"
              height="16"
              fill="currentColor"
              viewBox="0 0 16 16">
              <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z" />
            </svg>
          </button>

            <nuxt-link
              v-if="!link.subLinks.length"
              :to="link.href"
              class="nav-link"
              active-class="nav-link-active">
              {{ link.name }}
            </nuxt-link>

              <nuxt-link
                :to="link.href"
                class="nav-link"
                active-class="nav-link-active">
                {{ link.name }}
                <ChevronDownIcon
                  v-if="link.subLinks.length"
                  class="h-5 w-5 text-light-gray" />
              </nuxt-link>

                <nuxt-link
                  v-for="sublink in link.subLinks"
                  :key="sublink.name"
                  :to="sublink.href"
                  class="nav-sublink">
                  {{ sublink.name }}
                </nuxt-link>

</template>

I am using Preline UI, which uses what might be classes unique to Preline such as [--trigger:hover] or [--strategy:static].

Thanks.
It is is fixed now. You can upgrade the plugin.

Fantastic, that seems to have worked. Thanks so much for the quick fix!

No problem.


This is the best spicy chicken

This is the best spicy chicken you will ever taste, if done correctly.
Gouchujang is life.

Important question that comes to mind:  Is this copyrighted from somewhere else?
(common thing to wonder when accepting contributions...)


Metadata-AsyncResultLocator#complete() no being called after successful operation

Metadata-AsyncResultLocator#complete() is not being after custom field has been successfully created.
 conn.metadata.create('CustomField', customFields).complete(err, res) {
console.log("I will be never called");
}

If I check the status with metadata.checkStatus I can clearly see that all the operations have been finished successfully.

totally unrelated but grasping at straws here, there's no documentation on how to create custom fields. The only reference on google is this ticket with the example code above, can anyone help me figure this out? I'm trying to create a customer object and then create custom fields within it.
Thanks,

This took me a day to figure out.   This is a very cool module!   But some documentation here would be helpful.
http://stackoverflow.com/questions/34961032/how-to-add-customfields-in-salesforce-object-using-jsforce-module-using-the-m/36961852#36961852

@muchavie The custom fields are created using 'CustomField' metadata type, not 'CustomObject'. The document is to be official Salesforce Metadata API document as JSforce metadata simply wraps it.

The only way I've been able to create new custom fields is via create CustomObject with a fields: element.    I get errors that look like this:
soapenv:Client: Element {http://soap.sforce.com/2006/04/metadata}type invalid at this location in type Picklist
From ...
let newPicklist = {
          type: 'Picklist',
      fullName: 'Hunting_with_Dogs__c',
   description: 'Subjective Hunting Performance Measure',
    externalId: 'false',
         label: 'Hunting with Dogs',
      picklist:  {
                 sorted: 'false',
         picklistValues:
        [   { default: 'true',  fullName: '0 - No Data' },
            { default: 'false', fullName: '1 - Attacks dogs' },
            { default: 'false', fullName: '2 -' },
             { default: 'false', fullName: '3 - Attacks some dogs but not others' },
            { default: 'false', fullName: '4 -' },
            { default: 'false', fullName: '5 - Has never attacked even a small dog chasing a rabbit' } ],
         trackTrending: 'false'
    }

};
let newField = {
      fullName: 'Hawk__c.dogs__c',
          label: 'Hunting with Dogs',
           type: 'Picklist',
       picklist: newPicklist,
    description: 'Subjective Hunting Performance Measure',
inlineHelpText: 'Subjectinve measure of how well this bird hunts with dogs.',
};

In any case examples would be appreciated.  I suspect some people might give up on this interface because they aren't successful at creating fields.

Ah!  Got 'CustomField' to work!
let newField = {
      fullName: 'Hawk__c.Hunting_with_Dogs__c',
          type: 'Picklist',
   description: 'Subjective Hunting Performance Measure',
     externalId: 'false',
          label: 'Hunting with Dogs',
        picklist:  {
                 sorted: 'false',
         picklistValues:
       [     { default: 'true',  fullName: '0 - No Data' },
             { default: 'false', fullName: '1 - Attacks dogs' },
             { default: 'false', fullName: '2 -' },
             { default: 'false', fullName: '3 - Attacks some dogs but not others' },
             { default: 'false', fullName: '4 -' },
             { default: 'false', fullName: '5 - Has never attacked even a small dog chasing a rabbit' } ]
      }
};

....
c.metadata.create('CustomField', newField, function(err, result) {
`


Investigate/fix AWS data transfer price warnings

INFRACOST_LOG_LEVEL=warn go test ./internal/providers/terraform/aws/data_transfer_test.go -v

=== RUN   TestDataTransferGoldenFile
=== PAUSE TestDataTransferGoldenFile
=== CONT  TestDataTransferGoldenFile
    tftest.go:274: Couldn't copy terraform init cache from /Users/ali/src/infracost/infracost/.test_cache/terraform_init
time="2021-05-24T16:25:59+01:00" level=warning msg="No products found for aws_data_transfer.ap-northeast-3 Intra-region data transfer, using 0.00"
time="2021-05-24T16:25:59+01:00" level=warning msg="No products found for aws_data_transfer.ap-northeast-3 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:25:59+01:00" level=warning msg="No products found for aws_data_transfer.ap-northeast-3 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:25:59+01:00" level=warning msg="No products found for aws_data_transfer.us-isob-east-1 Intra-region data transfer, using 0.00"
time="2021-05-24T16:25:59+01:00" level=warning msg="No products found for aws_data_transfer.us-isob-east-1 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:25:59+01:00" level=warning msg="No products found for aws_data_transfer.us-isob-east-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:25:59+01:00" level=warning msg="No products found for aws_data_transfer.us-west-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No prices found for aws_data_transfer.cn-north-1 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.cn-north-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-iso-east-1 Intra-region data transfer, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-iso-east-1 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-iso-east-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No prices found for aws_data_transfer.cn-northwest-1 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.cn-northwest-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-west-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.ap-northeast-3 Intra-region data transfer, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.ap-northeast-3 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.ap-northeast-3 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-isob-east-1 Intra-region data transfer, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-isob-east-1 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-isob-east-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-iso-east-1 Intra-region data transfer, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-iso-east-1 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.us-iso-east-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No prices found for aws_data_transfer.cn-northwest-1 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.cn-northwest-1 Outbound data transfer to other regions, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No prices found for aws_data_transfer.cn-north-1 Outbound data transfer to Internet, using 0.00"
time="2021-05-24T16:26:00+01:00" level=warning msg="No products found for aws_data_transfer.cn-north-1 Outbound data transfer to other regions, using 0.00"
--- PASS: TestDataTransferGoldenFile (21.32s)

@sinabakh can you possibly take a look at this when you get the chance? It's from the recent golden tests

@alikhajeh1 Sure, I used a script to generate all combinations for regions.

For the sake of reference, @aliscott where do we got the human-readable values of regions like: ap-northeast-3 -> Asia Pacific (Osaka-Local)

@sinabakh this has all of them I think: https://github.com/aws/aws-sdk-go/blob/main/aws/endpoints/defaults.go


HHH-18224 - standardize logging of database connection

https://hibernate.atlassian.net/browse/HHH-18224

So the other thing I would like to see here is for ProxoolMessageLogger and C3P0MessageLogger go away. I'm hoping we can get to a point where we log exactly the same sorts of info for all the various types of connection pools, at a consistent severity level, instead of logging, say, autocommit mode in one, isolation level in another, etc.
Because right now C3P0 and Proxool are extremely verbose, whereas Agroal and Hikari log almost nothing.

Do you mean as part of this improvement ?

ProxoolMessageLogger

Do you mean as part of this improvement ?

Yeah

I kinda feel that we should do this in a separate issue; this one is about 'standardizing' DB connection logging

Do you mean as part of this improvement ?

Yeah

I should have also asked, do you mean just simply quit logging all the 'extra' info that c3po/proxool now spit out, or provide some means in the DatabaseConnectionInfo interface (might have to rename if we make it more generalistic) to allow for logging extra information?

I should have also asked, do you mean just simply quit logging all the 'extra' info that c3po/proxool now spit out, or provide some means in the DatabaseConnectionInfo interface (might have to rename if we make it more generalistic) to allow for logging extra information?

The truth is I'm not sure, but remember that what's motivating all this is:

complaints that we were logging too much stuff at INFO level, leading to Quarkus doing stuff like suppressing all our log messages, and then
me realizing that the Agroal CP actually logs almost no information at all, compared to some other CPs.

So, first of all:

we want to be able to get to a place where we can tell the Quarkus folks "hey, we're only logging one message and it is really important, so please stop suppressing our INFO-level messages", and
if this is a problem in the context of Quarkus, which uses Agroal, it seems like it must be a worse problem for people using the other CPs which are even noisier.

But also to answer your question more directly: yes, I think it would be nice to include certain very generic things like:

autocommit status,
isolation level, and
pool size

in the DatabaseConnectionInfo, and log it in the "one INFO-level message" that we're permitted.
Of course, which of those things is known to use is going to depend on the CP, but that's OK.


Request for sample code to use the weighted sequential dependence model with pyndri ?

Hi, I am wondering whether it is possible to use the WSDM with pyndri ? Do you have any sample code for this use case ? Also is it possible to do parameter tuning using pyndri ?

I'm not entirely familiar with the WSD model. However, in the paper the authors note that they use Indri for initial retrieval. Indri supports unigram, bigram and unordered window matching, which are used within the WSD model.
A large part of the WSD model can probably be formulated as an Indri query. If you manage to create an example, please send a PR and we can see to get this checked in.


[ENH] Add docker setup

Closes #44
Closes #28

Adds

Dockerfile + .dockerignore to avoid data leak
docker-compose.yml for easy deploy
Makefile to

setup data submodule
make docker volume
copy data into volume for first time

Hey @surchs, thanks a lot for the PR, and sorry for the delayed review!
Since we've decided not to use Docker volumes for the dashboard data for now, I'm going to close this in favour of https://github.com/neurodatascience/us_climate_emotions_map/pull/80 (which is pretty much the same sans the volume additions). I opened a new PR instead of modifying this one so that we can refer back to this template as-is (with the nice makefile, etc.) in the case that we need to switch to volumes.
Hope that's fine!


Support for Modal with transparent background

Are there plans (or hidden functionality?) to allow modal views with transparent background?
Otherwise I might send a PR if I find the time to do it.

I think that a lightbox might provide you with this functionality.. you can remove the blur background by setting 'none' over the blur type if I'm not mistaken

Thanks. I did try it but didn't know about blur background setting to 'none'. Is the lightbox available with react-native-navigation?

yeah.. missed it in navigation. will add

Added example about the transparent lightbox for future generations https://github.com/wix/react-native-controllers/commit/12e7343eff8c9edc37d3ff532052f5f8c587c167

@adamski LightBox added to react-native-navigation https://github.com/wix/react-native-navigation/commit/fdf215fd143a362b085d0089b025ffe68db4ad03

Great thanks

Hi @talkol
LightBox doesn't behave the same way as a modal behave (slide animation etc..). Is there any chance we could apply a transparent style to a Modal in a near future?
Thanks

Hey @alexmngn

Modal is a native iOS view controller which usually includes a navigation bar, etc. IMO according to Apple's guidelines, these modals are always full screen. Since we rely on the native implementations, it means we receive the full screen implementations.
Maybe the better direction would be to add various show/hide animations to LightBox? for example the same slide-up/down we have in modal? If you agree, please open a new issue requesting more show/hide animations for LightBox and tag user artald (he implemented the native side of LightBox)

Regarding the transparent background for LightBox content. This is interesting. We want this supported. Please open a new issue for this and tag artald as before

@talkol Thanks for you answer. For the 1) though, React Native has a component called "Modal" which allows to create a modal with transparency. I'm not sure how they built this natively but, I guess it's possible!
I'll create a ticket for 2).

@alexmngn I'm familiar with 'Modal' from React Native core. It's implementation is actually very similar to our LightBox (used with blur set to 'none') and slightly different appear animation (which we can easily add).
The term 'modal' as defined by Apple describes an element that covers pretty much the entire screen and looks like our Modal.


CloudflakeChallengeError

This is the output on running the from_credentials() function in the Client class:
cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 Captcha challenge, This feature is not available in the opensource (free) version.

Duplicate of #52

@LeeTuah, you need an API key on paid services like 2captcha for automatic captcha solving.
See #52 for more information.


feat: Add max-width for messages

Particularly when used in combination with java (https://github.com/mfussenegger/nvim-jdtls), a lot of the messages are quite wide - it would be nice to truncate some of these messages so they don't display on top of the code (especially since they appear while typing, not just upon save / load).

For completeness, can you give an example of these messages?
In particular, I'd like to know whether it's the annote or the message field that is too wide.

In 09f0c91d23c3e5939f79c80be2e7bc448d3cbc7d I introduced a new option, render_message, which you can use to truncate messages as you see fit, e.g.,:
render_message = function(msg, cnt)
  msg = cnt == 1 and msg or string.format("(%dx) %s", cnt, msg)
  msg = vim.fn.strcharpart(msg, 0, 16) -- truncate to 16 characters
  return msg
end

Does this suffice? (Admittedly, it does not account for newlines, nor does it do anything about the annote part.)

It's usually the text on the left that is too long (can include URLs, etc.).
I haven't tried a custom formatter yet - I'm a little hesitant to add in-depth custom config myself...


Fix/windows

this change is to fix errors on windows 10:
selenium - chromedriver executable needs to be in PATH
https://stackoverflow.com/questions/40555930/selenium-chromedriver-executable-needs-to-be-in-path

Oooo Nice one!!


fix dockerfile not building due to PEP517 error

Tested on Ubuntu and M1 Mac.

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

Project coverage is 45.06%. Comparing base (8ae74c0) to head (72f26d9).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #106   +/-   ##
=======================================
  Coverage   45.06%   45.06%
=======================================
  Files          39       39
  Lines        1782     1782
=======================================
  Hits          803      803
  Misses        979      979

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

Commit https://github.com/HumanSignal/infra/commit/767fbf6231a669a8ffdb2749ee3af528f6ec5dfc is created.

Commit https://github.com/HumanSignal/infra/commit/8ee64c3d6082759d6e3ec4bd132576e98bf5f686 is created.

Commit https://github.com/HumanSignal/infra/commit/5d6f3b88ff752c986e69a3ec371326ce5ae042a9 is created.


App keeps running after the platform throws an error.

Hello
When the application creates a window with (0, 0) size, the console logs an error but the app keeps running and throwing more errors.

You can replicate it writing something like:
App.Run("app", 0, 0);

0,0 is invalid value for size, causing the platform library to fail to start.
if (fstate.desc.width <= 0 || fstate.desc.height <= 0)
{
  FosterLogError("Foster invalid application width/height (%i, %i)", desc.width, desc.height);
  return;
}

Perhaps C# side could check if the platform library is running after the 'FosterStartup' call, and if not, close the app.

Should be fixed now with #66, will throw an exception and stop.


(▔BALTHAZAR .WIFE. VIDEOs▔) Baltasar Engonga Wife Video Knacking Another Man Goes Viral sex Video Original Trending On Social Media X Twitter-X

20 seconds ago
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on Twitter Telegram
Leaked Videos: The untold story of how Baltasar Engonga broke boundaries
Share this post
Equatorial-Guinea-ANIF-DG-Baltasar-Engonga
Baltasar Ebang Engonga
5th November, 2024
By Nehru Odeh
Baltasar Ebang Engonga is indeed a record breaker. He is well-heeled, handsome and has pedigree. He was until recently also the Director-General of Equatorial Guinea’s National Financial Investigation Agency (ANIF).
Nicknamed “Bello” on account of his good looks, 54-year-old Baltasar is the son of Baltasar Engonga Edjo’o, the head of the Central African Economic and Monetary Community (CEMAC) commission, and a nephew of President Teodoro Obiang Nguema Mbasogo He is also a close ally of the president.
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on Twitter Original..
Baltasar Ebang Engonga Original Video video oficial twitter Original..
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on Twitter Original..

xzz

tyrt

uyiyuiy

cvcv


v2.0

The secure() middleware factory function has been replaced with a generic validate() function which does not mutate the request object and instead returns all valid properties.
The guard() function has been re-named list() to better indicate its functionality.
The .body(), .param(), .query(), and .cookie() methods have been replaced with a single .add() method.
Minimum Node version is now v8

Previous usage:
const { guard, rule, secure } = require('guestlist')

const queryGuard = guard()
  .query('term', rule().isLength({ min: 2 }).trim().escape())
  .query('page', rule().isInt({ min: 1, max: 100 }).toInt(), { default: 1 })
  .query('date', rule().isISO8601().toDate())
  .query('tags', rule().isInt().toInt(), { array: true })

app.get('/search', secure(queryGuard), (req, res, next) => { … })

New usage:
const { list, rule, validate } = require('guestlist')

const safelist = list()
  .add('term', rule().isLength({ min: 2 }).trim().escape())
  .add('page', rule().isInt({ min: 1, max: 100 }).toInt(), { default: 1 })
  .add('date', rule().isISO8601().toDate())
  .add('tags', rule().isInt().toInt(), { array: true })

app.get('/search', (request, response) => {
  const validProperties = validate(request, safelist)
})

Pull Request Test Coverage Report for Build 89

51 of 51 (100.0%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 95.699%

Files with Coverage Reduction
New Missed Lines
%

dist/index.cjs.js
3
92.63%

Totals

Change from base Build 83:
-0.07%

Covered Lines:
146

Relevant Lines:
149

💛  - Coveralls

Pull Request Test Coverage Report for Build 89

51 of 51 (100.0%)  changed or added relevant lines in 2 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 95.699%

Files with Coverage Reduction
New Missed Lines
%

dist/index.cjs.js
3
92.63%

Totals

Change from base Build 83:
-0.07%

Covered Lines:
146

Relevant Lines:
149

💛  - Coveralls


IE 8 Failure

Hi
I have uploaded the test scripts to our server and they do not seem to work in IE 8. All other browsers are fine.
Is there a MIME type that is required or any known issue that would cause this as your test site works as it should.
http://ahume.co.uk/360 test/test/sampler.html -  does not work
http://jquery.vostrel.cz/reel - fine
Any help would be much appreciated.
Thanks
Pete

Hi Pete,
by inspecting the resources loaded, i came to conclusion, that there's no mistake on your server's side. It's the jQuery CDN that has an outage of some sort (I guess they are upgrading the CDN or something) and http://code.jquery.com/jquery-latest.min.js is therefore offline.
Reel homepage uses http://code.jquery.com/jquery-1.6.min.js, which you most probably already have in your browser's cache (at least I do) and that's why it still works despite the CDN actually down.
You can try to edit the sample.html and use 1.6 instead of the latest. Or wait till the CDN is up again ;)

Btw. the official jQuery CDN is back up and the uploaded test scripts at your server work just fine.

Please be aware that Reel 1.1.x has been patched to work just right with jQuery 1.7 in IE - fixes init-time error (like yours) and wheel issues. Released as Reel 1.1.4.
Note, that you must also upgrade your copy of the mousewheel plug-in with the included version 3.0.6. The one shipped with Reel 1.1.3 (mousewheel 3.0.4) was also jQuery 1.7 incompatible.


Improve TFLiteElixir.TFLiteTensor.to_nx/2

This PR addresses the issue described in #32.

Pull Request Test Coverage Report for Build f51563fd61ee85020505d0672935b02123fc8d02-PR-33

1 of 6 (16.67%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.9%) to 63.836%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/tflite_elixir/tflite_tensor.ex
1
6
16.67%

Files with Coverage Reduction
New Missed Lines
%

lib/tflite_elixir/tflite_tensor.ex
1
41.18%

Totals

Change from base Build aa7bc5e2bf8cafadb25c08a2fe22a6040709235e:
-0.9%

Covered Lines:
203

Relevant Lines:
318

💛  - Coveralls


Upgrade to scalaz-stream-0.7a.

Fixes #237.

Do you mind if I push a fix for the broken test?

Go for it. I haven't had a chance to look.

I think this is good to go, but someone should double check my two commits. Sorry there were two, but I had an epiphany and felt compeled to do a second commit.

Oops, that's what I get for not cleaning. :+1:


add spine support.

we have already load the spine data, and we need to render them. :)

through commit, we can render first frame of a spine animation now. :)
https://github.com/tangyiyang/seal2d/commit/122e292d73466fef0e3cd52d8cd415b1b7e10e31

we can render a normal spine animation now. :)

Fixed a buy of spine, which may leads too many draw calls.
We only takes one drawcall even there were many animations.
But we still got a little texture management problem,
I would close this issue if I fixed that.


Implement compiled mode for Perlang

In https://github.com/perlang-org/perlang/discussions/396, I described the recent events leading up to me trying out what LLVM can do for us, in terms of making it possible to run Perlang programs completely independent of the .NET platform.
After that comment was written, and some discussions I had with an old friend of mine (@diwic - thanks a lot to you! :pray:), I started hacking on this and doing a little experiment: How hard would it be to write a compiler for Perlang, which emits C++ code, compiles this code, and then runs the end result? This is obviously not the "final solution" in any way and it is admittedly a bit clumsy. Still, if it was good enough for Bjarne Strousrup, it ought to be good enough for me as well. (Naturally, Strousrup's preprocessor and later Cfront compiler didn't emit C++, but you get the picture.)
I'm setting the milestone for this to 0.4.0, but naturally, given the sheer size of this task, the compiler will in no way be complete in 0.4.0. But it'll probably work to the point where I feel comfortable about pushing it out to the public.
Rough steps

[ ] Implement a compiler which translates the syntax tree for all/most valid Perlang programs into valid C++ code, and compiles and runs the result: https://github.com/perlang-org/perlang/pull/409
[x] Implement a C/C++-based stdlib to support the above: #407.

Make it possible to write unit and/or integration tests for this. We probably have to write these in C or C++ for now. cmocka is a useful unit test library for C that I have used elsewhere.

[ ] Distribute the (compiled) stdlib along with snapshot builds. This involves a bit of complexity, since native C++ code has historically only been able to compile on the same platform as the CI job is running on. We'll need to investigate if clang makes this easier for us.
[ ] Make sure PerlangCompiler uses the stdlib artifacts (.so/.a files and .h/.hpp header files), when being executed from a snapshot build.
[ ] Once this is stable enough, consider dropping interpreted mode (to avoid having to always make "two implementations" for all new functionality going into the library). Challenge: this will make it hard/impossible to support the REPL though, so ideally we would keep this until we can reimplement the REPL on top of LLVM instead.
[ ] Once the compiler is in place, start planning rewriting the Perlang compiler in Perlang.

The bootstrapping can be done using a "stable" version of the "compile-via-C++" compiler.
Once we have that bootstrapped, we can then subsequently move to depend on the first "stable" version which can compile to native code without any dependency on C++; our only dependency will be on the LLVM libraries at this point. (Challenge: consuming LLVM from non-C++ languages can be impractical. We might need to write some C++-based glue code in the Perlang compiler to make this happen.)

This involves a bit of complexity, since native C++ code has historically only been able to compile on the same platform as the CI job is running on. We'll need to investigate if clang makes this easier for us.

It does, since Clang is natively a cross-compiler. But that unfortunately doesn't magically solve all related problems:

But, as is true to any cross-compiler, and given the complexity of different architectures, OS’s and options, it’s not always easy finding the headers, libraries or binutils to generate target specific code. So you’ll need special options to help Clang understand what target you’re compiling to, where your tools are, etc.

It does, since Clang is natively a cross-compiler. But that unfortunately doesn't magically solve all related problems:

But, as is true to any cross-compiler, and given the complexity of different architectures, OS’s and options, it’s not always easy finding the headers, libraries or binutils to generate target specific code. So you’ll need special options to help Clang understand what target you’re compiling to, where your tools are, etc.

An interesting approach to this is the way Golang is handling this. A single CI job can generate artifacts for a number of platforms and architectures, with very little extra work for the project itself. I saw this myself in action recently: https://gitlab.com/fleeting-plugin-hetzner/fleeting-plugin-hetzner/-/blob/main/.gitlab/ci/build.gitlab-ci.yml?ref_type=heads. The end result can be seen in this pipeline: https://gitlab.com/fleeting-plugin-hetzner/fleeting-plugin-hetzner/-/pipelines/1188295744
Now, this doesn't help us immediately since we don't intend to use Go for this. :joy: But it's still interesting to see, and we should aim for something similar in Perlang: cross compilation should be easy. It's fine if it requires an automatic in-the-background network download of standard libraries though; I presume (without having looked at the details) that this is how the Go toolchain does it.

The required groundwork for including experimental compilation in release/snapshot binaries has now been done. :tada: Moving this to the 0.5.0 milestone now, and intending to publish a 0.4.0 release very soon.

This is the main feature being worked on in the current 0.5.0 milestone, but it won't be finished when we carve out the 0.5.0 release. Moving to 0.6.0.


Move install_resouce.rb package determination into helpers

This section in the install.rb

Closed by #353


[FlatList] Add note on multi-column layouts

Call out flexWrap anti-pattern for multi-column layouts.
Clean up renderItem docs a bit.

Looks great

...


Support value placeholders with '@'

See this as a TODO on the readme, just wanted to create an issue to track progress and so folks could +1 if desired. Thanks!

supported as ${param} at v1.5.0


Heading or trailing comment in Python class/function not included in text object

Describe the bug
If the first or last element of a Python class or function is a comment, then targeting it as a text object (with @class.outer, @function.inner, etc.) won't include the comment.
This isn't a real problem for me, just a curious edge case I noticed. If fixing this over-complicates other parts of the code or parser, feel free to disregard this and close, but on the off-chance there is a simple fix I'm missing, I thought I would be reporting it.
To Reproduce
With
treesitter.setup {
  textobjects = {
    select = {
      enable = true,
      keymaps = {
        ["ac"] =<EMAIL_ADDRESS>      },
    },
  },
}

and the Python snippet
class A:
    x = 1
    y = 2  # some comment

with the cursor anywhere on or before the character 2, then typing vac will select everything except the comment. If the cursor is on the comment, then typing vac won't do anything.
Expected behavior
With the cursor anywhere in the class, typing vac selects the whole class.
Output of :checkhealth nvim_treesitter

health#nvim_treesitter#check
Installation

OK: git executable found.
OK: cc executable found.

elm parser healthcheck

OK: elm parser found.
WARNING: No highlights.scm query found for elm

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for elm

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for elm

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for elm

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

c parser healthcheck

OK: c parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
OK: folds.scm found.

java parser healthcheck

OK: java parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for java

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for java

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

python parser healthcheck

OK: python parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
OK: folds.scm found.

dart parser healthcheck

OK: dart parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for dart

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for dart

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

lua parser healthcheck

OK: lua parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
OK: folds.scm found.

ocaml parser healthcheck

OK: ocaml parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for ocaml

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

OK: folds.scm found.

go parser healthcheck

OK: go parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
WARNING: No folds.scm query found for go

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

nix parser healthcheck

OK: nix parser found.
WARNING: No highlights.scm query found for nix

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for nix

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for nix

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for nix

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

yaml parser healthcheck

OK: yaml parser found.
WARNING: No highlights.scm query found for yaml

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for yaml

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for yaml

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for yaml

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

json parser healthcheck

OK: json parser found.
OK: highlights.scm found.
WARNING: No locals.scm query found for json

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for json

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for json

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

jsdoc parser healthcheck

OK: jsdoc parser found.
WARNING: No highlights.scm query found for jsdoc

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for jsdoc

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for jsdoc

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for jsdoc

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

markdown parser healthcheck

OK: markdown parser found.
WARNING: No highlights.scm query found for markdown

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for markdown

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for markdown

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for markdown

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

julia parser healthcheck

OK: julia parser found.
WARNING: No highlights.scm query found for julia

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for julia

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for julia

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for julia

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

html parser healthcheck

OK: html parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for html

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for html

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

typescript parser healthcheck

OK: typescript parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
OK: folds.scm found.

fennel parser healthcheck

OK: fennel parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for fennel

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for fennel

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

swift parser healthcheck

OK: swift parser found.
WARNING: No highlights.scm query found for swift

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for swift

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for swift

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for swift

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

query parser healthcheck

OK: query parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for query

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for query

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

cpp parser healthcheck

OK: cpp parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
OK: folds.scm found.

regex parser healthcheck

OK: regex parser found.
OK: highlights.scm found.
WARNING: No locals.scm query found for regex

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for regex

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for regex

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

ruby parser healthcheck

OK: ruby parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for ruby

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for ruby

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

vue parser healthcheck

OK: vue parser found.
WARNING: No highlights.scm query found for vue

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for vue

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for vue

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for vue

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

ql parser healthcheck

OK: ql parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for ql

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for ql

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

scala parser healthcheck

OK: scala parser found.
WARNING: No highlights.scm query found for scala

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for scala

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for scala

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for scala

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

toml parser healthcheck

OK: toml parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for toml

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for toml

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

rust parser healthcheck

OK: rust parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
WARNING: No folds.scm query found for rust

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

bash parser healthcheck

OK: bash parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for bash

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for bash

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

ocaml_interface parser healthcheck

OK: ocaml_interface parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for ocaml_interface

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

OK: folds.scm found.

rst parser healthcheck

OK: rst parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
WARNING: No folds.scm query found for rst

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

css parser healthcheck

OK: css parser found.
OK: highlights.scm found.
WARNING: No locals.scm query found for css

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for css

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for css

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

c_sharp parser healthcheck

OK: c_sharp parser found.
OK: highlights.scm found.
WARNING: No locals.scm query found for c_sharp

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

OK: textobjects.scm found.
WARNING: No folds.scm query found for c_sharp

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

javascript parser healthcheck

OK: javascript parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
OK: folds.scm found.

php parser healthcheck

OK: php parser found.
OK: highlights.scm found.
OK: locals.scm found.
WARNING: No textobjects.scm query found for php

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

OK: folds.scm found.

haskell parser healthcheck

OK: haskell parser found.
WARNING: No highlights.scm query found for haskell

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No locals.scm query found for haskell

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No textobjects.scm query found for haskell

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

WARNING: No folds.scm query found for haskell

ADVICE:

Open an issue at https://github.com/nvim-treesitter/nvim-treesitter

tsx parser healthcheck

OK: tsx parser found.
OK: highlights.scm found.
OK: locals.scm found.
OK: textobjects.scm found.
OK: folds.scm found.

Output of nvim --version
NVIM v0.5.0-721-g3c5141d2c
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-5 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/travis/build/neovim/bot-ci/build/neovim/build/config -I/home/travis/build/neovim/bot-ci/build/neovim/src -I/home/travis/build/neovim/bot-ci/build/neovim/.deps/usr/include -I/usr/include -I/home/travis/build/neovim/bot-ci/build/neovim/build/src/nvim/auto -I/home/travis/build/neovim/bot-ci/build/neovim/build/include
Compiled by travis@travis-job-5482189d-7ef7-4d79-892c-6d7ec9adbd1f

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/home/travis/build/neovim/bot-ci/build/neovim/build/nvim.AppDir/usr/share/nvim
"

Run :checkhealth for more info

@rafikdraoui FYI: https://github.com/tree-sitter/tree-sitter-python/commit/87e874f23e1bbfc4bd160caa3bad03de250c8b9f

@rafikdraoui FYI: https://github.com/tree-sitter/tree-sitter-python/commit/87e874f23e1bbfc4bd160caa3bad03de250c8b9f

This is a bug from the python parser https://github.com/tree-sitter/tree-sitter-python/issues/113, https://github.com/tree-sitter/tree-sitter-python/pull/143 should fix it. But there is still the problem of not including leading comments.
def a():
    # Here
    a = b # c

(module [0, 0] - [3, 0]
  (function_definition [0, 0] - [2, 13]
    name: (identifier [0, 4] - [0, 5])
    parameters: (parameters [0, 5] - [0, 7])
    (comment [1, 4] - [1, 10])
    body: (block [2, 4] - [2, 13]
      (expression_statement [2, 4] - [2, 9]
        (assignment [2, 4] - [2, 9]
          left: (identifier [2, 4] - [2, 5])
          right: (identifier [2, 8] - [2, 9])))
      (comment [2, 10] - [2, 13]))))

leading comments are included outside the function body.


How does 5 tikv nodes handle two nodes fault?

Question
In FAQ, it says that a cluster of 5 tikv nodes can tolerate two nodes fault. I don't fully understand how does it work? I mean as raft requires >50% nodes return ACK, with a replica equals to 3, even two nodes down in 5 nodes cluster may cause some regions that are left only one copy. In this case, how could raft receives >50% ACK?
Or do I misunderstand this FAQ, it actually says 5 nodes with a replica equals to 5?

Good point! It means to say 5 replicas instead of 5 nodes. Would you like to send a PR to fix that?

I don't find a way to fix in this repository and the wiki also doesn't have edit button.

PTAL @dcalvin

Will update in doc sources. Will fix in Wiki. Currently our FAQ only exists on the Wiki page. But will add one on the Doc site very soon. Thanks. @Sraw

Updated @Sraw. Please check again.

Well, the page is totally unavailable now. Redirect to the main page and prompt "You do not have permission to update this wiki."

Sorry, @Sraw  I am not sure what happened. I just re-edited and saved again. Should be fine now. By the way, we are migrating the whole documentation to tikv.org. Stay tuned.

Thanks for your efforts, it now works :)

You are welcome. Closing this issue now.


OpenDTU PV Inverter missing

2 of 3 Virtual Inverters are not found. the third , exactly the same, ist found and works well. So ID 32 is online, 33 and 34 are missing.
Greetings and thank U so mutch for the work,
Joe

Hello and thank you for opening this issue.
A few questions:

The modbus id's 33 and 34 aren't being detected while 32 is?
Are the inverters online and reporting values in the GX device UI at the time the integration is scanning for registers?
Are you able to create a modbus integration configuration to read one of the values of the PV inverters with slave address 33 and 34? (This should confirm whether the pv inverter is actually exposed).

Hello @CerboJoe,
Could you perhaps install the latest main version by following these instructions:
https://github.com/sfstar/hass-victron/issues/182#issuecomment-1998254266
After which please reconfigure the integration to rescan all available devices (when all inverters are online and reporting in the GX device).

I'm sorry.It dosent change anything. even not, after a full reinstallation. The HM-300 is shown, the two HM-1500 are not.

Thanks for checking.
Could you perhaps share the entries located under:
"settings -> services -> modbus/TCP -> available services" on your GX device?

Also please add the following configuration to your configuration.yaml file to further troubleshoot whether the inverters values are actually retrievable from the gx device:
modbus:
  - name: victron
    type: tcp
    host: <ip of the gx device>
    port: 502
    retry_on_empty: true
    retries: 10
    close_comm_on_error: true
     sensors:
       - name: pv_inverter_l1_voltage
         unit_of_measurement: "V"
         slave: 33
         address: 1027
         device_class: voltage
         state_class: measurement
         data_type: uint16
         scale: 0.1
         precision: 2
         offset: 0

Take note to customize the <ip of the gx device> part to the ip of your GX device.
After adding the configuration please restart your home assistant instance and check whether an entity is created with the name pv_inverter_l1_voltage and it's state is being populated with the inverters voltage values that are also visible in the GX device.
Please report your findings so that this issue can be further troubleshooted.

Closing issue as stale.
Feel free to open a new issue if the issue persists.


Better support startup notification

VSCode Version: Code 1.18.1 (929bacb, 2017-11-16T18:34:22.110Z)
OS Version: Linux x64 4.14.3-300.fc27.x86_64

Steps to Reproduce:

Open VSCode
Immediately interact with the window of another application
Watch notifications

Reproduces without extensions: Yes
Linux has startup notifications to signal when an application is ready. In GNOME3 this is surfaced as a notification when a window opens in the background.
It seems that code sends the signal as soon as a window is mapped, ideally, it should only be sent when the window is ready to accept input

@ZanderBrown I am not really understanding what you are asking for...

The GNOME Foundation has some guides which may better explain
When an application is started it may use a startup-notification to signal that it is ready. In most instances this information is used for things like a busy cursor. However in GNOME (and probably other DEs as well) if the application is loading in the background (e.g. the user is actively working with a GitHub issue in Firefox whilst vscode starts) the startup-notification hint/signal is used to show a notification to the user:

(The title of 'Visual Studio Code' is taken from the desktop file, as is the icon-name, whilst the 'Visual Studio Code' in quotes is the title of the window when gnome-shell received the startup-notification)
If the user neither interacts with code or notification interact with the notification moved to the tray

Where it follows the current title of the window (Here VSCode has restored a previous folder)
What I'm suggesting is that VSCode delays this signal to the DE until the window is genuinely 'ready' with the workspace ready for interaction


Assignment 03 -- 13 Feb 2024

Read following stories only, and give proof for each by reporting their title, e.g. [a1b2c3d4e5b6] --> Title.

64ba14e58233 (Point: 10)
09785a702af8 (Point: 10)
fc10ecb55372 (Point: 10)
e77ab54116ec (Point: 10)

Follow the instruction given in the following story  e77ab54116ec to modify you previous story in #1

Add image from Unsplash or image taken with your camera (Point: 20)
Submit the story  to Courage to Write publication  (Point: 20)

Take at least four photos from tomorrow Indonesian general election, 14 Feb 2024, where you will vote.

Upload the photos to Teams and provide the link here (Point: 20).

Read Following Stories:

64ba14e58233 --> Uniform linear motion: Begin the journey in learning mechanics
09785a702af8 --> Superposition of two one-dimensional motions static visualization with Matplotlib: Having fun in learning physics with Python
fc10ecb55372 --> Various ways in presenting two time series: With additional standard deviation for each series
e77ab54116ec --> Submit story to Medium Publication: Next stage after publishing your first story

Publication Story:
(draft/hasn't been accepted)
https://medium.com/courage-to-write/assignment-03-13-february-2024-3-2910326564e2
Photos From Indonesian Election 2024:
https://drive.google.com/drive/folders/15otcVcQlp32qRYWeNTHLskGJ7QU-lrOy?usp=drive_link

Read following stories only
64ba14e58233 --> Uniform linear motion
09785a702af8 --> Superposition of two one-dimensional motions static visualization with Matplotlib
fc10ecb55372 --> Various ways in presenting two time series
e77ab54116ec --> Submit story to Medium Publication

Modify previous story (draft)
Add image
Submit to Courage to Write (https://medium.com/courage-to-write/simulasi-dan-pemodelan-sistem-fisis-fi4002-assigment-01-76045707dac9)

Link (Indonesian general election)
https://1drv.ms/f/c/1ed7054c3ff16994/Enh9nVyOVJlIkpyaymL_-90B92Dg3xiOL4JS5GgvT1-CWg?e=r9g02d

Read following stories :
64ba14e58233 -> Uniform linear motion
09785a702af8 -> Superposition of two one-dimensional motions static visualization with Matplotlib
fc10ecb55372  -> Various ways in presenting two time series
e77ab54116ec -> Submit story to Medium Publication
Publication story :
https://medium.com/@alyssahanifad/assignment-1-simulation-and-modelling-of-physical-systems-34b3e99acd32
Photos from Indonesian General Election :
https://itbdsti-my.sharepoint.com/:f:/g/personal/10220075_mahasiswa_itb_ac_id/EmtstDLVoSBFpRO_CTTibccBR4QrFjV52x3VQdeqpSBobg?e=rfhUsz

**Titles of Medium Stories **

64ba14e58233 : Uniform linear motion
09785a702af8 : Superposition of two one-dimensional motions static visualization with Matplotlib
fc10ecb55372 : Various ways in presenting two time series
e77ab54116ec : Submit story to Medium Publication

Publication Story
https://medium.com/@padipie/assignment-1-0d3cc1003c7a
Some Photos of Election Day
https://itbdstimy.sharepoint.com/:f:/g/personal/10220027_mahasiswa_itb_ac_id/EgNlmu38zPlGrQvr7Pk5bP0B6O7iyez4e8xwXRqrzhKn0A?e=vgiTOA

**Titles: **

[64ba14e58233]: Uniform linear motion
[09785a702af8]: Superposition of two one-dimensional motions static visualization with Matplotlib
[fc10ecb55372]: Various ways in presenting two time series
[e77ab54116ec]: Submit story to Medium Publication

**Medium Story Link: **
https://medium.com/@audreyljhns/6th-february-2024-first-assignment-simulation-and-modelling-of-physical-systems-15b898ab9171
**OneDrive for Election Day: **
https://itbdsti-my.sharepoint.com/:f:/g/personal/10220070_mahasiswa_itb_ac_id/EpUO7i_bxb5Lit9ATWJcS7gBav2_Bz4UeksUe37TwE_O9g?e=u2dZZc

Story titles

64ba14e58233 : Uniform linear motion
09785a702af8 : Superposition of two one-dimensional motions static visualization with Matplotlib
fc10ecb55372 : Various ways in presenting two time series
e77ab54116ec : Submit story to Medium Publication

Modified story link
https://medium.com/@bernike_s/spsf-assignment-1-673f51930463
OneDrive Link (Indonesian Election Day)
https://1drv.ms/f/s!Ai3oofK14RlFeGty7KWfBixonKE?e=3RWebD

Title:

[64ba14e58233]: Uniform linear motion
[09785a702af8]: Superposition of two one-dimensional motions static visualization with Matplotlib
[fc10ecb55372]: Various ways in presenting two time series
[e77ab54116ec]: Submit story to Medium Publication

Story link:
https://medium.com/@darmoniaga/assignment-1-perkenalan-3b1c55d6e22b
Onedrive Photos:
https://itbdsti-my.sharepoint.com/:f:/g/personal/10220061_mahasiswa_itb_ac_id/Eu2T1YZKKulIh-Sy18lB1t0BxcUaHt9oWKPSIo3hOeSkdQ?e=RtzpcT

Medium Story Titles
64ba14e58233 --> Uniform Linear Motion
09785a702af8 --> Superposition of two One-Dimensional Motions Static Visualization with Matplotlib
fc10ecb55372 --> Various Ways in Presenting Two Time Series
e77ab54116ec --> Submit Story to Medium Publication
Submit to Courage to Write Publication
https://medium.com/@alfans/tugas-01-spsf-k-01-09caf4f94ade (waiting for approval to join the publication)
Photos From General Election
https://itbdsti-my.sharepoint.com/:f:/g/personal/10219022_mahasiswa_itb_ac_id/Er4HUGXwRW5Pr0bjPlRfcogBOZ1IwF6wYF7Qnfdd5luLbA?e=RhbhId

Titles
[64ba14e58233] --> Uniform Linear Motion
[09785a702af8] --> Superposition of two One-Dimensional Motions Static Visualization with Matplotlib
[fc10ecb55372] --> Various Ways in Presenting Two Time Series
[e77ab54116ec] --> Submit Story to Medium Publication
Courage to Write
https://medium.com/courage-to-write/simulation-and-modeling-of-physical-systems-in-bandung-institute-of-technology-5415ffcc3b07
Election Day Photos
https://itbdsti-my.sharepoint.com/:f:/g/personal/10220017_mahasiswa_itb_ac_id/EiN28HL6ZoZBn84IgraFfvkBSJHaKmT8EE-oqIb6JledRA?e=CKomAb


Could not resolve org.xwalk:xwalk_core_library:23+. Response 504

A problem occurred configuring root project 'android'.

Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'.
Could not resolve org.xwalk:xwalk_core_library:23+.
Required by:
project :
Could not resolve org.xwalk:xwalk_core_library:23+.
Failed to list versions for org.xwalk:xwalk_core_library.
Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'. Received status code 504 from server: Gateway Time-out

+1

Me too.
https://crosswalk-project.org/ also has no response. "504 Gateway Time-out" will be returned.

Did they finally pull the plug? Site is gone, can't download from maven

It was a temporary failure, everything's back up now.


Broken LayoutParentData types in +page.ts

Describe the bug
With nested routes /a/b/c and their respective +layout.ts, each+page.ts is not able to understand correctly the types of the await parent().
The types of the returned data from the immediate load parent of +page.ts are ignored.
Ex:

/a/+page.ts can't see types from /a/+layout.ts
/a/b/+page.ts can't see types from /a/b/+layout.ts
/a/b/c/+page.ts can't see types from /a/b/c/+layout.ts

Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-pn8meq?file=src%2Froutes%2Fa%2Fb%2Fc%2F%2Bpage.ts
Logs
No response
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.89
    @sveltejs/kit: ^1.0.0-next.556 => 1.0.0-next.556
    svelte: ^3.46.0 => 3.53.1
    vite: ^3.1.0 => 3.2.4

Severity
annoyance
Additional Information
No response

It works if you change the type of the load function for +page.ts from LayoutLoad to PageLoad.
// src/routes/a/b/c/+page.ts
- import type { LayoutLoad } from './$types';
+ import type { PageLoad } from './$types';

- export const load: LayoutLoad = async ({ parent }) => {
+ export const load: PageLoad = async ({ parent }) => {
	const { a, b, c } = await parent();

	console.log('in /a/b/c +page.ts: a', a, 'b', b, 'c', c);

	return {
		someOtherData: 3
	};
};

Oh right, i had missed that. Thanks !


Add a workflow that runs Verus on each task

@jaybosamiya It was harder than I expected to figure out how retrieve the latest released version of Verus.  I ended up using a custom action that I cobbled together, but it left me wondering if there was a simpler way.

Also, when I push to this PR, it appears to run the jobs twice, which seems sub-optimal.

@mmcloughlin suggested the following script, which looks much simpler and easier to maintain, so I'm planning to move to that when there's time.
#!/usr/bin/env bash

REPO="verus-lang/verus"

# Determine tag of latest release.
function latest_release_tag() {
    gh release list \
        --repo "${REPO}" \
        --limit 1 \
        --json tagName \
        --template '{{range .}}{{.tagName}}{{end}}'
}

tag=$(latest_release_tag)

# Download the x86 Linux package.
gh release download \
    --repo "${REPO}" \
    "${tag}" \
    --pattern '*-x86-linux.zip' \
    --output "verus.zip"

Yep, would suggest using something similar to what @mmcloughlin suggested. A few alternative ways to get that URL:
curl -s https://api.github.com/repos/verus-lang/verus/releases | \
  awk -F'"' '/download/{print $4}' | grep x86-linux

curl -s https://api.github.com/repos/verus-lang/verus/releases | \
  jq -r '.[].assets.[].browser_download_url' | grep x86-linux

The running-twice happens because of the push, pull_request; iirc, the push makes it run on the branch's commit itself, and the pull_request runs on a hypothetical merge between the main branch and the branch.  My suggestion would be to remove the push portion and/or restrict push to just being on main via a branches filter.

With some fiddling, I got a non-JS version working. Thanks for all of the suggestions!


Sending a message upon reconnect

I'm surprised no one has asked for this. I need the ReconnectingWebSocket to send a message to the server when it reconnects, so the server knows what to stream.
Edit: Ah, I think I don't even need this. The ReconnectingWebSocket API sends me an onOpen event upon reconnect. And in the onOpen method, I send the necessary streaming command to the server anyway. It just works as advertised. You can test here if you like.

2 years are more than 'a bit', close it man


IWW Issue #70 🤷♂, October 19th 2021

This pull request is for gathering links for the October 19th issue of the Immersive Web Weekly newsletter for the W3C Immersive Web Community Group.
If you have a link to a news article, event, artwork, or project that is directly related to the immersive web then we welcome your help!
To submit a link comment below using this template:
title: Example title of link
url: https://example.com/
author: Alice Smith
content: A short description of what is at the link and why it's related to the immersive web

Please keep in mind that comments here and all submitted links are public!
We keep each issue pretty short so we won't immediately use every submission but we keep track of them all and they may appear in a later issue.
Deadline
IWW goes out each Tuesday morning around 10am Pacific time.
Trevor will edit each issue on the Monday before publication so submissions after that will roll over for use in future issues.
If you need editorial support then email @TrevorFSmith<EMAIL_ADDRESS>

title: The Metaverse Festival
url: https://themetaversefestival.io/


Any idea to increase maximun size string received?

i am using it to receibe large data from server, but string get truncated on receive message. Any way to increase size of message in websocketclient ?

Hey,
What limit do you hit?
Could you provide a small example application?
Best regards,
Marcel

in onmessage  when i try to get string given by server,... this get cuted...
here is a sample of incoming message, if you see last chars, you will see what i mean.
lenght of string is 4700 more or less
"},{"o":"NzzYilzMkIT0YQzi","r":0.00005941,"a":5.4600032,"v":0.00032438,"t":1,"d":1643362104470,"s":"undefined"},{"o":"MIcZJE2zNZ3GNNDQ","r":0.00005941,"a":7.2534388,"v":0.00043093,"t":1,"d":1643363092538,"s":"undefined"},{"o":"DIZQjNjNYMxMIwjZ","r":0.00005941,"a":5.5323107,"v":0.00032867,"t":1,"d":1643365942202,"s":"undefined"},{"o":"ZDNh2mxAx2DY12Gi","r":0.00005941,"a":6.1179833,"v":0.00036347,"t":1,"d":1643365979522,"s":"undefined"}],"asks":[{"o":"DQUwgZWmTNyyDlhN","r":0.0000601,"a":3123,"v":0.1876923,"t":0,"d":1643383761477,"s":"undefined"},{"o":"iNNmNMmDTizTNZVT","r":0.00006053,"a":156.84511,"v":0.00949383,"t":0,"d":1643383762191,"s":"undefined"},{"o":"OgMTlmkWZZMJZwcE","r":0.00006175,"a":1,"v":0.00006175,"t":0,"d":1643343279075,"s":"undefined"},{"o":"GzE44N2MOGyUQO5k","r":0.00006196,"a":11,"v":0.00068156,"t":0,"d":1643341997868,"s":"undefined"},{"o":"NUz2NxWIGkMMTJ0D","r":0.00006272,"a":5000,"v":0.3136,"t":0,"d":1643383650371,"s":"undefined"},{"o":"2wlMkkIkINmhwNOF","r":0.00006274,"a":2.02789939,"v":0.00012723,"t":0,"d":1643301766458,"s":"undefined"},{"o":"OZzgM5IOYihMRGNN","r":0.00006299,"a":22,"v":0.00138578,"t":0,"d":1643342011795,"s":"undefined"},{"o":"ONiiNYFhYjTJgMiR","r":0.000063,"a":11.70558438,"v":0.00073745,"t":0,"d":1643295424066,"s":"undefined"},{"o":"JY1TYUgMhZlU1NZG","r":0.0000635,"a":8,"v":0.000508,"t":0,"d":1643316784568,"s":"undefined"},{"o":"VDDTiZNl0MTNwQmN","r":0.00006363,"a":4.71475719,"v":0.0003,"t":0,"d":1643339599976,"s":"undefined"},{"o":"w5i2ZhDOW5WlYYzN","r":0.00006394,"a":11,"v":0.00070334,"t":0,"d":1643342041165,"s":"undefined"},{"o":"JQ4ZDQOTz2RTzNiY","r":0.000064,"a":35.71056346,"v":0.00228548,"t":0,"d":1642899029211,"s":"undefined"},{"o":"UmlYymUMO1DkOYUM","r":0.00006415,"a":25.32012028,"v":0.00162429,"t":0,"d":1643334735671,"s":"undefined"},{"o":"mMdkRjzZTMYNjyEy","r":0.00006448,"a":1.4210357,"v":0.00009163,"t":0,"d":1642804096924,"s":"undefined"},{"o":"VYzc5jkFTgYDzmOE","r":0.00006491,"a":11,"v":0.00071401,"t":0,"d":1643342051517,"s":"undefined"},{"o":"ZAzIQDjNNGhlwMOT","r":0.000065,"a":67,"v":0.004355,"t":0,"d":1643292969510,"s":"undefined"},{"o":"GNENU1TlIVRIFkG3","r":0.000065,"a":4.00368158,"v":0.00026024,"t":0,"d":1643339542896,"s":"undefined"},{"o":"DZEDUZM0O3MAWZTA","r":0.00006

Please provide an example application


Prevent calling json.MarshalIndent and handle err, instead using writ…

…eJSON
Please provide a description of this PR:
We donot handle marshal err, and in 1.14, there is an error. So caller can get no response

@hzxuzhonghu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
2bb049c793de7e7f989ea620c14652fdc55787ae
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest