!accelerate config

I am running in a colab notebook, how it is supposed, I should put into this section?
Hugging Face is not really clear about this, and colab does not accept "enter"
https://huggingface.co/docs/accelerate/package_reference/cli
I tryed:
"shift" + "enter"
"ctrl" + "enter"
and others, but nothing

You can run accelerate launch .... directly while do no configure accelerate config. accelerate config is used to configure for multiprocess running, mixed precision, etc. If you do not config it, it will run by default. Besides you can also configure by e.g. accelerate launch --multi_gpu --mixed_precision=fp16 --num_processes=2 ...., which you can find  here.

Thanks :), I got it.


Infinite asyncio tasks created for Kuando Busylights (add_task bug).

Software Versions:

Operating System: MacOSx Sonoma 14.6.1
Python version: 3.9
BusyLight version:  0.32.0

General Type of Problem

[ ] Installation
[ ] Command-line
[X] Integrating into another project
[ ] Web API
[X] other

Describe the Problem
When setting colors on Kuando Busylightrs new asyncio tasks get created every time a new color is set. There is a keepalive task that gets created each time "on" is called.
I traced it back to the def taskable add_task method which doen not correctly lookuop the task by name in the tasks dictionary.
It is added in the dictionary with the name concatenated id of the object, but looked up only byy name.
Expected Behavior
Only one keep alive task should be created per light instance.
Error Output
If there was an error displayed, paste it in here.

Thank you for the bug report and chasing down the error! I'll see about getting it fixed shortly.

Unfortunately, I won't be in a position to test this code until next week. If you are so inclined, you could install the latest version of the main branch using something like:
$ python3 -m venv testing
$ source testing/bin/activate
$ python3 -m pip install git+https://github.com/JnyJny/busylight
...

You should see fewer asyncio tasks created. Thanks again for the great bug report, it is much appreciated.

Works perfectly, thanks a lot. I ran it for a while, changed the colors a zillion times and checked the async task list and, as expected, I see only one keep alive:
2024-11-26 11:56:23,254 - root - INFO - Task 1: <Task pending name='Task-6' coro=<_keepalive() running at busylight/lights/kuando/busylight_alpha.py:73> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x10ff81b50>()]>>
Many thanks!
Also, as a separate note, I had to deploy on Windows and to make it work I had to send an additional 0 to the devices. Then everything was working; without it the lights were ignoring any commands. I have no idea why it works with the 0.
if "WINDOWS" in platform.system().upper():

    def patched_write_strategy(instance: lightslib.Light, data: bytes) -> int:
        data = bytes([0]) + data
        return instance.device.write(data)

    lightslib.Light.write_strategy = patched_write_strategy

Glad to hear the fix works, that is frankly an embarrassing bug :)
Moving on to Windows, that is very interesting to me! Were you running directly with Windows or using the Linux personality?
Strictly speaking, instead of calling instance.device.write, we should instead honor the strategy method ( could be instance.device.write or instance.device.send_feature_report ). Different devices require different IO strategies, hence the read and write strategy properties. A better fix might be to update the __bytes__ magic method to prepend a zero byte when preparing the data payload for it's write operation (via write_strategy).  Of course, we don't want to evaluate is Winows every time we want to write so we can do some messing about in __init__. I'll play with it and see what makes the most sense. Any chance I can lean on you to test my bad ideas on Windows?

I've been researching the Windows behavior as well and this article seems to discuss the problem as it relates to Windows and HID devices. I think. It's honestly very murky.  The "any value" makes sense in context of the linked article, which claims that the Windows USB HID stack doesn't pass a long that initial byte but still requires it. I'm adding this to the big pile of reasons why I personally dislike Windows.

This fix is now available in version 0.33.0.  Thanks for the bug report!


wrap up index.js

Is this going to be merged anytime soon? I recently upgraded RN to 0.50 and it kept crashing. Kept digging down the issue to realize https://github.com/GeekyAnts/NativeBase was pulling in color and color, in turn, was pulling in color-convert and for some reason when the code went through the uglify process models was undefined and the code kept crashing when trying to evaluate models.length. Pointing to this pull request somehow fixes the issue for me.

@nim23 I hope @Qix- will (with the other PR I made)

Absolutely not, what kind of javascript is this? If you are using a platform that requires such bizarre and obtuse instantiation of objects, I recommend using a different platform. This is not idiomatic javascript and only hurts readability and maintainability.
Sorry, but this will never be merged.

I don't think the issue was related to any platform or open source library that uses color-convert per se, I was seeing the issue when the code was being minified. The issue could be with uglify process itself. Minified files are harder to make sense of when trying to figure out what the actual issue is, by luck or chance pointing to this pull request solved the actual issue for me, so I thought maybe the issue is in this library itself and someone had actually created a pull request to fix it.
Not merging this pull request is completely fine by me if the pull request doesn't really match the code quality standards that are expected, but maybe being a bit more constructive would have helped rather than just being completely dismissive about it.

I think Qix was talking about Proxy I have pushed coincidentally a few minutes after your comment, I removed it and made a new PR #47. Please @Qix- check it, and tell me precisely what's wrong in it

@nim23 uglify isn't that great - it's caused lots of problems for me. I recommend babel/minify (fmly babili).


🐛 taplo config default don't print a default configuration

Version
taplo 0.8.1

Steps to reproduce
# Install<EMAIL_ADDRESS>cargo binstall -y<EMAIL_ADDRESS># Confirm taplo is installed
taplo --version
# Try to print the default configuration file
taplo config default

Actual result
Nothing is printed nor a file .taplo.toml is created
Expected result
The help command
taplo config default --help

Have the following summary:

Print the default .taplo.toml configuration file

I would expect the configuration to be printed to stdout or a file .taplo.toml to be created.

Thanks for the bug report. Indeed it looks like taplo config default is currently a tautology. It will always print an empty file because that's the default configuration. I guess the intent would be the print the default values for the global options, but it's under an Option with another layer of Options for each option. Not sure of an easy fix, or if it even needs fixing. The default values are documented on the website: https://taplo.tamasfe.dev/configuration/formatter-options.html. I would instead suggest removing this command.


Add getLine for TextLines

WIP - implementing https://github.com/Bodigrim/text-rope/issues/5
It's a bit more labor intensive than I initially anticipated, so opening draft for potential early feedback.
TODO:

[x] add getLine for TextLines
[x] add getLine to Rope(s)
[ ] add getRange for TextLines
[ ] add getRange for Rope(s)

Hello @Bodigrim ,
can I get some preliminary feedback on the first of the functions I intended to implement?
I'll get to the Range variant in the next few days..

Thanks for review.
I'll still implement the getRange helper and try to test out the new functions in hls before marking it as ready to merge.

@jhrcek how is it going? Any plans for further progress?
I plan to make a release sooner than later, so it would be great to merge your work once complete.

Hello @Bodigrim
I saw you today at ZuriHac. I'll try to catch you tomorrow in person and we can discuss the next steps. I'd like to gather some more feedback from other HLS devs to see if it's the right direction and we could potentially merge this.

@jhrcek sure, let's catch up tomorrow. Or today if it still works for you.

Thanks a lot @jhrcek!

@jhrcek the repo is in ready-for-release state now, waiting for you to green-light that it fits HLS needs.


Can you show the errors you get?


feat(transloco): add intlmessageformat transpiler

Adding an alternative messageformat transpiler based on formatjs/intlmessageformat
white_check_mark Closes: #364
PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/ngneat/transloco/blob/master/CONTRIBUTING.md#commit
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Transloco MessageFormatTranspiler may lead to CSP Problems due to usage (in messageformat.js) of the eval function.
Issue Number: #364
What is the new behavior?
Provide an alternative IntlMessaeFormatTranspiler based on formatjs/intl(messageformat)
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Other information
I'd gladly discuss it with you as I'm not an expert in packaging libs! I also inspired myself a lot from your MessageFormatTranspiler. Thanks.

Please note I used version 2.3.4 of formatjs/intl as more recent version needs at least typescript 4.7. As soon as you update typescript, we can take the latest formatjs/int 2.7.1 at the time of writing.

@f-aubert Thanks for the PR!
There is a [PR] for upgrading the internal to the latest versions, let's continue this after it's merged since we want TS v4.7.
Regarding the cache, I'll review when I have the time and leave comments. (might take a while so be patient 🙂  )

@shaharkazaz the other PR was merged, do we want to go on with this one?

hello @f-aubert @shaharkazaz do we have any update on this? I also cannot ship with unsafe-eval and I use MessageFormat.

@shaharkazaz any update on this one? I'd gladly help some more

@f-aubert Hi! sorry for not being here for a while, a lot going on both personally and nationally.
A lot of changes were made to this repo ever since this PR was open, if you'd like to update your branch with all the changes I'll do my best to push this forward 🔥

@f-aubert  I'm here if you want us to push this forward again 🙂


[RETRO]  Analyse feedback from 2023 Sustainability Week

This tracking issue is a used to collect async retro items from anyone who was involved in Cloud Native Sustainablity Week 2023. We have Attendee Survey and Meetup Organiser Survey of 2023
Please use the following template to leave feedback:

KEEP DOING:
MORE OF:
START DOING:
STOP DOING:
LESS OF:
IDEAS:

We will discuss anything added to the issue in the upcoming retro meeting on 29-04-2024 and report on the results in the TAG Meeting on 13-05-2024.
cc @cncf/tag-env-sustainability

filled this out quickly - there is more to talk about but here we go so far 😄:

KEEP DOING: local meetups around the globe & the federated organization structure of local meetups & the globa meetup
MORE OF:

engaging other regions that are not represented in the discussions
blog posts about cloud native sustainability tech
technical discussions

START DOING: collecting information from meetups and shring it with attendees of other meetups & everyone that was unable to attend
STOP DOING:
LESS OF:
IDEAS:

+1 to what @leonardpahlke already shared! and a few more things –

START DOING: sharing Sustainability Week a lot earlier; I may have missed the details from last year but as a meet-up organizer myself, I'd love to start learning about such initiatives ~3 months early if possible in order to accommodate possible backlog of speakers + have enough time to find relevant speakers

IDEAS: not sure if this was done last year but I'd love to see if we can get other green foundations involved; ex. Green Software Foundation or Bytecode Alliance (there are some sustainability conversations wrt to wasm + I'm one of the co-chairs for SIG-Community)

KEEP DOING: we did a lot of great initiatives last year like blog posts, live streams, meetups etc., and we should definitely keep doing that. Maybe flag even more that a broader community can contribute content in addition to meetups.
MORE OF: communication on social media and collaboration with organizations on spreading the word about the event. Maybe we could also get companies from the space, like Aknostic, re:cinq etc. to spread the word as well.
START DOING:
STOP DOING: last year we manually prepared a presentation/brochure template for every local meetup. It's a lot of work that's time-consuming. I think that it would be much easier and scalable to create common templates with placeholders for the city/meetup name etc. and then every local meetup's organizer team can copy it and update it with information about the respective meetup themselves.
LESS OF:
IDEAS:

+1 to what has already been shared in the comments above. Last year I became aware of Sustainability Week just a couple of weeks prior and participated to the Milan local meetup and global event.
Just wanted to also share two points here.
MORE OF:  sharing as much as possible about the event. Involve other communities that could spread the word.

Could we create tailored LinkedIn visuals and text to connect with professionals and event organizers in new regions or continents beyond our current networks, through our networks?

IDEAS: Could I add that it would be great to have as much actionable information as possible? From an individual contributor perspective, cloud sustainability can get overwhelming very quickly, so making sure each meetup has a dedicated slot to a discussion/workshop on how to use one's power as a tech professional could speed up adoption of sustainable practices? If that makes sense.


Reuse qos port for metrics

What is the purpose of the change
Issue Number: close #11649
Brief changelog

The one-time created metricsReporter needs to be registered to beanFactory, so that the BaseCommand spi implementation of qos can obtain.
exportHttpServer is no longer required
The metrics report is at the application level, so the PrometheusMetricsReporterCmd at the frame level needs to traverse the AppModel, and then obtain the corresponding beanFactory implementations.
Http path of qos needs to be modified to support two-level paths, such as xxx:22222/metrics/app1

Whether it is possible to optimize the code that the response results are printed to the log. The indicator results will be printed to the log more often,
The DefaultCommandExecutor will print all the indicator results to the log file (where the indicator content is too long, the log result can be filtered or shortened in another way)
是否可以优化下响应结果打印到日志的那段代码，指标结果打印到日志里面会比较多，
DefaultCommandExecutor中会将指标结果全部打印到日志文件中（指标内容太长了log result的地方可以过滤或者换种日志打印方式缩短下）

Whether it is possible to optimize the code that the response results are printed to the log. The indicator results will be printed to the log more often, The DefaultCommandExecutor will print all the indicator results to the log file (where the indicator content is too long, the log result can be filtered or shortened in another way)
是否可以优化下响应结果打印到日志的那段代码，指标结果打印到日志里面会比较多， DefaultCommandExecutor中会将指标结果全部打印到日志文件中（指标内容太长了log result的地方可以过滤或者换种日志打印方式缩短下）

Added the option not to print

please add  Metrics request  permission  to  public

Codecov Report

Merging #11719 (e81a0fa) into 3.2 (31635d5) will decrease coverage by 0.56%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                3.2   #11719      +/-   ##
============================================
- Coverage     69.36%   68.81%   -0.56%
+ Complexity      341        2     -339
============================================
  Files          3256     1533    -1723
  Lines        153186    63545   -89641
  Branches      25583     9308   -16275
============================================
- Hits         106261    43728   -62533
+ Misses        37529    15564   -21965
+ Partials       9396     4253    -5143

see 1748 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Jenkins "not able to create a project"

This is network issue please refresh again it will work and ensure your network is good or not.


ARROW-5624: [C++] Fix typo causing build failure when -Duriparser_SOURCE=BUNDLED

GLib CI failure on macOS is unrelated. It has been fixed by #4589.
We can merge this when https://ci.ursalabs.org/#/builders/79/builds/1007 is green.


deepEqual is still actually broken as evidenced by the extra test case I added to test/deep.js

I swaped out the stringify() checking to use the deep-equal module which is just assert.deepEqual() that returns true or false instead of throwing. The comparing the strings doesn't seem necessary anymore since the diffs are computed by difflet.

landed like an eagle.


Collaborate with Interviewers to Identify Common Themes and Requirements

As an Operations Engineering team member
I want to collaborate with all the interviewers involved in the stakeholder interviews
so that we can identify common themes, requirements, and insights that emerged across various interviews and consolidate them into a unified set of findings.
Functional Requirements:

Organise a workshop with all interviewers after completing the individual (administrator) stakeholder interviews.
During the workshop, discuss and share individual observations, key takeaways, and interesting insights from different interviews.
Develop a structured method to identify and note down common themes, recurring suggestions, and unanimous requirements mentioned across different interviews.

Non-Functional Requirements:

Create a safe and inclusive environment during the workshop where every participant feels comfortable sharing their observations openly.
Ensure that the collaboration session is organised efficiently, with a well-planned agenda and time allocated for discussing each interview.
Use visual aids or collaborative tools (like Miro, MURAL, etc.) to facilitate a structured and productive discussion.

Acceptance Criteria:

A workshop with all the interviewers has been successfully organised and conducted.
Common themes, requirements, and insights from the interviews have been identified and noted during the workshop.
A unified report summarising all the common findings and potential actions or recommendations is prepared and shared with the relevant stakeholders within a stipulated timeframe.

Notes:

It might be beneficial to have a neutral facilitator to guide the workshop and ensure a productive discussion.
Encourage participants to back their observations with specific examples from the interviews to foster a rich and detailed discussion.
Post workshop, please send a draft of the common findings among the participants for feedback and validation before finalising the report.

Acceptance criteria have been met. After many hours, multiple user stories have been identified and will be reviewed in the coming days/weeks/months.


Problem with unbound config and Microsoft Virtual Adapter

I need a light DNS and i found Unboun. It work fine with ethernet adapter, but i need that it work with WiFi adapter (resolve queries from wireless devices). I use a program to create a hotspot to share the connection and Unbound work good when the computer whit Unbound is connected to another computer. If i disconnect the ethernet from the computer whit Unbound, Unbound can't resolve the queries from wireless devices. It only resolve the queries from wireless devices when ethernet is connected and i share the connection on hotspot way. How i can resolve this problem? I want that Unboun resolve queries from Microsoft Virtual Adapter (it is created when i create a hotspot). Thank

Hi Alejandro,
Thank you for selecting and using Unbound.  We offer community support for our software via our mailing lists, see https://nlnetlabs.nl/mailman/listinfo/unbound-users.  Other enthusiastic Unbound users are also subscribed to this email list and can also provide useful input and answers to your questions.
We use GitHub Issues for bug reports and feature requests.
Best regards,
-- Benno


[<FIREBASE_PRODUCT>]

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.

Hi @heaather
I believe you might have created this issue by inadvertently,
I feel safe to close it since doesn't contain any information;
if you disagree please comment below and I will reopen it
thank you


[ST] Transactions are not shown in scan

Describe the bug
TXs from ETH mainnet struggles to load on scan.
Where did the user initiate this transfer?
Connext UI
Link to ticket in discord
https://app.intercom.com/a/inbox/qge2vd8z/inbox/admin/7089273/conversation/1111?view=List
Additional context
Initiator tx: https://etherscan.io/tx/0x491905172da99db2a4e7713b961c60c305a6ac78f47ff95d12b5cc8449d9eb85
@oncall

Back again with ETH-Linea tx: https://etherscan.io/tx/0xfcce2f2ca1fbe05597eff07701590fc3c19544bcfd35354b1997fbf0cf574b2d


March 2020 Recovery Endgame

[x] Create a milestone <Month> <Year> Recovery owner
[ ] Bump the version number owner
[ ] 🔖candidate issues
[ ] Assign candidate issues to the recovery milestone team
[ ] Review the candidate issues, and if they pass the review assign them to the recovery milestone team
[ ] All candidate fixes are peer reviewed and pushed to master and then cherry-picked into the release branch team
[ ] Initiate insiders build from master
[ ] Issues are tested in the insiders team
[ ] Build stable for all platforms from release branch owner
[ ] Issues are verified on stable build and the verified label is added owner
[ ] Check https://github.com/Microsoft/vscode/compare/release/<x.y> to ensure no other commits have been made in the release branch owner
[ ] Update the release notes and include a link to a query for the fixed issues @gregvanl
Smoketest stable bits  (⚠ MUST run with --stable-build argument ⚠ )

[ ] Windows - owner
[ ] OS X - owner
[ ] Linux - owner

[ ] Sanity check of installable bits

[ ] Windows 32 bit owner

[ ] signed installer 32-bit
[ ] signed user installer 32-bit
[ ] zip 32-bit

[ ] Windows 64 bit owner

[ ] signed installer 64-bit
[ ] signed user installer 64-bit
[ ] zip 64-bit

[ ] OS X - owner
[ ] Linux

[ ] deb package 64-bit owner
[ ] rpm package 64-bit owner
[ ] archives owner
[ ] snap (sudo snap install --classic --dangerous <file>.snap) owner

[ ] Server (instructions)

[ ] Linux owner
[ ] macOS owner
[ ] WIndows owner

[ ] Publish website @gregvanl
[ ] Publish stable build owner
[ ] Add a git tag to HEAD of release/<x.y> in format x.y.z

The 'candidate issues' link filters for the empty 'March 2020 Recovery' milestone, but weirdly all the candidates are on 'March 2020 Recovery 2'

@gjsjohnmurray thanks, fixed the link


Handle Configuration errors by re-injecting configuration files into the configurations channel

fixes #381

Use backoff for all configuration files up to 30s so not to loop intensively over a syntax error

Counters will increase so a prometheus alert could notify of any syntax error that keeps failing to apply

Any server side error should be sorted out with an eventually consistent approach

I added a new module , https://github.com/jpillora/backoff, but i have no idea how to update go.mod and go.sum
UNRELATED Set Gin Mode to release when building through CI so not to waste logs on debug messages from GIN

Please run the following command to add it to go.mod
export GO111MODULE=on
go get github.com/jpillora/backoff

A summary of my discussion with @bonifaido on slack for anyone else reviewing this PR
The idea behind this error handler is to get an "eventually consistent" configuration into Vault.
Right now the configurator can hit errors while applying a configuration file which are recoverable and not due to a syntax error in the configuration file. #381 has a few example of those but in general they fall in the following categories:

An error due to a transient issue on the server side like a failover in progress ( and so no active vault for a short period of time, this time can be shorter or longer depending on the backend used)
An error due to a dependency between vault resources, this is especially true for Identity backend which requires the knowledge of resources IDs , those are only created once the resource is created

At the moment the configurator threat each file as a unit, any error in that file will cause the file to be skipped and never be retried until there is either a change in that file ( the watcher will re-inject the file in the channel) or a brand new configurator pod is create ( for whatever reason)
This Pull request handle this problem by re-injecting a configuration file that errored into the configurations channel, at the end of it, using an exponential backoff sleep up to a minute.
This way it will lead to an eventually consistent configuration for *all recoverable errors
Un-recoverable errors though will keep on retrying every minute or so and they will keep on failing.
Thanks to the configurator metrics exposed for prometheus though an alert is supposed to be raised to the operator to be notified that something in the configuration is wrong and need to be acted on.
This is on purpose , to not have a break out of the apply and increase error, and follow on the idea that having the visibility of a problem is better than a silent failure like we have now.

First thanks for fixing this old issue 👍
For now, I think this implementation is good enough, it will prevent flaky CI errors from happening for example. In the future, we could improve the Prometheus metrics via separate labels for each configuration files and mark them failed as long as they are failed (but still keep the old metrics) and also pull in a backoff that won't loop forever in case of an unrecoverable error. I will create a separate issue for that.


Add more specific rate limit, e.g., up to 10 JSON GETs (or any request) every 10 seconds

I received a huge number of alerts recently: 778 matches (at 2020-09-26 05:02) in a 24-hour period.
Bottom line: Someone tried to spider all our /projects/NUM.json at once, and it failed. That failure then caused many failures.
But it’s not clear why the original request failed. It was starting to take a huge amount of time to generate the JSON (14+ seconds), but normally creating JSON doesn’t take that long. We use a relatively slow mechanism for generating JSON, and could speed it up, but that doesn’t seem to be the real problem. We have rate limits, in particular the limit of 600 GETs every 5 minutes, but the problem hit before the rate limits kicked in.
I have NOT figured out why this happened. That said, it appears that unregulated massive JSON downloads can cause problems, and we don’t need to support that (at the detriment to everyone else). It's possible that it simply made so many unregulated requests that they were queued up & led to extreme delays, though the logs make that hard to support as the sole cause. More likely it's a complicated combination, but if we can reduce one of the causes, we'll reduce the likelihood overall.
PROPOSAL: I propose adding a new rate limit specific to JSON requests, e.g., up to 10 JSON GETs every 10 seconds. It could also just apply to any method using JSON (not just GET). That rate limit will force people spidering the JSON data to be more reasonable & counter this case much more quickly. Even if requestors don’t read any documentation, supporting an average of 1 JSON request/second is easy to figure out just from observation. And while that might not prevent the underlying problem, it will at least reduce the impact.
I welcome other ideas. But rate limiting JSON requests seems easy enough.
I alternatively looked at improving JSON generation time. The project-specific JSON is implemented with Jbuilder, starting with app/views/projects/show_json.json.jbuilder. The actual implementation is in file app/views/projects/_project.json.jbuilder. This all uses Jbuilder.
Jbuilder (which we use for JSON rendering) is simply REALLY slow. If we want it faster, the best long-term solution is to rewrite the JSON generation without Jbuilder:
https://medium.com/nugit-engineering/blazing-fast-rails-view-rendering-15c7f52c1cfa
https://medium.com/@lgmspb/how-we-increased-the-speed-of-json-generation-by-3000-times-ca9395ab7337
https://evanjmg.com/code/2016/03/20/Speed-Up-Rails-API.html
https://www.reddit.com/r/rails/comments/897x9m/do_you_guys_use_jbuilder_why_why_not/
https://www.ruby-forum.com/t/slow-json-rendering/233460/3

The underlying problem seems to be that some spiders are very aggressive about downloading the website. It's not really just JSON.
So here's an updated proposal: Add a new limit for ALL requests EXCEPT badge images. E.g., 10 requests/10 seconds, or 15 requests/15 seconds (controlled by environment variables). With a number lower than the number of threads, we will automatically have reserve to handle something other than the spider, and once we start rejecting the spider's overzealous downloads, the existing requests will be completed. Note that this does NOT include fixed images (these are served by the web server & won't be counted).
We already have a "general" limit, but the general limit includes the badge image displays, and we can't make the general limit too low. After all, a single /projects page will request that page and up to 30 other badge requests.
I think that will help the site stay up with overzealous spiders.

The plan is to have the rate limits easily changed via an environment variable (so no code changes will be needed to change the rate).
Still, I think it's good to try to set a reasonable "default" limit. is 15 requests/15 seconds reasonable? I want a short time, so that we can quickly notice when things are getting out of hand. It could be 30 requests/15 seconds (say) if that's too low a bar. It's good that we're busy, but I want to share the resources. If we must we can scale up with more workers, but those cost money, and it's not clear they're really needed. The application is generally quite snappy when people aren't trying to download everything instantly :-).
Note that the proposed implementation is in #1478.

Why not decide which spiders you are willing to allow (from a search engine and ranking perspective) and just block the rest?

@sunny75016 - we want people to spider the system, as many as possible. We just want them to share :-).


feat: Nat simprocs for simplifying bit expressions

This came up in the context of simplifying proof states for https://github.com/leanprover/LNSym.

@bollu What is it marked as draft?

@leodemoura I wasn't sure if I'd missed something, but I don't think I have, so un-drafting it now.

awiting-review

awaiting-review


Automatically launch experiments inside Kubernetes

Is your feature request related to a problem? Please describe.
AutoX is the much discussed Iter8 feature which launches experiments automatically in Kubernetes when new versions of Kubernetes resources are created. Design this feature.
Describe the solution you'd like
Following is an example of how autox can be used. This is intended to set up autox to kick start load-test-http experiments based on deployment triggers.
1.a Create experiment group config
Configure the experiment group in Kubernetes in preparation for autox. Be sure to supply the autox release name and autox release namespace (to be discussed below). This step does not start an experiment... it prepares the ground for autox to launch experiments in this group in the future. This includes creating the experiment spec  secret.
iter8 k install -c load-test-http -g hello -n test \
--set url=http://httpbin.test/get \
--set autox.releaseName=autoxslos \
--set autox.releaseNamespace=default

1.b Delete experiment group config
This step undoes 1.a.
iter8 k delete -g hello -n test

2.a Install autox
The following command installs the autox controller. In this example, the autox controller is installed in the default (Helm release) namespace, but automates experiments in the test namespace. The name of the autox release is autoxslos.
helm install autoxslos iter8/autox \
--set triggers[0].namespace=test \
--set triggers[0].kind=deployment

2.b Uninstall autox
Use helm uninstall. This step undoes 2.a.
3. Trigger experiment
The following creates a deployment with the right annotation, in order to trigger the experiment.
kubectl create deployment nginx --image=nginx -n test
kubectl annotate deploy/nginx iter8.tools/group=hello -n test

Steps 1.a, 2.a, and 3 are all required to auto trigger an experiment.
4. Report experiment results
A few seconds later ... you can view the report for the auto launched experiment using familiar iter8 commands.
iter8 k report -g hello -n test

5. Automatically remove an autox experiment (autox-unlaunch)
# notice the minus sign at the end of the annotation
kubectl annotate deploy/nginx iter8.tools/group- -n test

6. Remove an experiment group from autox
You can helm upgrade the autox release in Step 2, and follow this up with step 1.b

Known limitations:

The above interaction is not GitOps friendly. This is because of the use of iter8 experiment charts instead of helm charts in steps 1.a and 1.b. We will revisit this question after an initial implementation of autox that accomplishes the above.
What happens if the autox deployment restarts? In the MVP implementation, it will relaunch experiments in every experiment group for which the old trigger and new trigger have a different checksums. Eventually, we will also support diffing customization like argo cd.

Experiment job/cron job/result secret will have experiment spec secret as the owner reference. This way, when iter8 k delete is invoked, it cleans up any experiment job/cron job/result secret associated with the experiment.

The above design necessitates the following changes to Iter8 experiment charts.

service account must be introduced, perhaps as part of  k-manifest template to enable auto launch of experiments by autox. This should be accompanied by rbac permissions needed by this service account (specifically, creating jobs, and deleting the specific job/cronjob)
the job or cronjob that is used as the runner must use a different service account. This service account will have permissions needed to actually perform the experiment (e.g., reading spec secret and updating result secret).
for now, do not disable the required RBACs. We will disable RBACs subsequently (e.g., when we approach projects like code engine which require RBACs to be turned off)
enhance job/cronjon and result secret templates with owner refs
autox switch in manifests
remove istio from spec secret (refer to autox chart)
rename _task_rbac to _k_task_rbac

done


Game broken

When attempting to access this at https://githubtrainingwithsahar.github.io/github-games-natalialojkoext, I am getting a 404. This could be caused by a couple things:

GitHub pages needs to be enabled on master. You can fix this in the repository settings.
the index.html file is incorrectly named inde.html. We will fix this together in class.

Can you please fix the first bullet @natalialojkoext?

Hello,
Done but still doesn’t work.
@.***
From: Sahar Mohammadi @.>
Sent: Wednesday, 16 March 2022 11:12
To: githubtrainingwithsahar/github-games-natalialojkoext @.>
Cc: Lojko, Natalia (external) @.>; Mention @.>
Subject: [githubtrainingwithsahar/github-games-natalialojkoext] Game broken (Issue #1)
When attempting to access this at https://githubtrainingwithsahar.github.io/github-games-natalialojkoexthttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithubtrainingwithsahar.github.io%2Fgithub-games-natalialojkoext&data=04|01|natalia.lojko.ext%40puma.com|4c09a96c3d7f429f0f7508da07357261|cf404960c50f46d28bf3a3c957283b86|0|0|637830223369516335|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=CW%2FaaGIDfcbCSBKKgz45u1BFdOfv0DoqjwGiKuVumN0%3D&reserved=0, I am getting a 404. This could be caused by a couple things:

GitHub pages needs to be enabled on master. You can fix this in the repository settings.
the index.html file is incorrectly named inde.html. We will fix this together in class.

Can you please fix the first bullet @natalialojkoexthttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnatalialojkoext&data=04|01|natalia.lojko.ext%40puma.com|4c09a96c3d7f429f0f7508da07357261|cf404960c50f46d28bf3a3c957283b86|0|0|637830223369516335|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=A%2BHqj0H8Ay%2FINysPNS6fcm9OPZVDrqDfe0XCeH3lWY8%3D&reserved=0?
—
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgithubtrainingwithsahar%2Fgithub-games-natalialojkoext%2Fissues%2F1&data=04|01|natalia.lojko.ext%40puma.com|4c09a96c3d7f429f0f7508da07357261|cf404960c50f46d28bf3a3c957283b86|0|0|637830223369516335|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=HqSUFFtfQBM%2B49D6rbjRK4Fd9HQmNSfpBTnFXFhR%2BSE%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYHNRPQV234SOCHHYPFM5YLVAGXX7ANCNFSM5Q3L6ELQ&data=04|01|natalia.lojko.ext%40puma.com|4c09a96c3d7f429f0f7508da07357261|cf404960c50f46d28bf3a3c957283b86|0|0|637830223369516335|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=wtYfF8vXvcmAceyGlyYit8alDOhaP6q57UESSkdN7oo%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|natalia.lojko.ext%40puma.com|4c09a96c3d7f429f0f7508da07357261|cf404960c50f46d28bf3a3c957283b86|0|0|637830223369516335|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=k1GVSmKXKNBv2EN85PMNLiPsL5grwSMd4HfE%2BDb%2FQSk%3D&reserved=0 or Androidhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|natalia.lojko.ext%40puma.com|4c09a96c3d7f429f0f7508da07357261|cf404960c50f46d28bf3a3c957283b86|0|0|637830223369516335|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=BW5BtKpNQGZfQ7QxUiUflM56s0fDI4PVjEedS1pVhXA%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>
PUMA SE - PUMA WAY 1 - D-91074 Herzogenaurach - Tel. +49 9132 81 0 - Fax +49 9132 81 22 46
Vorstand / Management Board:
Bjørn Gulden (CEO), Anne-Laure Descours, Arne Freundt, Hubert Hinterseher
Vorsitzender des Aufsichtsrats / Chairman of the Supervisory Board: Jean-François Palus
Sitz der Gesellschaft / Registered office: Herzogenaurach - Handelsregister / Commercial Register: Fürth HRB 13085

Please be advised that the information contained herein is confidential and intended only for use by the individual stated above.
If you are not the named recipient, you are hereby notified that any disclosure, distribution, dissemination, or copying is prohibited.
If this information has been directed to you in error, please contact the sender immediately at the telephone number listed above.
Please don't print this e-mail unless you really need to.


Use existing pane for size in transformation

Remove SizerPanel in Navigation and use another (reduced) instance of PositionPanel instead

It's better to reuse things that work, and deprecate things that don't.


Change RISC-V register names in clobbers.

As of right now, asm clobbers of specific registers in Rust only work
with the registers' x-style names, not the a/t/ra names.
Fixes #139.
See rust-lang/rust#60392.

Right?


Missing video: "Applied Accessibility: Add an Accessible Date Picker"

The video for the Applied Accessibility: Add an Accessible Date Picker lecture does not exist.

@beaucarnes


Split CI/CD pipeline logic into multiple files.

Lets add a collected cluster with tekton, and we are good to go.

@HarikrishnanBalagopal once you are done with the changes, please rebase. Currently it has some merge conflicts with the master after the previous PR merge.


Roll engine 3851981b863a..3f52888b3bcf (7 commits)

https://github.com/flutter/engine/compare/3851981b863a...3f52888b3bcf
git log 3851981b863a..3f52888b3bcf --first-parent --oneline
2020-01-07<EMAIL_ADDRESS>Roll src/third_party/skia d445e2b6fcf1..91e0d7526944 (44 commits) (flutter/engine#15232)
2020-01-07<EMAIL_ADDRESS>Font subset (flutter/engine#14828)
2020-01-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from MwGkB... to xYmDF... (flutter/engine#15145)
2020-01-06<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from Kom_K... to nbeLe... (flutter/engine#15149)
2020-01-06<EMAIL_ADDRESS>Roll src/third_party/skia 6791ee2f8059..d445e2b6fcf1 (1 commits) (flutter/engine#15148)
2020-01-06<EMAIL_ADDRESS>Roll src/third_party/dart 76e3faa9824e..bebc7d3af5bd (1 commits) (flutter/engine#15146)
2020-01-04<EMAIL_ADDRESS>Roll src/third_party/dart 2f57602411b3..76e3faa9824e (37 commits) (flutter/engine#15143)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Trybots failed. These were the failed builds: https://github.com/flutter/flutter/runs/378522551

Commit queue failed; closing this roll.


feat: Add support for environment variables and images in include paths

Thank you for the project! It is very helpful!
It would be interesting to be possible to use envs and pass images in the include paths, as follows:
>>> include
$SOME_ENV/path/to/images/image.png

A suggested solution: https://github.com/madox2/vim-ai/pull/134

Image support added


Owntrack - location update throws exception in zone.active_zone

Home Assistant release (hass --version):
0.14.2
Python release (python3 --version):
3.5.1
Component/platform:
Ubuntu
Description of problem:
Getting a error with owntrack
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

zone:
name: Home
latitude: 51.730986
longitude: 4.960604
radius: 250
icon: mdi:home
2.
device_tracker:
platform: owntracks
3.
mqtt:
broker: m10.cloudmqtt.com
port: 27914
username: ****
password: *****
Traceback (if applicable):
INFO:homeassistant.core:Bus:Handling <Event mqtt_message_received[L]: topic=owntracks/rmskddeh/Tarik, payload={"_type": "location", "lat": "51.7328779", "lon": "4.9653251", "tst": "1457191097", "acc": "1400.0"}, qos=0>
ERROR:homeassistant.core:BusHandler:Exception doing job
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/core.py", line 789, in job_handler
func(arg)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/mqtt/init.py", line 89, in mqtt_topic_subscriber
event.data[ATTR_QOS])
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/owntracks.py", line 61, in owntracks_location_update
see(**kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/init.py", line 205, in see
battery)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/init.py", line 342, in seen
self.update()
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/device_tracker/init.py", line 357, in update
self.gps_accuracy)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/zone.py", line 50, in active_zone
within_zone = zone_dist - radius < zone.attributes[ATTR_RADIUS]
TypeError: unsupported operand type(s) for -: 'float' and 'str'
Additional info:

Looks like there is a zone entity with a string radius. We should change the zone component to use util.convert here


Disable close browser

Hi!
How to disabling browser closure after scenario finishes?
Thanks

Hey @Franclayton
There is no option to do that now.
What's the case, why do you need that?

Hi!
because using Specflow + Selenium I can close the browser or not using Driver.Quit () in a method annotated with the hook BeforeScenario.
Is it possible to run tests with the --headless option for the browser? Is it possible to add this capability?

Now Driver.Quit() is configured in [TearDown]. So no support of AfterScenario.
What's the case to use this hook?
About headless:
--headless and other options can be passed into capabilities
<autofac>
  <components>
      <component name="YourHeadlessBrowser" type="Unickq.SpecFlow.Selenium.Local.ChromeDriver, Unickq.SpecFlow.Selenium.SpecFlowPlugin" service="OpenQA.Selenium.IWebDriver, WebDriver" instance-scope="per-dependency">
        <parameters>
          <parameter name="capabilities">
            <dictionary>
              <item key="arguments" value="--window-size=1900,1050 --headless" />
            </dictionary>
          </parameter>
        </parameters>
     </component>
   </components>
</autofac>

Thank you for your help! The headless one worked perfectly.
About Driver.Quit is the same or the other to leave the browser open for testing and viewing a web interface.
Can you override [TearDown] to not close the browser?

@Franclayton
I think it's possible now without code change.
But you can use Debug mode and configure SpecFlow for debugging and use breakpoints in a generated file to avoid browser quit.
<generator allowDebugGeneratedFiles="true"/>


Specify the main entry point for angular2-in-memory-web-api

Overview of the Issue
Today I was following both 5 minutes quickstart and tour of heroes tutorial. Great resources!
What I found is that in systemjs.config.js example shown in 5 minutes quickstart the main entry point for angular2-in-memory-web-api is not set. On the other hand it is properly set everywhere else, eg here.
Not having this field set is causing following errors once one gets to the last part of the tutorial:
zone.js:101 GET http://localhost:3000/node_modules/angular2-in-memory-web-api/ 404 (Not Found)
node_modules:17 Error: Error: XHR error (404 Not Found) loading
```

***Motivation for or Use Case***

This won't be an issue for someone who is following `Run the live example` links to Plunker or is using code from https://github.com/angular/quickstart.

Nonetheless, if someone (like me for example) took this advice:

>Create a folder called angular2-tour-of-heroes and follow the QuickStart steps which provide the prerequisites, the folder structure, and the core files for our Tour of Heroes.

and used the `systemjs.config.js` mentioned above, one will run into some issues.

**Operating system**
OS X El Capitan Version 10.11.5

**Browsers**
Chrome Version 51.0.2704.63 (64-bit)

**Suggested Fix**

Change [this line](https://github.com/angular/angular.io/blob/master/public/docs/_examples/quickstart/ts/systemjs.config.1.js#L21) to `'angular2-in-memory-web-api': { main: 'index.js', defaultExtension: 'js' },`

Fix on its way.
Thank you.

We know. We fixed and merged it. Awaiting publication


Introduce —swarm-join-opt to pass options to agent nodes Fixes #3285 Fix regression introduced by PR #3287

Signed-off-by: Nicolas De Loof<EMAIL_ADDRESS>

LGTM

Thanks Nicholas!


How to query current MRV2 version via Python

How do I query the current version of MRV2 via the Python API?
I would've expected a cmd.getVersion() function to exist, to return e.g. "0.7.9"

You are right, there's no such function.  I added it to the beta branch.  I am waiting for the beta branch to compile fine on all platforms and then I'll merge it into main.
Are you compiling from source, or downloading the betas from sourceforge.net btw?

I'm currently downloading the releases each time and just reporting issues as I go. (Sorry for the spam of issues, hehe)
Haven't had the need to compile myself for my current development.

Added in HEAD.


Fix upload metadata

With the help of @pganssle

Summary of changes

Closes
Pull Request Checklist

[ ] Changes have tests
[ ] News fragment added in changelog.d. See documentation for details

Isn't the upload command deprecated?

@benoit-pierre Yes. Per #1381, we're going to fix this because this bug has been poisoning PyPI with bad metadata, and for better or for worse, people do keep using setup.py upload.

@jpurviance Why did you close and delete the branch?


[Enhancement] : Checkbox widget reskinning

https://www.notion.so/appsmith/Checkbox-b8a235faf3b74fa2aff59f68cafc0c05

@jsartisan  Label are not aligned in checkbox when we change the text size.

@vivekverma2312 unfortunately this is a known issue which we are unable to fix as part of reskinning as this needs a change in properties. However, the checkbox moving out of bounds looks like an issue

Thanks for the update @dilippitchika . So the checkbox going out of bound need to be fixed in this PR or shall I raise a separate issue for that?

You can create a separate issue for it @vivekverma2312


[Content] Update Parachain RTUs

Content request
https://docs.substrate.io/how-to-guides/v3/parachains/runtime-upgrades/
https://github.com/substrate-developer-hub/substrate-docs/edit/main/v3/how-to-guides/07-parachains/d-runtime-upgrades/index.mdx

it would be really useful if the HTG also added the srtool bit to identify the codehash since it seems to be the recommended approach.

https://github.com/paritytech/srtool
:wave: @chevdor and @samelamin:
Would you be down to help write and/or review this? (no pressure!)

Yes, I can help review and feel free to ping me if you have questions.

I would love to help review, I dont have the capacity to write it just yet though as I myself am not clear how to upgrade


[request] finding and changing offsets tutorial

can we have a vid or an article here to explain how self-updating the program works? I would love to contribute in updating this program if the repo owner ever got lazy or didn't have time.  I remember the main had a tutorial somewhere but since it is archived I can't view it anymore.
much love ♥

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

its a virus on top of my comment dont use it

yeah I asked for an explanation not a link to a sus mediafire file xD didn't click it even.


merge from template-arlac77-github

.github/workflows/ci.yml

chore: add<EMAIL_ADDRESS>(jobs.test-node.steps.uses)
chore: add<EMAIL_ADDRESS>(jobs.test-browser.steps.uses)
chore: add<EMAIL_ADDRESS>(jobs.release.steps.uses)

.github/workflows/codeql_analysis.yml

chore: add<EMAIL_ADDRESS>(jobs.analyze.steps.uses)

.github/workflows/update_package_lock.yml

chore: add<EMAIL_ADDRESS>(jobs.update_package_lock.steps.uses)

.github/workflows/update_readme_api.yml

chore: add<EMAIL_ADDRESS>(jobs.update_readme_api.steps.uses)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
167

Relevant Lines:
174

💛  - Coveralls


Delta functions only showing JavaScript sample

We should investigate why delta functions are not showing code snippets other than JavaScript.
Example: https://learn.microsoft.com/en-us/graph/api/event-delta?view=graph-rest-1.0&tabs=http#response

This is a http tab issue. There should be no empty line between the request line and the Header list. The empty line should be between the headers and the request body and thus the header is "trying" to be parsed as a request body blocking snippet generation. https://github.com/microsoftgraph/microsoft-graph-docs/pull/20920

Snippet updated at https://learn.microsoft.com/en-us/graph/api/event-delta?view=graph-rest-1.0&tabs=http#response


bottom tab bar added

Reviewed ! , @hashirshoaeb you are good to go

Reviewed ! , @hashirshoaeb you are good to go


Add queen attack exercise

I took all the tests from the xruby version except left one out for being overly redundant

@dalexj this is great! I think I have just a few comments before we merge.

Thanks @dalexj :tada: I'm going to go ahead and merge this.


refactor: update sbt-by-example

I love this guide. I always recommend it to new people getting starting with sbt. The last couple times I did however they always came back to me ab out certain things not working anymore, mainly the console examples. I decided to just go through the whole thing myself and update all of the examples using a more modern sbt version and updating the output to match. There is also a couple other choices that I made while updating things like:

Changing the weather site we use as an example since it no longer is active
Changing the libraries being used from gigahorse to sttp and Play JSON to uJson. I didn't do this just because but rather to more align with the libraries that are being used by the scala toolkit. Hopefully people will be a bit more familiar with these as I don't assume a newcomer to Scala will be using gigahorse or really Play JSON unless they are using Play!. If this isn't ok, let me know and I can try to recreate it using the old libraries, but I think these examples are clearer.

Running the ref/example-weather I get:
[info] + ref/example-weather [PENDING]
[error]  Pending test passed. Mark as passing to remove this failure.
[error] stack trace is suppressed; run last scripted for the full output
[error] (scripted) Failed tests:
[error]         ref/example-weather

I don't see any errors though when it runs so I don't fully get what is failing here or why this is marked PENDING?

Thanks for doing this, @ckipp01!

Thanks for the contribution @ckipp01! I'm on vacation and I haven't had chance to look into the details yet.

Alright, so I switched out the usages of explicit dependencies to instead use the toolkit and toolkit-test. This should be good for a review now!


plugins.SSHKeys.pslist

i have the following error when i tried to run from volatility3:
Unable to validate the plugin requirements: ['plugins.SSHKeys.pslist']
can you help me ??

I think my pull request solves this. Plugin requirements are outdated and the way it interacts with the framework had to be changed.
So to solve this specific issue, change (1, 0, 0) to (2, 2, 0) or the version you are using. But this will lead to other issues (that I fixed)

#8 was merged, please check if this fixes the issue.


Fix Spruce sponsor

The Spruce logo broke. I replace it with SVG.

Well there is no good solution here. Inline url & data urls don't work. I'll merge for the README tho.


[.NET] Add support for card-level selectActions

I've added support for card-level selectAction and have a couple of general observations for selectAction:

Inline ShowCard doesn't work
Date input in popup card doesn't work
Action.Submit contains data from various Input elements
Overlapping selectActions are all triggered when clicked

Since these behaviors are shown for all kinds of selectAction (in Container, ColumnSet, Image), I should ignore them for this issue and create other issues right?


ng e2e running into pipelines' butbucket with a docker image

Issue
My e2e test with Protractor does not run like expect because I do not know how to create/run docker images in pipelines of Bibucket when the test runs. Could you help me?
Versions
Version 1.5.4 of Angular CLI;
Latest version of Docker for Windows;

### Repro steps
* Coded my e2e test with Protractor
* Configured bitbucket-pipelines.yml file to do a commit.
* I have a proxy file "proxy.conf.json"
* In local storage, I start the Docker image that uses the MongoDB
* run "ng e2e --proxy-config proxy.conf.json" and the test executes all of all specs successfuly
* when I commit my project to Bitbucket, I see the e2e test running in pipelines page, but the test does not run like expect because there are not Docker images running.

### Desired behavior
* I need to run this e2e test in pipelines page of Bitbucket when I commit my repo.

You can see an example for bitbucket with ng-cli docker image here: https://github.com/trion-development/docker-ng-cli-e2e/issues/1

Thanks, everflux! This example was helpful.


drivers: serial: added UART interrupts for Raspberry Pi Pico board

Added UART Interrupt Driven driver for Raspberry Pi Pico board.
Signed-off-by: Andrei-Edward Popa<EMAIL_ADDRESS>

@dcpleung Hi! Can you review my code? :)


Added a new index

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

I guess rather than "Virtual Reality", "Extended Reality" Might be better
because it covers all the aspects of "Augmented Reality", "Virtual Reality"
and "Mixed Reality".
On Sun, Jan 15, 2023 at 1:14 AM Eric Hellman @.***>
wrote:

@.**** commented on this pull request.
In books/free-programming-books-subjects.md
https://github.com/EbookFoundation/free-programming-books/pull/9263#discussion_r1070403134
:

@@ -916,6 +917,13 @@ Kerridge (PDF) (email address requested, not required)

Version Control with Subversion - Ben Collins-Sussman, Brian W. Fitzpatrick, C. Michael Pilato

+### Virtual Reality

+* AUGMENTED REALITY - José María Ariso (Ed.)
+* VIRTUAL REALITY - Steven M. LaValle
should use this url: http://lavalle.pl/vr/
We don't use ALL CAPS titles.
I'm wondering why use "virtual reality" for "augmented reality" and
"exgended reality". Might these be better under "graphics programming" or
"game development? The is a virtual worlds book in Game development.
Be sure to check the free-programming-books-lint output for linter errors.
Alphabetical order and spacing are the most common problems.
—
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/pull/9263#pullrequestreview-1248978075,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVCJZDIR7C47QX55XVAEHRTWSMCMBANCNFSM6AAAAAATY3OKOQ
.
You are receiving this because you authored the thread.

Message ID:

@.***
.com>

i think you should sort from alphabet.

Thanks for persevering with this.
Welcome to free-programming-books!


feature: Slide new tab in from left if it has a parent tab

todo: add a no-animation class to the parent tab to stop the slide-down effect as it becomes unselected (a little lost on how to do this.... if anyone has advice, @bwinton @victorporof?)
noanimation class is added to parent tab, and removed 400ms later, this is not perfect, but works for the prototype
Fixes: https://github.com/victorporof/tofino/issues/27.

yes, that's my mistake, while linting I removed 0px for 0 in calc(0 - var(--theme-tab-open-width)); and the calc stopped working.

@ericawright eh, that's the linter's mistake? browser's mistake for not implementing calc properly? no matter, it works now!


confused with the resulting semantic map

thanks for open-source the great job suma++！
I‘m confused the result. Why the resulting semantic map is black(fig 1) , not the semantic colors , just like it in your paper(fig 2)
-fig1
-fig2

fig1

fig2

Hey @DayDayUpUpUp666, thanks for using our code!
It seems a problem with semantic segmentation. You may first check the rangenet_lib: https://github.com/PRBonn/rangenet_lib

Thanks for reply @Chen-Xieyuanli ！
I think the semantic segmentation is right , but when i want to look the whole semantic map (i choose the 'show history'), it's black
 this figure is the segmentation result

this is the 'show history' , the semantic segmentation becomes black

Show history will only show the raw point clouds with intensity information. The semantics are stored in the map. To visualize the map, you may better disable the history point clouds.
To visualize the whole surfel map, you may also change the size of the submap, since, for efficiency, we only load the tile of the submap.

Thanks！ I’ll try later. Best Wishes!

Hello, I set "submap-extent" to 100, but there were other issues, and after a period of time, the segmentation results were incorrect. Have you encountered similar errors? I submitted a new issue for detail. https://github.com/PRBonn/semantic_suma/issues/67


fixed a bug in RTRIM implementation, fixed issue #9558

Scope & Purpose
Fix Github issue #9558

[] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)
[ ] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)
[x] The behaviour change can only be verified via automatic tests

Related Information

[x] There is a GitHub Issue reported by a Community User: #9558

Testing & Verification
This PR adds tests that were used to verify all changes:

[x] Added Regression Tests (Only for bug-fixes)
[x] Added new integration tests (i.e. in shell_server / shell_server_aql)

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5400/

Tests blue


Updates to uwsgi configuration

Reverting settings to previous values

Links:

https://hypothes-is.slack.com/archives/C4K6M7P5E/p1723814772826489
https://hypothes-is.slack.com/archives/CR3E3S7K8/p1723736617954919
https://github.com/hypothesis/playbook/issues/1747

As noted in https://github.com/hypothesis/viahtml/pull/697 we changed the previous values because users were encountering issues with pages hanging during a load. What would happen when loading a page with many subresources is that some of the subresources would be fetched, and then a point would be reached where requests would hang for exactly 60 seconds before timing out. To end users this appeared as the page hanging. The previous changes added more workers to handle requests and did improve the situation. Now it looks like we've hit a different problem. We should do something here, but I don't want to just revert the settings back as I think this will lead to a worse situation. You've found that increasing the instance's CPU resources helps, so that's something we can do if we need to make an improvement in a hurry and are willing to accept the cost.
I will have a poke around later this week and see if I can see other options.

I'm away next week and I won't have time to properly look into ViaHTML before then. If we need to do something urgently I suggest we simply increase the instance size again.

The reason for the 504 responses turned out to be due to requests stuck in deadlocks, as opposed to not having enough workers. See Slack thread and urllib3 downgrade fix.


Style and Preferences divs are shown on the bottom of the documentation page

See broken rendering http://hackage.haskell.org/package/ngx-export-1.7.1/docs/NgxExport.html.
I created a documentation for the package on Fedora 31 with ghc 8.8.3, Cabal <IP_ADDRESS> (the same with Cabal <IP_ADDRESS>), Haddock 2.23.0. The menus gets unhidden only on the hackage page: when I open the page with file:///..., I get correct behaviour (I tested that the tar archive sent to the hackage and the directory tree are the same). I checked that the bundled linuwial.css and haddock-bundle.min.js are equal to the latest versions on the github.
Checked in Firefox 75.0 and latest Chromium. The Firefox Web inspector shows display: block for style-menu on hackage, and display: none on file:///....

Hmm, it's fixed itself after 12 hours. Closing the issue.


feat: Expose instance type to the data plane

Description
The data plane needs to know the type of an instance (instance_type).
MGDSTRM-7957
Verification Steps

Start a cluster (ocm or crc).
Deploy kas-fleet-manager to the cluster.
Observe the cluster YAML for the newly added labels.

Checklist (Definition of Done)

[ ] All acceptance criteria specified in JIRA have been completed
[ ] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has created for changes required on the client side

Thanks for the feedback @JameelB, slipped in twice, both resolved now :)

Thanks for the feedback @machi1990.

I'll be adding some integration testing next.
Good idea, i was wondering about the kafkaRequest.InstanceType. Thanks for the help.

Thanks @JameelB


Make it possible to filter on records without a department

Enhancement
Make it possible to filter on records without a department
Reference to #601

cf. #915

Thanks, I'll think of a label that people outside of our development world can quickly understand as well.

See https://github.com/ugent-library/biblio-backoffice/pull/1078

@mietcls for the files, I have made With files and Without files because there are two options

@netsensei I have also "fixed" the link from the dashboard to the list of publications and datasets for a missing faculty


Authenticating a User with LDAP guide has multiple errors

The 'Authenticating a User with LDAP' guide - https://spring.io/guides/gs/authenticating-ldap/ has some errors that need to be corrected:

The 'Application.java' class definition is repeated with no difference between the two; so the second one is unnecessary.

The 'WebSecurityConfig.java' class has incorrect annotations used, which are now deprecated. The annotations below the code(i.e. in the description) are correct, but in the code are wrong.

Wrong import:
import org.springframework.security.config.annotation.web.servlet.configuration.EnableWebMvcSecurity;
Correct import:
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
Also the annotation 'EnableWebMvcSecurity' on line 11 needs to be changed accordingly.

Resolved via https://github.com/spring-guides/gs-authenticating-ldap/commit/e2bee44edfbaa38434b592e45f12c3f70646f046


Update SQL Server state store

What content needs to be created or modified?
The SQL server state store will create the database if it is missing and the docs need to be updated to reflect that.
Describe the solution you'd like
Update docs to make it clear the database will be created if the user has permissions.
State the defaults that will be used for table and database names.
Where should the new material be placed?
In the original location for SQL State Store
Additional context
This goes with issues 798 of the components-contrib repo.

@DarqueWarrior since you are the owner of the PR, can I assign this doc update to you?

Sure

Looking into this now.


⚠ Processors has degraded performance

In b36aa16, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 42 ms

Resolved: Processors performance has improved in 0cca211.


Losing pyannote/whisper on template restart in Unraid

Howdy, so i can install everything easily using the updated template pointed to the nightly release, however if i restart the template and try and use it again, i'm getting this error:
DEV MODE -----> false
stderr: Traceback (most recent call last):
  File "/app/./diarize/local.py", line 2, in <module>
    from pyannote.audio import Pipeline
ModuleNotFoundError: No module named 'pyannote'

Not sure exactly why it's being deleted, it's almost as if nothing is being saved to the folders i define it to while setting up, because i can't find the whisper files either.

Any ideas?

The nightly is behind. Use 0.3.0 that's the currently tested working one. Either ways what you're experiencing is weird.
Could you share the docker compose you used please ?
When the app started did the configuration wizard run ?

So looks like pointing to 0.3.0 instead of nightly fixed the issue...i've done a few restarts/stopping/starting of the docker template and functionality is retained with no issue, so i think i'm ok on that one. I also had to add PUID/PGID/UMASK info to the template but that's moreso on the template creator then the actual app so i'll let them know.
The only issue i have now is diarization is hit or miss...but i think that's moreso of my source material (i've been testing with random youtube clips but they have background music so i'm assuming that's causing issues, i've done a few other voice files with just voice and it works well).
Only other question i have is using LocalAI (https://localai.io/) and point to it using it's API instead of a seperate ollama process, in whether or not it's supported? I tried pointing to a llama model but it wasn't working for me, but i think the error was related to my hardware.

Ollama is supported. Anything that uses a similar api will work.
The diarization can be improved and I'm working on adding a couple different algorithms to improve things. But yes stuff like background noise will throw it off


Added bids ttl value to the external config file #101

Okay, fixed

Thank you so much @griffobeid
And congratulations on doing your first open source pull request 🍾

Please join us in our gitter channel where we discuss DAV, and more opportunities to get involved with open source :octocat:


Support of tracking new remote branches

It seems that currently if someone else pushes a new branch to a remote repo (which you've cloned already), there is no way of showing/tracking that new branch in Elegit.

Turns out we do have support for that


fix: emotion styles broken

Try out this version of the Hiro Wallet - download extension builds.

Having removed babel in place of esbuild, I'd missed some of the styles being broken/off. This is because the @emotion/babel-plugin is required for some css-in-js features.
To remedy this, I've added back babel, with only this plugin. This slows the build, but doesn't break the source maps in the way it did previously.

@kyranjamie I am still seeing broken styles in the new send form, what am I missing:

Not sure why the padding isn't working here on the Flex element?

@fbwoolf will have a look now


Update UserGuide

Codecov Report

Merging #62 (d051907) into master (7aacdd8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #62   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


OU-527: Add TraceQL auto-completion and syntax highlighting

Add TraceQL auto-completion and syntax highlighting
Resolves: https://issues.redhat.com/browse/OU-527
Screenshots

/lgtm this looks great. Does it work in dark mode?

/lgtm this looks great. Does it work in dark mode?

Yes, it switches the CodeMirror theme to dark mode if dark mode is enabled:

/lgtm


feature/spring_upgrade

Upgraded spring, spring-boot and logback

Spring boot drive so many dependencies... jackson version break build will have to check or enforce when required.

@clun I am working on it.


⚠ Jenkins Plugins Artifactory has degraded performance

In 10882e2, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1710 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 7000ab0 after 28 minutes.


TypeError: 'NoneType' object is unsliceable

---- (full traceback above) ----
File cli.py, line 254, in <module>
    spacy_main(**args)
File /home/torstein/code/fintechdb/nlp/catml/catml_spacy.py, line 137, in main
    nlp.update(texts, cats, sgd=optimizer, drop=dropout, losses=losses)
File /home/torstein/anaconda3/envs/nlp/lib/python3.7/site-packages/spacy_pytorch_transformers/language.py, line 98, in update
    backprop_tok2vec(docs, sgd=sgd)
File /home/torstein/anaconda3/envs/nlp/lib/python3.7/site-packages/spacy_pytorch_transformers/tok2vec.py, line 132, in finish_update
    backprop(gradients, sgd=sgd)
File /home/torstein/anaconda3/envs/nlp/lib/python3.7/site-packages/spacy_pytorch_transformers/tok2vec.py, line 381, in sentence_bwd
    for i in range(len(d_doc_acts))
File /home/torstein/anaconda3/envs/nlp/lib/python3.7/site-packages/spacy_pytorch_transformers/tok2vec.py, line 381, in <listcomp>
    for i in range(len(d_doc_acts))
File /home/torstein/anaconda3/envs/nlp/lib/python3.7/site-packages/spacy_pytorch_transformers/util.py, line 83, in split
    last_hiddens = ops.unflatten(self.lh, lengths)
File ops.pyx, line 135, in thinc.neural.ops.Ops.unflatten

TypeError: 'NoneType' object is unsliceable

debugging reveals that self.lh is None.
spacy                      2.1.7
spacy-pytorch-transformers 0.0.1
thinc                      7.0.8

package   en-pytt-bertbaseuncased-lg   en_pytt_bertbaseuncased_lg   2.1.0   ✔

Code:

def main(
    model,
    df_path,
    output_dir,
    n_iter,
    use_gpu,
    dropout,
    learning_rate,
    adam_beta1,
    adam_beta2,
    exclusive_classes,
    arch,
    batch_start,
    batch_max,
    l2,
    **kwargs,
):
    nlp = spacy.load(model)  # load existing spaCy model

    # add the text classifier to the pipeline if it doesn't exist
    # nlp.create_pipe works for built-ins that are registered with spaCy
    if "textcat" not in nlp.pipe_names:
        textcat = nlp.create_pipe(
            "textcat",
            config={
                "exclusive_classes": exclusive_classes,
                "architecture": arch,
            }
        )
        nlp.add_pipe(textcat, last=True)
    # otherwise, get it, so we can add labels to it
    else:
        textcat = nlp.get_pipe("textcat")

    print("Loading data...")
    (train_texts, train_cats), (dev_texts, dev_cats), labels = load_data(df_path)
    for label in labels:
        textcat.add_label(label)

    logging.info(
        f"Using {len(train_texts)} training examples, "
        f"{len(dev_texts)} evaluation examples, "
        f"{len(labels)} labels."
    )

    train_data = []
    for text, cat in zip(train_texts, train_cats):
        tcat = {label: False for label in labels}
        tcat[cat] = True
        train_data.append((text, {'cats': tcat}))

    print("All pipe names:", nlp.pipe_names)
    if 'pytt' in model:
        cm = contextlib.nullcontext()
    else:
        # get names of other pipes to disable them during training
        other_pipes = [pipe for pipe in nlp.pipe_names if pipe != "textcat"]
        cm = nlp.disable_pipes(*other_pipes)   # only train textcat

    with cm:
        optimizer = nlp.begin_training()
        optimizer.alpha = learning_rate

        def signal_handle(_signal, frame):
            # Handle CTRL-C and whatever else causes premature exit
            if output_dir is not None:
                inp = ''
                while inp not in ['y', 'n']:
                    inp = input("Premature exit. Save model? Y/N: ").lower()
                if inp == 'y':
                    save_model(nlp, optimizer, output_dir)
            sys.exit(0)

        signal.signal(signal.SIGINT, signal_handle)
        signal.signal(signal.SIGTERM, signal_handle)

        print("Training the model...")
        logging.info(
            "{:^5}\t{:^5}\t{:^5}\t{:^5}\t{:^5}\t{:^5}".format(
                "ITER", "LOSS", "ACC", "LOG-LOSS", "COVER", "BATCH-SZ"
            )
        )
        batch_sizes = compounding(batch_start, batch_max, 1.001)
        for iteration in range(1, n_iter + 1):
            losses = {}
            random.shuffle(train_data)
            batches = minibatch(train_data, size=batch_sizes)
            fst_batch_size = None
            for batch in batches:
                texts, cats = zip(*batch)
                nlp.update(texts, cats, sgd=optimizer, drop=dropout, losses=losses)
                if fst_batch_size is None:
                    fst_batch_size = len(texts)
            with textcat.model.use_params(optimizer.averages):
                scores = evaluate(nlp.tokenizer, textcat, dev_texts, dev_cats, labels)
            logging.info(
                "{0}\t{1:.4f}\t{2:.2f}%\t{3:.3f}\t\t{4:.1f}%\t{5}".format(
                    iteration, losses["textcat"], scores['accuracy'], scores['log-loss'],
                    scores["cover"], fst_batch_size
                )
            )

There are a few things in your code that might cause Thinc to fail not-so-gracefully here. Could you try changing the following and see if it solves the problem?

nlp.begin_training()

You probably want to change this to nlp.resume_training(). If you're calling begin_training, spaCy will try to reinitialize all the weights, which is not what you want in this case.

textcat = nlp.create_pipe("textcat")

If you want to use the transformer models, you'll need to also use the transformers-compatible "pytt_textcat" component.

other_pipes = [pipe for pipe in nlp.pipe_names if pipe != "textcat"]

This should also be "pytt_textcat", and for the transformer models, make sure you're not accidentally disabling the sentencizer pytt_wordpiecer and pytt_tok2vec. Those are all needed during updating.

Thanks! Creating a pytt_textcat pipe instead worked.
The pytt_textcat does not take an arch config parameter (CNN vs BOW) like its non-pytt equivalent. I've looked for the classifier head architecture in the source code, but cannot find it - does it default to ensemble?
Also, regarding the use of begin_training vs. resume_training: Should not the TextCat example (https://spacy.io/usage/training?#textcat) use resume_training if it is not passed a blank model?


Add interfaces to fit!

Currently fit! takes features_df and labels_df. We could also add an interface for fit!(df, label_names, feature_names). This avoids copying of data from the original dataframe

Closing this for now. It would cause method ambiguities with the new functionality I am adding for passing both the training and validation set to a model.


How to avoid tap while doing swipe?

Describe the bug
Whenever I swipe to see the options, the touch triggers the tap and goes to a child's view. I would like to know if there is any way to differentiate between tap and swipe.
Not sure if this qualifies as the bug but I really need help.
To Reproduce
In render item return TouchableHighlight and give onPress event to it. When you try to swipe it will trigger the onPress function as well.
Environment (please complete the following information):

OS: Android & iOS
RN Version: 0.60.5

Hi @mohitmishra22 can you confirm you have set up your Touchable exactly in this way:
https://github.com/jemise111/react-native-swipe-list-view/blob/master/SwipeListExample/example.js#L128
I do not see the onPress triggered when I swipe the row
Also see this note please: https://github.com/jemise111/react-native-swipe-list-view#note
If you have any other info that would be very helpful

I'm having a similar problem. I'm not using TouchableOpacity, I'm using TouchableHighlight. When I swipe the onPress for the Touchable is firing.

I experienced this - it turned out I was importing TouchableHighlight/TouchableOpacity from react-native-gesture-handler. Importing from 'react-native' solved it.

Closing as inactive, and possibly solved

I experienced this - it turned out I was importing TouchableHighlight/TouchableOpacity from react-native-gesture-handler. Importing from 'react-native' solved it.

In my case, the solution was to do exactly the opposite.

I experienced this - it turned out I was importing TouchableHighlight/TouchableOpacity from react-native-gesture-handler. Importing from 'react-native' solved it.

In my case, the solution was to do exactly the opposite.

Same, works for me @FGhavamian

I have tested on both react-native-gesture-handler and react-native. OnPress still fired when swiping, any update?

I am experiencing the same issue


enhancement!: Make the test server fully configurable

This change makes it possible to construct a test server using all the
possible Cerbos configuration options.

Add WithConfig option to load configuration from a reader
Add WithConfigKeyValue option to add individual config options
Rename WithPolicyRepositoryDatabase to WithPolicyRepositorySQLite3
because the former wasn't very useful for configuring other databases.
Refactor config code to make it easier to test without affecting
global state.
Refactor some function names to maintain consistency.

Signed-off-by: Charith Ellawala<EMAIL_ADDRESS>

Codecov Report

Merging #747 (481b506) into main (695fda3) will increase coverage by 0.29%.
The diff coverage is 52.53%.

@@            Coverage Diff             @@
##             main     #747      +/-   ##
==========================================
+ Coverage   54.20%   54.49%   +0.29%
==========================================
  Files          96       96
  Lines       10128    10162      +34
==========================================
+ Hits         5490     5538      +48
+ Misses       4169     4145      -24
- Partials      469      479      +10

Impacted Files
Coverage Δ

internal/audit/local/badgerdb.go
63.80% <0.00%> (+0.60%)
:arrow_up:

internal/audit/log.go
51.94% <0.00%> (-1.39%)
:arrow_down:

internal/storage/blob/store.go
40.57% <0.00%> (ø)

internal/storage/db/mysql/mysql.go
57.31% <0.00%> (ø)

internal/storage/db/postgres/postgres.go
47.05% <0.00%> (ø)

internal/storage/db/sqlite3/sqlite3.go
28.88% <0.00%> (ø)

internal/storage/db/sqlserver/sqlserver.go
64.34% <0.00%> (ø)

internal/storage/disk/disk.go
2.17% <0.00%> (ø)

internal/storage/git/store.go
54.04% <0.00%> (ø)

internal/config/config.go
52.77% <47.05%> (+19.11%)
:arrow_up:

... and 14 more


[CP] Upgrading to Xcode 14.3 will not build when plugin transitive dependencies have a low deployment target

issue_link
https://github.com/flutter/flutter/issues/126449
Original issue: https://github.com/flutter/flutter/issues/124340
Commit Hash
c60f20
Target
stable
pr_link
https://github.com/flutter/flutter/pull/126548
Impacted Users
App developers running latest Xcode building iOS or macOS apps with certain plugins, including some firebase plugins
Impact Description
When running latest Xcode (14.3) iOS and macOS apps will not build when using certain plugins that have dependencies with very low iOS target versions. This includes any apps that use firebase_auth.
Workaround
See https://github.com/flutter/flutter/issues/124529
Risk
low
Test Coverage
yes
Validation Steps
See https://github.com/flutter/flutter/issues/124529

Marking this as approved as we already CP'd it into 3.7

landed on stable

Sorry, I'm on stable and the latest version is 3.10.0 (6 days ago),
how do I get this fix?

If you want to stay on stable, you would wait for the next stable release (3.10.1). It's currently on a cherry-pick branch.

If you want to stay on stable, you would wait for the next stable release (3.10.1). It's currently on a cherry-pick branch.

how can i get this to run now? I tried switching to dev, and flutter upgrade, but still get the same error. I need to build a new app version

I tried switching to dev, and flutter upgrade, but still get the same error.

dev was discontinued with Flutter 2.8, so that's expected; it hasn't been updated in many months. As with any other fix, if you don't want to wait for a release you can either use master, or you can cherry-pick the fix to your own local branch.

I tried switching to dev, and flutter upgrade, but still get the same error.

dev was discontinued with Flutter 2.8, so that's expected; it hasn't been updated in many months. As with any other fix, if you don't want to wait for a release you can either use master, or you can cherry-pick the fix to your own local branch.

thanks that worked :)


Refactoring Related-Posts macro to display various post types

Refactoring Related-Posts macro to display various post types
Updates

Updated cfgov/jinja2/v1/_includes/molecules/related-posts.html to display various post types.
Updated cfgov/jinja2/v1/_includes/molecules/form-field-with-button.html to display various post types.

Review

@kurtw
@KimberlyMunoz

:+1:


AttributeError: 'str' object has no attribute 'decode'

I am using pyjwt version 2.4.0
and I think it's conflicting and showing this error:
AttributeError: 'str' object has no attribute 'decode'
When I try to use this:
access_token = self.authorize.create_access_token(subject=body.phone)
refresh_token = self.authorize.create_refresh_token(subject=body.phone)

When I down grade pyjwt to 1.7.0 it works fine.

Hi,
I have made a fork of this repo and this issue is fixed in 0.1.7:
https://pypi.org/project/fastapi-another-jwt-auth/


Report bug of 'CLIPredict(const CLIParam& param)' in cli_main.cc

For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System: Ubuntu 15.10 \n \l
Compiler: gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010
Package used (python/R/jvm/C++): C++
xgboost version used: master ff9180cd73f21c21b8852b010dd664966bb00970
If installing from source, please provide

The commit hash (git rev-parse HEAD)

ff9180cd73f21c21b8852b010dd664966bb00970

Logs will be helpful (If logs are large, please upload as attachment).

If you are using jvm package, please

add [jvm-packages] in the title to make it quickly be identified
the gcc version and distribution
gcc (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010

If you are using python package, please provide

The python version and distribution
The command to install xgboost if you are not installing from source

If you are using R package, please provide

The R sessionInfo()
The command to install xgboost if you are not installing from source

Steps to reproduce

Edit the directories of data files in xgboost/demo/binary_classification/mushroom.conf as follows.

diff --git a/demo/binary_classification/mushroom.conf b/demo/binary_classification/mushroom.conf
index 435c9bf..35c5dfb 100644
--- a/demo/binary_classification/mushroom.conf
+++ b/demo/binary_classification/mushroom.conf
@@ -20,10 +20,10 @@ num_round = 2
 # 0 means do not save any model except the final round model
 save_period = 0
 # The path of training data
-data = "agaricus.txt.train"
+data = "../data/agaricus.txt.train"
 # The path of validation data, used to monitor training process, here [test] sets name of the validation set
-eval[test] = "agaricus.txt.test"
+eval[test] = "../data/agaricus.txt.test"
 # evaluate on training data as well each round
 eval_train = 1
 # The path of test data
-test:data = "agaricus.txt.test"
+test:data = "../data/agaricus.txt.test"

In command line execute: ../../xgboost mushroom.conf max_depth=6. This worked well and produced the model file.

[10:37:27] 6513x127 matrix with 143286 entries loaded from agaricus.txt.train
[10:37:27] 1611x127 matrix with 35442 entries loaded from ../data/agaricus.txt.test
[10:37:27] src/cli_main.cc:198: Loading data: 0.0522792 sec
[10:37:27] boosting round 0, 0 sec elapsed
[10:37:27] src/tree/updater_prune.cc:74: tree pruning end, 1 roots, 20 extra nodes, 0 pruned nodes, max_depth=5
[10:37:27] [0]	test-error:0.000000	train-error:0.000614
[10:37:27] boosting round 1, 0.175581 sec elapsed
[10:37:27] src/tree/updater_prune.cc:74: tree pruning end, 1 roots, 18 extra nodes, 0 pruned nodes, max_depth=5
[10:37:27] [1]	test-error:0.000000	train-error:0.000000
[10:37:27] update end, 0.327175 sec in all

In command line execute: ../../xgboost mushroom.conf task=pred model_in=0002.model. After that, I got a segmentation error as follows.

[10:37:44] 1611x127 matrix with 35442 entries loaded from ../data/agaricus.txt.test
[10:37:44] start prediction...
Segmentation fault

What have you tried?
I checked the source file src/cli_main.cc and swapped the order of configuration and load. After re-compiling the xgboost I think I solved the problem.
[10:47:20] 1611x127 matrix with 35442 entries loaded from ../data/agaricus.txt.test
[10:47:20] start prediction...
[10:47:20] writing prediction to pred.txt

diff --git a/src/cli_main.cc b/src/cli_main.cc
index c0b29fb..5c301b6 100644
--- a/src/cli_main.cc
+++ b/src/cli_main.cc
@@ -318,8 +318,8 @@ void CLIPredict(const CLIParam& param) {
   std::unique_ptr<Learner> learner(Learner::Create({}));
   std::unique_ptr<dmlc::Stream> fi(
       dmlc::Stream::Create(param.model_in.c_str(), "r"));
-  learner->Configure(param.cfg);
   learner->Load(fi.get());
+  learner->Configure(param.cfg);

   if (param.silent == 0) {
     LOG(CONSOLE) << "start prediction...";

I faced similar error while running runexp.sh for demo/binary_classification. @qf6101's solution fixed it for me

Fixed in #2795. Thanks for investigating.


in some cases datepicker can be null

This merge requests add's a check before calling this.datepicker.close()

Merged


Bundle Resource 'libGoogleAnalytics.a' not found on disk

I installed latest Firebase SDK but I'm facing build error. Any solutions?
Xamarin.Firebase.iOS.Core v6.10.4
Xamarin.Firebase.iOS.Crashlytics v4.6.2
Xamarin.Firebase.iOS.Installations v1.7.0
Build Error
Bundle Resource 'libGoogleAnalytics.a' not found on disk (should be at 'E:\ProjName\iOS\GAnlytcs-3.17\Libraries\libGoogleAnalytics.a')

I want to use Firebase Crashlytics (without Fabric libraries as it will be discontinued by Nov 15,2020).
Looking for solution

By God's grace, I got it working.. I had to upgrade all firebase, Ads and Analytics packages to the latest version that depend on Xamarin.Build.Download.


Add bison and flex and real package lib names

Add bison and flex (as dependencies from Ubuntu Docker CI says), and the real package names of UCL and Zlib, for users to find it with apt search/install

Closing this PR, because we can not provide all the Linux names per variant (fedora, ubuntu ...)
You can always take a look at the CI/CD to really see what are the actual name of the libraries