Problem modal padding body

Hi,
I want to display a modal full width on my page. When my page have a scroll bar, all is Ok. But when i haven't enough content in my page to have a scrollbar on my body, my modal don't take the full width on my page owing to padding-left of 17px on modal div. (i guess it's the width of scrollbar browser window but my page have just NOT a scrollbar...)  I'm on FF 35.0.1.
style="display: block; padding-left: 17px;"

Why ???
When i comment this line in boostrap.js
paddingLeft:  !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',

It seems to be fine ... Someone know what is this line?
Thanks for your help.

How are you making the modal full-width?
What OS are you using?
What version of Bootstrap are you using?
Can you post a simple JS Bin demonstrating the problem?

So, with the last version of Bootstrap, on 8.1 Windows.
You can look the bug on this JS Bin : link
The bug appear only when there is no scrollbar on page and the content in the modal overflow the page vertically

Hi @usb248!
You appear to have posted a live example (http://jsbin.com/wikakabege/1/edit), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:

line 93, column 5: E032: .modal-content must be a child of .modal-dialog
line 103, column 21: E032: .modal-body must be a child of .modal-content
W002: <head> is missing X-UA-Compatible <meta> tag that disables old IE compatibility modes
W003: <head> is missing viewport <meta> tag that enables responsiveness

You'll need to fix these errors and post a revised example before we can proceed further.
Thanks!
(Please note that this is a fully automated comment.)

.modal-dialog just add a width and margin in order to center the modal... so useless because i want a full-width modal.
.modal-body is in .modal-content but not the 'direct' child but it's not the cause of my problem.
X-UA-Compatible... I'm on FF so useless, it's for IE browser.
viewport <meta>, i don't care, add for example <meta name="viewport" content="width=device-width, initial-scale=1"> will change anything ...

My modal don't respect correct usage but these small "liberties" are not the cause of my problem... someone can give a response :) ?

I would personally say this is an implementation issue rather than a bug with Bootstrap as this implementation changes the modal styles to achieve it's goal. For that reason I would recommend Stack Overflow (twitter-bootstrap-3 tag) or IRC to get help with this matter.

FWIW, I have noted the requests for full-width modals for consideration for Bootstrap v4.
@hnrch02 Should we close this due to the level of customization involved?

I'd say so. Agreeing with @kkirsche here.


Steal GitLab's permission matrix

https://docs.gitlab.com/ee/user/permissions.html

Thanks for the suggestion!
I want to keep it as minimal as possible for now.
People building on top of it can add their own permissions

heh. so then this can be implemented as an engine extension. Maybe
separately in connections with acts_as_tenant
On Thu, Dec 12, 2024 at 9:36 AM Yaro Shm @.***> wrote:

Thanks for the suggestion!
I want to keep it as minimal as possible for now.
People building on top of it can add their own permissions
—
Reply to this email directly, view it on GitHub
https://github.com/yshmarov/moneygun/issues/154#issuecomment-2538026276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3WFHFNBM44N6EUZCFSHVVL2FE4I5AVCNFSM6AAAAABTO6NAFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZYGAZDMMRXGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


fix(config and clickhouse): the lack of time filter constraints in join subqueries

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

at first we use mysql engine creating slice like this:
SELECT DATE(date) AS __timestamp,
       movie_title AS movie_title,
       sum(uv) AS `SUM(uv)`
FROM movie
INNER JOIN
  (SELECT movie_title AS movie_title__,
          sum(uv) AS mme_inner__
   FROM movie
   WHERE time_type = 'daily'
     AND date >= STR_TO_DATE('2023-03-12', '%Y-%m-%d')
     AND date < STR_TO_DATE('2023-03-15', '%Y-%m-%d')
   GROUP BY movie_title
   ORDER BY sum(pv) DESC
   LIMIT 5) AS anon_1 ON movie_title = movie_title__
WHERE date >= STR_TO_DATE('2023-03-12', '%Y-%m-%d')
  AND date < STR_TO_DATE('2023-03-15', '%Y-%m-%d')
  AND time_type = 'daily'
GROUP BY movie_title,
         DATE(date)
ORDER BY sum(pv) DESC
LIMIT 10000;

there is date time filter in the join clause;
and then we change our database to clickhouse, but the sql changed with same filters
like this:
SELECT DATE(date) AS __timestamp,
       movie_title AS movie_title,
       sum(uv) AS `SUM(uv)`
FROM movie
INNER JOIN
  (SELECT movie_title AS movie_title__,
          sum(uv) AS mme_inner__
   FROM movie
   WHERE time_type = 'daily'
   GROUP BY movie_title
   ORDER BY sum(pv) DESC
   LIMIT 5) AS anon_1 ON movie_title = movie_title__
WHERE date >= STR_TO_DATE('2023-03-12', '%Y-%m-%d')
  AND date < STR_TO_DATE('2023-03-15', '%Y-%m-%d')
  AND time_type = 'daily'
GROUP BY movie_title,
         DATE(date)
ORDER BY sum(pv) DESC
LIMIT 10000;

there's no date filter in the join clause
if change the time_groupby_inline to True, it works as mysql engine
so we  want this flag   True , because If we have several years of data in our table, it will error .
oh, i find that this question is unrelated to that issue ，sorry about this and I have changed the title

@onestarshang please provide more context on the need for this change.

@onestarshang please provide more context on the need for this change.

I added some information about this pr

clickhouse need  partition column,  the subquery with out time range(usually is partition column) will super slow...

What is the actual authoritative source for the Clickhouse DB Engine Spec? The superset repo or the Clickhouse-connect repo? https://github.com/ClickHouse/clickhouse-connect/blob/09f628b2a31ab5b0ef95914c977c83c4057b0d22/clickhouse_connect/cc_superset/engine.py#L52

@cwegener originally the ClickHouse Connect db engine spec resided in the ClickHouse Connect driver itself. However, it was moved into the Superset repo to make it easier to maintain the spec, as it proved difficult to support multiple versions of Superset due to the BaseEngineSpec constantly evolving over time. As 2.1 is now out and features the ClickHouse Connect engine spec, I suspect the spec will be removed from the ClickHouse connect driver soon. Ping @genzgd

It's been quite a long time since this PR was touched. Do we still want to get this in? It looks like it needs a rebase

It's a topic that is my domain (ClickHouse with Superset).
I don't have the full context of how to reproduce the issue though, as this seems to have been lost.
I could give it a quick try to see if I can come up with a repro of the actual scenario that exhibits the problem.

I could give it a quick try to see if I can come up with a repro of the actual scenario that exhibits the problem.

I cannot reproduce the issue. the time filter constraints are included in the join sub-query as expected. Maybe someone else has another way of reproducing the issue.


Fixing People Directory Web Part search results

Category

[x] Question

Question
This seems to be working as intended as seen in the dedicated page for this web part, but the results that output from the search query to search for people are very strange for an end-user.
I've deployed the starter kit to our tenant and wanted to make a local change so that the clicking on specific letters such as A or B only retrieve people whose names start with A or B (or at least show those results first, before checking last names). And also so that searching "Jo" for example, first shows everyone whose first name starts with, and or has "Jo" in their first name, only showing last name after.
I'm not quite sure where to look for for this solution and if/or I need to do some config change afterwards or re-build with npm. Would it be possible for someone to provide an example?
Thank you, and amazing work with the kit!

You will need to update the search query from within the PeopleDirectory component. https://github.com/pnp/sp-starter-kit/blob/master/source/react-people-directory/src/webparts/peopleDirectory/components/PeopleDirectory/PeopleDirectory.tsx
Check out line 98, the solution currently works by searching against the LastName. Sounds like you want to update this part to search based on FirstName. Subsequently, you could search against both. The People DIrectory uses the Search API and KQL. SO you can update the KQL to match how you want to search.
Here is some documentation on the KQL functionality. https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference
I hope this helps

You will need to update the search query from within the PeopleDirectory component. https://github.com/pnp/sp-starter-kit/blob/master/source/react-people-directory/src/webparts/peopleDirectory/components/PeopleDirectory/PeopleDirectory.tsx
Check out line 98, the solution currently works by searching against the LastName. Sounds like you want to update this part to search based on FirstName. Subsequently, you could search against both. The People DIrectory uses the Search API and KQL. SO you can update the KQL to match how you want to search.
Here is some documentation on the KQL functionality. https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference
I hope this helps

Found it. Will look into it. After modifying is it necessary to rebuild the project before redeploying to our tenant? I'm new to this, sorry for the newbie question. Thank you for the explanation!

Found it. Will look into it. After modifying is it necessary to rebuild the project before redeploying to our tenant? I'm new to this, sorry for the newbie question. Thank you for the explanation!

Yup! Re-bundle and package the solution, upload to your app catalog and you will be all set.

Yup! Re-bundle and package the solution, upload to your app catalog and you will be all set.

Thanks Cameron! Would it be too much to ask how exactly to re-bundle and package this specific solution and then uploading it? I'm assuming the upload part will be done through the admin center, but I haven't had much contact with React so I'm not quite sure what to do now. I've been testing the new query on-browser and it's working how I intended it, just changed LastName to FirstName. But unsure what to do with the source code now 😞

Thanks Cameron! Would it be too much to ask how exactly to re-bundle and package this specific solution and then uploading it? I'm assuming the upload part will be done through the admin center, but I haven't had much contact with React so I'm not quite sure what to do now. I've been testing the new query on-browser and it's working how I intended it, just changed LastName to FirstName. But unsure what to do with the source code now 😞

You will need to run the following commands and upload the .sppkg file to your App Catalog. I have linked the tutorial for SPFx on how to do this.
gulp bundle --ship
gulp package-solution --ship

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn

You will need to run the following commands and upload the .sppkg file to your App Catalog. I have linked the tutorial for SPFx on how to do this.
gulp bundle --ship
gulp package-solution --ship

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn

Fantastic I couldn't ask for better. Thank you once again, I'm closing the issue with this comment 😃

Fantastic I couldn't ask for better. Thank you once again, I'm closing the issue with this comment 😃


Proposal: eliminate id on FreeObject

We do this by making FreeObject not extend BaseObject.
FreeObject ids are currently generated; this is not particularly
useful and requires some machinations to make work correctly.
Having FreeObject not have ids makes them more sensible, I think,
especially once we are going to support taking them as input.
This breaks compatibility but probably not in a way many people depend
on.
It might require some fixes to bindings. I fixed the python bindings a
while ago in prep for
this. (https://github.com/edgedb/edgedb-python/pull/464)

So this has the effect of removing the "forced materialization" feature from free objects, which would affect performance of queries where we use this hack.  We should introduce an alternative (materialized(<expr>?) before this can land.

So this has the effect of removing the "forced materialization" feature from free objects, which would affect performance of queries where we use this hack. We should introduce an alternative (materialized(<expr>?) before this can land.

Oh, this doesn't actually remove the forced materialization yet. We still do that for now.


highlighting yanks/puts inconsistent when sqlite is used for storage

What I think is happening: you yank, and it takes a while to do the sqlite storage operations, and the highlighting of the yank doesn't show until the sqlite operation is complete.
Not having this problem when I use shada for storage

If you can reproduce this and it is difficult to solve you might just  make a note of this issue in the readme/documentation

Thanks for reporting this issue.
I think I can improve that, I'll try to do something soon.

Hey @jam1015 , I've you tried using the branch feat-defer-sqlite-storage ? Can you do a feedback ?


Ammunition slot stats are incorrectly included with weapons that don't use it

It seems like the stats from whatever is in your ammunition slot is included when using a range weapon that doesn't use the ammo. For example I was checking if iron darts would be better than a bone crossbow, and I noticed my DPS was 2.37 with the darts when the bone bolts were unequipped, but 3.96 when the bolts were equipped.

I have not yet added any checks for ammo compatibility between ranged weapons, but it is something I need to add when I get back to working on the calculator.
If anyone else comes across this first, ammo slot stats are controlled by the AmmoItemStatsComputable interface and would require mapping certain weapon ids to certain ammo ids, mostly data collection work off the wiki to document compatibility.


Add optional axis specifier to static scrollable methods

This is motivated by part of the 2D scrolling proposal: flutter.dev/go/2D-Foundation
This is one of the last little PRs to prep for the 2D scrolling foundation.
This adds an optional axis parameter to the static Scrollable methods [of, maybeOf, recommendDeferredLoadingForContext]. This allows developers that are nesting scrollables (or one day using 2D scrolling) to look them up instead by a particular axis.
In general, even outside the context of 2D, I think this is helpful. I am often asked how to get the outer scrollable when nesting. Now it can be done.
There is also a small semantic refactor here in ScrollableState.build, this just creates a private method (_buildChrome) that will be overridden in 2D later. It is easier to add now than in the really big PR that will be.
Pre-launch Checklist

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

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Some checks are unhappy 😄


Translation not working

Translation is not working.  I expected a search for "home" to find all the emails that contained casa. This did not happen.
I marked it as a bug because v4.0.0 doesn't handle Spanish like v3.0.1 could. This bug is to get back to where v3.0.1 translation was at (i.e Spanish only, search for home and retrieve casa, convert spanish email body to english).

Justin moved this issue to the Merlin Cubes board. Closing this issue on this board.


Change FP8 recipe defaults

Also entails adding support for varying the amax history length across checkpoints.

@timmoon10 We only know the recipe change during the fp8_autocast call in forward, not during checkpoint loading.

The changing of amax history length in the middle of training is still supported.
If at any execution we find that the current recipe is different than the user request recipe, we call init_fp8_meta_tensors. Where we truncate or pad depending on whether or not the current history length is different from the user requested one.

/te-ci

/te-ci

/te-ci

/te-ci

/te-ci

/te-ci


Change features = {} to features {} in deployments/azure/main.tf

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

Quell error in main.tf for azure deployment

New functionality

N/A

Test plan
How are these changes tested?
I confirmed terraform init now works with the main.tf file

[ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?
Doc changes aren't required, file is still good to go :)

Corresponding issue: https://github.com/chroma-core/chroma/issues/3354


Special inputs/outputs

Would it be possible to implement/show an example/tutorial of how to implement a 4 channel image input/multiple inputs (image + image, image + text) for tasks like (image segmentation/classification)? I know that some of these tasks will eventually be implemented by the community at some point (6 months after the release of a stable version), like it happened for the fastai v1. But it will boost fastai adoption if some guide to do this would be present from the beginning (personally i always fallback to keras functional api when i have to manage special inputs, etc. And I always regret what I loose when doing that).
So, would that be possible? I'm willing to contribute if you share some direction (i understand that you are probably ver busy).
Thank you!

There is a tutorial that shows how to use the middle-tier APIs to generate inputs for a siamese network in this notebook which has multiple inputs.
Closing this issue as we use the forum for feature requests, issues are for known bugs only.


Const usage added which adds new consumption requirements and breaks tests

Describe the bug
The following usage of const is causing issues with testing that use PhantomJS with the lastest release of moment.
const word = translator.correctGrammaticalCase(number, wordKey);
I see unexpected token 'const' in the console logs when the test are executing.
Was const meant to be added? With this being added it adds new requirements for consuming moments, (maybe some type of polyfilling?) that wasn't there before for a minor version bump.
Can const be removed so that moment remain passive for its current consumers?

We have the same issue. Recently we updated moment.js from 2.29.1 to 2.29.2 and our jasmine unit/integration tests launched from Chutzpath using PhantomJS have stopped working.
We review changes between versions and the problem is the sentences:
const word = translator$1.correctGrammaticalCase(number, wordKey);
const word = translator$2.correctGrammaticalCase(number, wordKey);
This sentences use ECMAScript 6 not supported in PhantomJS
https://stackoverflow.com/questions/48699385/does-phantomjs-supports-constantconst-and-let
Will would be possible change it for backward compatibility, using "var" instead of "const"? In other way we have must follow using previous moment. js version 2.29.1

Same issue here with these lines in DOJO build job.
Please provide a fix, otherwise we are forced to use the old vulnerable version of moment.

Hi guys, I already opened a PR to fix this problem: #5995

Fixed in 2.29.3, thanks for reporting!


Configuration file is not created

Hello
I deleted the old configuration file in order to create a new one again, but for some reason it is not created.
The terminal writes:
~ >>> randwall
Traceback (most recent call last):
  File "randwall", line 6, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "wallpaper.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "/opt/hostedtoolcache/Python/3.8.6/x64/lib/python3.8/site-packages/PyInstaller/loader/pyimod03_importers.py", line 493, in exec_module
  File "config.py", line 69, in <module>
  File "config.py", line 35, in __init__
  File "config.py", line 51, in _load_config
FileNotFoundError: [Errno 2] No such file or directory: '/home/ende/.config/randwall/config.json'
[61715] Failed to execute script randwall
~ >>>

Fixed! Thanks for reporting


Password Field

Two ways to approach it:

do a Proof of concept implementation using Input/InputGroup compound
have a dedicated component/package (based on 1)

Ticket is missing a description :p

For now we will provide FormField + Input.
In a second time we will provide TextArea (same compound as Input minus the addons)
So we went with 1 and implement a Password example in the Input stories: https://github.com/adevinta/spark/pull/1001


NAT64 Support

This PR adds support for NAT64 through TAYGA. A few things to note:

Due to TAYGA inner workings, even though installed in the AMI, NAT64 is set to be an opt-in feature
TAYGA main constraints is that it requires a range of non-used IPv4 addresses to map IPv6 into IPv4 (as described in its documentation), a user would have to ensure this range is not used in any of the subnets needing NAT access
Seems like networking is a bit buggy on AL2 and accept_ra defined in fck-nat.sh needs to be set set on a per-interface basis, otherwise the default route of ENI-linked interfaces will be dropped upon turning forwarding on, and AWS VPC networking will be lost. Also forwarding needs to be enabled for all, not per-interface (lost an insane amount of time on both those things)
RemainAfterExit set in the service, as a way to preserve the persisting tayga process

This can be quickly tested with the example on the nat64 branch of the Terraform fck-nat module I'm working on.
This PR brings the feature discussed in https://github.com/AndrewGuenther/fck-nat/issues/41.

Closing this PR as I made one with the better Jool alternative.


Add Blue Wallet API (LNDHub) client?

https://github.com/snow884/blue_wallet_client
Currently SatSale users can accept onchain Bitcoin payments without running full node, but it is not possible for LN payments. This Blue Wallet API (LNDHub) client could be a custodial non-KYC alternative for small merchants to accept LN without running node. Also especially makes sense with weak hands mode enabled, where funds stay at custodial wallet only for short amount of time (although we could probably even have SideShift as node backend there and ask for LN invoices directly from them too).

This was one of my original visions for SatSale and it would be awesome to achieve this. Previously I was looking at blockstream greenlight but blue wallet API is likely easier


Switch to using a different services CIDR from Docker’s

Fixes #492, #487
Switch to using <IP_ADDRESS>/16 services CIDR

LGTM


Create count tables for predictions?

Currently, run-htseq-workflow uses the GTF from the config (or the newly created GTF if de_novo_gtf is present), but type=CDS is used for counting. It is possible to override defaults e.g. using --type exon, but somehow this didn't work as expected (possibly due to concat gtf and de_novo_gtf? Many entries are expected to overlap or even to be duplicated).
But we could create our own GTF using the predictions, and run HTSeq-count on this, which would really give us count tables for the ORFs.

Added get-gtf-from-predictions, but still needs to be tested on the TEA downstream. Option --gtf added to run-htseq-workflow. We need to add explanations in the docs regarding the usage of GTF with htseq-count --type X, in particular if de_novo_gtf is present.


Add favorite, feature_less to PersonInfo

  Can this data be exposed, maybe in `photo.person_info[0].show_less = True`

Originally posted by @eecue in https://github.com/RhetTbull/osxphotos/discussions/935

@all-contributors please add @eecue for ideas, userTesting


STORM-3396:fix uploading dependency jars too slow when storm client and server located in different IDC

when storm client and server is locating in different IDC(one is in Beijing, while another in Shanghai), uploading dependency jars may take a very long long time(in my case, 31minutes!)...
when I digged into this, I found that in DependencyUploader,  method "uploadDependencyToBlobStore" using JDK NIO's Files.copy to upload local jars to remote Blob server. In Files.copy(Path, OutputStream), the buffer size is 8k by default, given that latency between Beijing and Shanghai is about 20ms, a dependency fat jar of 360M finally cost me 'a lunch time' to finish uploading!!!

+1


Add deny perm for addReactions on mute

Added the permission for the channel override when muting to also include the denial of "addReactions." This is necessary since when muting it previously overwrote all channel perms(so it doesn't miss new channels,etc.) and there's no point in muting if they can still abuse reactions as well.

Cool, thanks


[Noob Question] Is it possible to use Coc.nvim with lsp-zero vs nvim-cmp?

I've been having a lot of issues with nvim-cmp and the Tailwindcss language server. It seems as though it's a known issue right now that using the language server without heavily modifying the settings (and honestly, gimping its usefulness quite a bit) will lead to quite a large amount of stuttering within nvim.
After spending way too much time trying to resolve it, I think I'm just going to switch over to Coc.nvim which provides a less hair-pulling experience out of the box. Is it possible to configure Lsp-Zero to use Coc for its completion vs nvim-cmp? If so, how would I go about doing that?
I apologize if this isn't the appropriate place to post this. I'm just making the switch over to Nvim this week and trying to get my setup to be a little more productive.

Not that I know of.


[EPIC] Rate limiting

[ ] Resource limit API design https://github.com/dotnet/aspnetcore/issues/32030
[ ] Redis based Resource Limiter shipped in aspnetcore
[ ] Limits in Kestrel https://github.com/dotnet/aspnetcore/issues/32033

[ ] Existing rate limits
[ ] Concurrency and rate limits for connections

[ ] Limiter Middleware https://github.com/dotnet/aspnetcore/issues/32032
[ ] Uses in BCL types https://github.com/dotnet/aspnetcore/issues/32039

[ ] Pipelines
[ ] Channels
[ ] Streams
[ ] HttpClient

[ ] Adoption in YARP https://github.com/dotnet/aspnetcore/issues/32040
[ ] Adoption for ATS, ACR, R9, etc https://github.com/dotnet/aspnetcore/issues/32041

Bulk closing .NET 6 epics and user stories. If you think this issue was closed in error, please reopen the issue and update it accordingly.


Oops! Something went wrong.

"Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details."
Here is the log from the JavaScript:
server up: null
Error getting location, trying second provider PositionError
Found location [43.9233,-78.8684] by ipinfo.io
2016-09-14 23:03:04,096 [      MainThread][     runserver][    INFO] Parsed location is: 43.6399/-79.3806/77.4211 (lat/lng/alt)

2016-09-14 23:03:04,105 [      MainThread][        models][    INFO] Connecting to local SQLite database

2016-09-14 23:03:04,227 [ search-overseer][        search][    INFO] Search overseer starting

2016-09-14 23:03:04,227 [ search-overseer][        search][    INFO] Starting search worker threads

2016-09-14 23:03:04,234 [ search-overseer][        search][    INFO] New location caught, moving search grid

2016-09-14 23:03:04,259 [ search-worker-0][        search][    INFO] Searching at 43.638975,-79.382825

2016-09-14 23:03:04,259 [ search-worker-0][      auth_ptc][    INFO] PTC User Login for: robloxbae

2016-09-14 23:03:04,279 [      db-cleaner][        models][    INFO] Regular database cleaning complete

2016-09-14 23:03:04,795 [ search-worker-0][      auth_ptc][    INFO] PTC User Login successful.
2016-09-14 23:03:04,795 [ search-worker-0][      auth_ptc][    INFO] Request PTC Access Token...

2016-09-14 23:03:04,884 [ search-worker-0][      auth_ptc][    INFO] PTC Access Token successfully retrieved.

2016-09-14 23:03:08,174 [      MainThread][     runserver][    INFO] Web server listening at http://<IP_ADDRESS>:8000

Python server started!
Got open express port: 8001
Express server started!
server up: http://localhost:8001
MAP: Google Maps API error: ApiNotActivatedMapError https://developers.google.com/maps/documentation/javascript/error-messages#api-not-activated-map-error
MAP: Uncaught TypeError: Cannot read property 'contains' of undefined
MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:03:15,973 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:03:25,973 [ search-worker-0][        search][    INFO] Searching at 43.638030,-79.382074

2016-09-14 23:03:26,138 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:03:36,141 [ search-worker-0][        search][    INFO] Searching at 43.638030,-79.380571

2016-09-14 23:03:36,299 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:03:46,299 [ search-worker-0][        search][    INFO] Searching at 43.638030,-79.379069

2016-09-14 23:03:46,431 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:03:56,433 [ search-worker-0][        search][    INFO] Searching at 43.638975,-79.378318

2016-09-14 23:03:56,586 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:04:04,282 [      db-cleaner][        models][    INFO] Regular database cleaning complete

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:04:06,588 [ search-worker-0][        search][    INFO] Searching at 43.638975,-79.379820

2016-09-14 23:04:06,772 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:04:16,773 [ search-worker-0][        search][    INFO] Searching at 43.638975,-79.381323

2016-09-14 23:04:16,934 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:04:26,936 [ search-worker-0][        search][    INFO] Searching at 43.639921,-79.380570

MAP: Uncaught TypeError: Cannot read property 'getSouthWest' of undefined
2016-09-14 23:04:27,085 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms
2016-09-14 23:04:37,085 [ search-worker-0][        search][    INFO] Searching at 43.639921,-79.382073
2016-09-14 23:04:37,233 [ search-worker-0][        models][    INFO] Parsing found 0 pokemons, 0 pokestops, and 0 gyms

Refer here to create google map API
https://pgm.readthedocs.io/en/develop/basic-install/google-maps.html


add content_browser

What does this Pull Request do?
This PR partially addresses this ticket: https://github.com/Islandora-CLAW/CLAW/issues/878.  It installs the needed drupal library.
How should this be tested?

Pull down the PR
Verify that content_browser is installed
Use the content_browser as form field formatter for an an Entity Reference and verify that works as expected

vagrant up :rocket:


OSError

OSError: Could not load libtidy using any of these names: libtidy,libtidy.so,libtidy-0.99.so.0,cygtidy-0-99-0,tidylib,libtidy.dylib,tidy

Check if pandoc installed properly and is in the path

Hi @rav1112, when you installed word2html (hopefully with pip install word2html), you should have seen something like the following in the output:
Installing collected packages: wheel, pypandoc, pytidylib, word2html
  Running setup.py install for pypandoc ... done
  Running setup.py install for pytidylib ... done
  Running setup.py install for word2html ... done
Successfully installed pypandoc-1.4 pytidylib-0.3.2 wheel-0.32.3 word2html-0.2.0

If not, then the required dependencies didn't get installed. I'm not sure how best to resolve this for your platform, but I'd suggest 1) working in a new virtual environment, and 2) try re-installing word2html.  Please let me know if that works.

I install php-tidy to resolve this issue on Ubuntu 18.04
sudo apt install php-tidy
reference:https://stackoverflow.com/questions/19051696/python-tidylib-module-error


Use the rake dependency update task in Expeditor

bundle updating a particular gem just fails. We'll just have to bundle update everything when one of our own deps is updated. It will pull in a bit more, but that's actually fine.
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Works for me locally now


Easier way to access main url

There should be an easier way to access the main url for an image/file. For example I should be able to call @user.profile_image.url in the controller instead of having to use Refile.attachment_url(@user, :profile_image). It would be especially helpful for when you are using files like pdfs etc and don't ever need to change the size etc.

Why not just build a wrapper method in your class?
def profile_image_url
  Refile.attachment_url(self, :profile_image)
end

I could, but that seems a bit redundant to have to do that for each model that has an attachment i'd say.

It's easy enough to write a module and include it in any classes that define attachments.

It already exists ;) https://github.com/refile/refile/blob/master/lib/refile/attachment.rb#L87-L89


Change OS Arch code

I've tested this with several Windows 10 systems. Some systems output "wmic OS get OSArchitecture"
32-bit or 64-bit
and other
32-Bit or 64-Bit
That means we have to look for all four spellings in the OSArch.log (wmic OS get OSArchitecture>% temp% \ OSArch.log). My proposition:
type %temp%\OSArch.log | findstr /i /c:"32-bit" >nul 2>&1 && ( set "OSA=32-bit")
type %temp%\OSArch.log | findstr /i /c:"64-bit" >nul 2>&1 && ( set "OSA=64-bit")
OR
type% temp% \ OSArch.log | findstr / c: "32-Bit"> nul 2> & 1 && (set "OSA = 32-bit")
type% temp% \ OSArch.log | findstr / c: "32-bit"> nul 2> & 1 && (set "OSA = 32-bit")
type% temp% \ OSArch.log | findstr / c: "64-Bit"> nul 2> & 1 && (set "OSA = 64-bit")
type% temp% \ OSArch.log | findstr / c: "64-bit"> nul 2> & 1 && (set "OSA = 64-bit")

Thanks for the bug, I will add it to the v6 update.

This was fixed in v5.4.0. Thanks for submitting this issue!


How to reduce the compiled file size

In the release page, file size for linux-arm and linux-mips is too big.
Is there any method to reduce the size?
eg. I'm using a router with armv7 CPU, how to build to make the file size smaller?

upx

https://upx.github.io
upx --best /path/to/v2ray-plugin

@cokebar Did you managed to get file size smaller ? I saw there is commit 1d239bc already, but latest release 1.2.0 binaries are still around 3.4 MB


[Duplicate of #5123] Getting started with multi task learning mtl in deep neural networks

Article checklist
Attention
Our Peer Reviewer and Content Moderator teams do NOT provide any revisions services. All revisions and edits should be completed on your own forked repo (as to not take up room in the queue) in order for our team to review them all in a timely manner.
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.

As a rule of thumb - please be sure to only submit articles (pull requests) that are fully polished and ready to be published. Be sure to go through our resources documents for extra and 3rd party (vetted) resources to help improve overall technical writing.

Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[ ] Is your article properly formatted in Markdown? - see Github Markdown guide

[ ] Have you used our preferred heading structure? - H3 (###) and up

[ ] Does your article follow any of the suggested structure formats? - see example formats

[ ] Is your article over 750 words? - Tool: Wordcounter.net

[ ] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[ ] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[ ] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[ ] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[ ] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[ ] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[ ] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[ ] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[ ] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #4734

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

Hi @louisefindlay23  I have changed the branch name

Hi @mbaabuones The pr's branch name had a problem and I had to change it  and thus i had to re-open another pr and the change is already done

@louisefindlay23
Just an FYI - the date and hero image were not updated.
Topic label as well.  🚀
Its been fixed - just an fyi


Katex support?

This is an awesome project!
I am wondering whether it is possible to add Katex support.
After some research, I found out it may be done through changing the marker renderer https://github.com/markedjs/marked/issues/1538#issuecomment-575838181.
Now I am stuck on finding a katex binding on deno for translating const katex = require('katex').
I am not familiar with deno. Any help will be appreciated :)

thanks!

This would be a good enhancement, but at the moment I don't have the bandwidth to implement it. Leaving it here as a potential contribution.


Highlight this section

I would put this in an attention box, like "Note":

This article covers the Web Host, which remains available only for backward compatibility. The Generic Host is recommended for all app types.

like this box, don't know if you use different colors for different attentions:

And perhaps tell the user to switch to GenericHost section when using ASP.NET Core v3.0 <
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 04eafd1b-403a-4aa3-48bc-78fed5b4d05e
Version Independent ID: f35451f4-7c74-3ada-e969-b769428b94f4
Content: ASP.NET Core Web Host
Content Source: aspnetcore/fundamentals/host/web-host.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @Legends ...

tell the user to switch to GenericHost section when using ASP.NET Core v3.0

The web host is really still here. Even in the new world of the Generic Host, the web host (IWebHostBuilder) is built and several aspects of this topic still apply (e.g., web host configuration). I don't agree with the direction that was taken, but I'm just little green dino in a big MS world. :smile: This is the direction that they decided to go.
WRT changing to a NOTE, I don't think that would make a big difference ... and kind'a make things worse given what I was just saying. Devs shouldn't avoid the guidance in this topic today, and it's probably not good to push them away from it any more than it currently does.

which remains available only for backward compatibility.
The Generic Host is recommended for all app types.

hm, this doesn't sound to me, I should be using it in v3.0 anymore.
If it is not deprecated and it doesn't looks (no comments in code), then I would remove these sentences, imo. It's irritating.
So without reading the "Web Host" section (skipped it, because of this sentences above) are there some infos we cannot find in section "Generic Host", but is included here in "Web Host"?
Of course, if Web Host is still valid, then it doesn't make sense to highlight the sentences above, but rather remove them.
Soemthing doesn't make sense here...

I agree with your confusion ... I find it confusing, too. I'd have gone a different way with it. This is what they wrote/approved, so this is what we have today. They'll keep an :ear: open for additional feedback. If enough devs say that they're confused by the coverage, I suspect they'll make changes.

hm, ok. Thanks for your feedback.


cassandra: always use the TokenAwareLoadBalancingPolicy

This is more efficient and available on almost every
modern platform.

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


fix: deleting all models of a category

When deleting a workspace, ignore the exception raised for attempting to delete models whose status is already set to deleted.

Codecov Report

Merging #150 (bfb479e) into main (57405a7) will decrease coverage by 0.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
- Coverage   81.93%   81.86%   -0.08%
==========================================
  Files          56       56
  Lines        3388     3391       +3
==========================================
  Hits         2776     2776
- Misses        612      615       +3

Impacted Files
Coverage Δ

label_sleuth/orchestrator/orchestrator_api.py
67.48% <0.00%> (-0.56%)
:arrow_down:

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 57405a7...bfb479e. Read the comment docs.


Adding support for HC_NOWEBSOCKETS inside websocket cpps.

Added #if !HC_NOWEBSOCKETS to cpp files that refer to websockets code.

Probably recalling this PR in order to perform a true qfe...


Carry over Demotron MFF work

The work left over from Demotron's last MMF in JIRA.
This includes:

[x] [Add invalid query behavior to javatron] (https://newrelic.atlassian.net/browse/DEMO-2565)
[x] [Update mysql demo to include invalid query behavior] (https://newrelic.atlassian.net/browse/DEMO-2566)
[x] [add a tutorial to demo-catalog] (https://newrelic.atlassian.net/browse/DEMO-2567)

@aswanson-nr will update this with details.

This is the leftovers of an MMF to add databases to the demotron ecosystem.
To do:

Finish adding query error to Javatron (Almost done, PR here newrelic/demo-javatron#13
Update the MySQL demo to include the query error
Write a guide about how to add a database to a demo (@polfliet @jpvajda There is a separate issue for this in the demo-catalog repository, newrelic/demo-catalog#21. If we want to use that instead)

@aswanson-nr thanks! Do you mind adding an estimate label sp:1 sp:3 .... to give us a sense of how much effort this is?

the work is done, hurray!

Opening it so we see it in our board for the current sprint


Copy an event multiple times without the "copy of" prefix

Problem
Every time I copy an event (I alt+drag usually) the newly created event shows up with a "copy of" prefix which is really annoying to remove from each entry
Solution
Perhaps an option to disable or modify the prefix text

the enhancer doesn't interfere with any notion content/data, it just changes how things look and adds extra app-like functionality.


robotjs with electron

I'm trying to use robotjs with electron but keep getting "Module did not self register"
I've installed electron to a dir then installed robotjs with npm install robotjs
I understand I need new headers or something so I've been following this documentation:
https://github.com/atom/electron/blob/master/docs/tutorial/using-native-node-modules.md
the top command "The Easy Way", doesn't appear to work on windows, it will error with:
'.' is not recognized as an internal or external command
I think the documentation needs updating to make this more obvious, and finally is it possible for windows users to use this easy method?

Try:
.\node_modules\.bin\electron-rebuild.cmd

that did the trick, thank you


Giveaway group panel loader fails completely on user pages when there is one inaccessible giveaway

Uncaught (in promise) TypeError: t is not iterable
    at Object.loadGiveawayGroups (esgst.js:100)

Also general content loader related? fails if image is missing.
Uncaught (in promise) TypeError: Cannot read property 'style' of null     at GeneralContentLoader.loadGiveawayCountries (esgst.js:78339)
example giveaway


Switch from testify/mock to handmade mock

Description
After discussing mocks in this thread we ended up deciding to go back to using a normal mock instead of one that uses testify/mock.

@awfm9 Do you still think it's doable in the end or should we close this issue?

The mock is removed in #116 anyway so I'll just close this.


Sometimes fails with / as it thinks regexp is a division or vice versa

Wed Jun 25 11:44:34 2008<EMAIL_ADDRESS>- Ticket #37091: Ticket created [Reply] [Forward]
Subject: "unterminated regular expression literal" when using CDATA without slash afterwards
Download (untitled) / with headers
text/plain 771b
On perl5.10/win32: This was a bit tough to track down, but if I load and try to minimize a file containing these lines: ""+ ; ...then I get the following error: unterminated regular expression literal, stopped at JavaScript/Minifier.pm line 151. However, if I add any line to the file involving a slash, it works: ""+ ; 2/2; ...gets me no error. Also, stripDebug makes no difference, it still breaks without the slash, and is fine when it's there. This isn't actually critical for me, because I had been using this CDATA setup to embed CSS in my JS files, which I'll now be separating out again so that I can minify the CSS as well. But since I encountered it, and this is valid JavaScript, I thought I should report it.
Wed Jul 14 05:22:16 2010<EMAIL_ADDRESS>- Ticket created [Reply] [Forward]
Subject: unterminated regular expression literal on a very simple valid regular expression
Download (untitled) / with headers
text/plain 899b
While trying to minify the jQuery TableSorter plugin (http://tablesorter.com/docs/), JavaScript::Minifier 1.05 crashed with the error message given in the subject of this report. The smallest piece of sourcecode causing the crash is: function test(s) { return /\d{1,2}/.test(s); } A workaround would be function test(s) { return (/\d{1,2}/).test(s); } But since our software should allow for customization and also external JavaScript code which is beyond our control, it would be GREAT if you could consider fixing this bug report. Maybe you want to minify the entire tablesorter plugin file which I attached after the bug is fixed. This has more complicated regular expressions inside, like this one: ... is: function(s) { return /\d{1,2}[/-]\d{1,2}[/-]\d{2,4}/.test(s); }, ... Thanks for considering, I would be very happy about a solution in the near future. Best regards, mg
Subject: jquery.tablesorter.js
Download jquery.tablesorter.js
application/x-javascript 22.8k
Message body not shown because it is not plain text.
Mon Jan 20 19:10:28 2014<EMAIL_ADDRESS>- Correspondence added [Reply] [Forward]
Download (untitled) / with headers
text/plain 514b
Going to stall this for now. The issue is this: the way the original author wrote the code makes the module think the opening '/' on the regex is actually a division, because the previous word "return" ends on an alphanumeric character ( basically, it thinks the regex is the beginning of " n / SOMETHING". I need to read up more on how JS parsers figure this one out, and then think up a fix :) Thanks for reporting (yeah, I know it's been years hehe :)) -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]

Closed: https://github.com/scmorrison/JS-Minify/commit/884e4f1de7d8d2ff8803915c415b72fdca6f80e6


Change the config field name root to ca_certs

Fixes: #91
This is my first time working in this repository, so I had some difficulty understanding the context. I referred to the work that has already been merged in other repositories while making my changes, but there may be mistakes or errors in my modifications. If you notice any problems, I would appreciate it if you could point them out. I will correct them promptly.

https://github.com/aicers/crusher/blob/c3f0eafaec13e6b271b7aef0dbea855f18aa6517/src/settings.rs#L27-L29

In order for multiple paths to be read from the config file, it must be modified as follows: PathBuf -> Vec<PathBuf>


Add support for using xcproj on iOS projects during unit testing

Context
I work on an open-source iOS SDK. We consider our project file as part of our assets, and do some simple validation tests as part of our unit test suite. We'd like to be able to use xcproj for that validation, but the current limitation to macOS-only prevents CocoaPods from installing your pod.
What version of Xcode/Swift are you using? - 9/3.1
What operating system and processor architecture are you using? - macOS High Sierra for runningXcode. iOS / tvOS for SDK.
What did you do? - Tried to use CocoaPods to install xcproj
What did you expect to see? - Successful pod install
What did you see instead?
The platform of the target 'MyAppTests' (iOS 10.0) is not compatible with 'xcodeproj (0.2.0)', which does not support 'ios'.
What
Couldn't use xcproj inside our unit tests.
Proposal
Remove macOS-only limitation in xcproj. The limitation was introduced in this commit.

@BrianBatchelder thanks for the proposal. I've opened a PR to support iOS in the podspec. Could you have a look and give feedback? Once merged you should be able to use it with your CocoaPods setup by specifying the commit on this repository. Next Saturday we'll release a new version and you'll be able to use the version instead.


Compliance portal screenshot is outdated

The screenshot of Microsoft Purview Compliance Center is showing a very outdated image labeled "Security & Compliance"

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

ID: 5821435a-93ce-3ba9-312d-fb61a9dae127
Version Independent ID: aaf49dab-bbdc-4c84-f9ef-a768da673279
Content: How DLP works with Security & Compliance Center & Exchange admin center - Microsoft Purview
Content Source: microsoft-365/compliance/how-dlp-works-between-admin-centers.md
Service: o365-seccomp
GitHub Login: @chrfox
Microsoft Alias: chrfox

@msbemba

@gbms311 Thank you for your feedback. I'll update the document with the latest screenshot.
Thanks
Sri

@chrfox Please help. Email sent. thanks

@chrfox Gentle reminder.


Update quick-start.md

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@fgallaire Please explain in your PR description why you think this change is necessary.

@tech4him1 I was thinking that the branch option was only related to the github backend...

@fgallaire Right now, git-gateway just works as a proxy to the backends so that you can manage permissions easier, so most of the features should work the same. Thank you though!


Feature Request: Use a different logger?

Hello all,
I do apologize if this is an easy answer, I am still learning Go. How can I go about making all logging output use a different logger than the standard one that Discordgo is using? I tried to use Logrus, but it only works for logs I explicitly create with it. I even tried to find a script that certainly looked like it should make all logs use Logrus (had hooks and writers, etc), but unfortunately it didn't. Is there a way to accomplish this?
Thanks,
-MH

After searching for quite some time and trying lots of different things, I would like to put in a feature request to simply make it easier to swap out the discordgo.Logger entirely for another one. The work around I found to do this is way more complicated than it should be, and involves multiple steps now per individual log message if you want to also retain application wide alternative logging.

You have to override the function discordgo.Logger(msgL, caller int, format string, a ...interface{}) to replace the standard logging.

@MostHated,
You need only override the Logger variable here to use your own custom logger.
https://github.com/bwmarrin/discordgo/blob/master/logging.go#L37


I want to add some most frequently useful algorithms codes

1)K-way merge Algorithm
2)Stack Reduced Quick Sort
3)Merge sort combined with Insertion Sort
4)Prims, Topological, Kruskal's algorithm
5)DijKstra , Floyd Warshall ,bellman ford algorithm
6)Backtracking
a) Rat Maze
b) N-Queen
c) Sudoku
d) Sum of Subset

Activity selection , Huffman Encoding .

Please consider this under Hacktoberfest_2023 , I am interested to Contribute my self : )

Ohkay you can start working on it, once received your pull request will assign you hacktoberfest-accepted label
Happy coding!✨

Ok sure : )

I had resolved this issue and
I had made a PR #6
Once please check and add a label hacktoberfest_23 : )
Kindly inform incase of further modifications : )


perf: instance types cache

Fixes #226
Description
How was this change tested?

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[ ] No

Release Note

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

45 of 47 (95.74%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 97.721%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/providers/instancetype/instancetypes.go
36
38
94.74%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
35627

Relevant Lines:
36458

💛  - Coveralls

Would be good to get proper benchmarks of before and after, potentially flagging other areas that could use performance improvements as well.

Before:

After:

https://github.com/Azure/karpenter-provider-azure/pull/232 refreshes dev monitoring tools and adds the above Provider Method Duration pane to Karpenter Performance dashboard


tests: Add ray tracing tests

CI CrashDiagnosticLayer build queued with queue ID 220675.

CI CrashDiagnosticLayer build # 214 running.

CI CrashDiagnosticLayer build # 214 passed.


Add option to show/hide URL

A feed system rarely shows the underlying URL, add support to show/hide URL. A custom renderURL can also be an option, then consumers can just  return null for that function.

You can do it in the renderLinkPreview where you can just manually render the whole component and customize it


[RAC] Tooltip on button in Table Cells break the hover state of actionable Row

Provide a general summary of the issue here
When working with React Aria Table, we had the need to add tooltips in some of our cells to provide more informations (about the user details for example). This causes, in our design, to have Tooltip overlapping rows (so the tooltip of row 2 would overlap row 1 when opened). This means that the user could leave a Row without hovering it (Leaving row 2 while hovering the tooltip that is technically above Row 1)
When this happens, the hover state of the row (using href) is not removed until a second pass of the mouse is done on it.
🤔 Expected Behavior?
Leaving a Tooltip that is in a row should trigger the HoverEnd event of that row.
😯 Current Behavior
Leaving a Tooltip that is in a row does not trigger the HoverEnd event of that row.
💁 Possible Solution
I tried using useHover and useFocus to help force it, but these hooks do not work on Row.
For now we are forcing the Hover state to be closed when the Tooltip is closed, but that's not an ideal solution as it only works on custom properties that we use.
I believe the problem comes from the Mouse events not properly triggering, or a ref missing between elements.
🔦 Context
No response
🖥 Steps to Reproduce
To reproduce you just need a table with a Tooltip in one of the Cells and an hover state (in our case, done with the use of href)

Sandbox

Version
react-aria-components 1.3.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
Windows 11 Enterprise
🧢 Your Company/Team
Workleap
🕷 Tracking Issue
No response

This looks to be the same issue that was brought up in this following discussion: https://github.com/adobe/react-spectrum/discussions/4743. I must have forgotten to convert that discussion to an actual issue so thank you for reporting this. The comment I made here is still relevant, we will need to figure out a way to determine if a event that crosses portal boundaries is desired or not.


Release: v0.3.0

This release mainly changes the way smart contracts are exposed in the npm package:
(build/ is now not in the path anymore)
in Javascript
You can use the contracts JSON ABI by importing them as follow:
import UniversalProfile from<EMAIL_ADDRESS>
const myContract = new this.web3.eth.Contract(UniversalProfile.abi, "", defaultOptions);

in Solidity
import UniversalProfile from<EMAIL_ADDRESS>
BREAKING CHANGE in the KeyManager: For the KeyManager, we changed the permission bit order!
The new order can be found here: https://docs.lukso.tech/standards/LSP6-KeyManager#-permission-values
All permission from SETDATA on are pushed one bit higher, as we added the ADDPERMISSIONS permission. To distinguish between CHANGEPERMISSION and adding permissions (the latter is far more sensitive).

@CJ42 please approve

@YamenMerhi same


perf: significantly speed up conda resolution

This PR bumps rattler_solve which bumps resolvo which includes two important performance improvements. This should significantly reduce the number of cases where the solver takes a very long time to solve (minutes plus).
This benchmark image taken from resolvo shows that the number of cases that take more than 60 seconds is significantly decreased.

Insane improvement. Testing the example from #2134
[project]
name = "slow"
channels = ["https://fast.prefix.dev/conda-forge"]
platforms = ["linux-64"]

[dependencies]
cmake = "*"
compilers = "*"
gcc = "==11.4"
pyspark = "*"

These are the results :scream:

Also for pixi itself as a project its 2x faster! which is huge!

Thank you @baszalmstra for deepdiving and figuring it out!


INFRA-962 - Update sbt to 1.5.6

Update sbt to 1.5.6 to fix log4j issue - CVE-2021–44228

Codecov Report

Merging #336 (da6df1b) into master (684df42) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #336   +/-   ##
=======================================
  Coverage   35.00%   35.00%
=======================================
  Files          29       29
  Lines         300      300
  Branches        7        8    +1
=======================================
  Hits          105      105
  Misses        195      195

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 684df42...da6df1b. Read the comment docs.


Decaf anyone?

Hi guys, is there a JavaScript only fork of Bootstrap Tour?
I would contribute to that, and probably others would as somebody else mentioned.
I'm working on some redirect (hash only) and backdrop issues and I will fix that in my local js copy, but CoffeeScript is too much of a downer for me so can't push that back to you.
Thanks anyways, cheers.

Ducule, this project looks like it's not maintained anymore.
When I get a chance I'll probably switch to Shepherd or Intro.js. You may want to look into those.
http://github.hubspot.com/shepherd/docs/welcome/
https://usablica.github.io/intro.js/

Hey @btecu thanks for the suggestions,
I've seen those but I prefer BootstrapTour for the looks. I managed to hack around the issues I had so I'm fine now, cheers.

@btecu it's still maintained. I'm just too busy to quickly respond to all issues.
@ducu that's something I've been thinking about, an ES6 version.

@sorich87 That would be good, cheers

@sorich87
First of all, this is a great-by design & API library. Thanx a lot for it.
Unfortunately, the library still has some issues and they make it less usable.
It's not really necessary to respond to all comments and review all issues, but perhaps reviewing and merging PRs would help a lot to speed up fixing stuff. PRs are usually already fixed and tested, can be merged within a while.
For those interested in "decoffeeing" - just copy & paste file:
https://github.com/sorich87/bootstrap-tour/blob/master/src/coffee/bootstrap-tour.coffee
into section "Try Coffee Script" at http://coffeescript.org/ into left window.
Coffee script will be instantly automatically converted into valid javascript.


Add LD-JSON to MinifyJavascript content types allowed to be compressed

As LD-JSON spec is basically a JSON in a

Coverage increased (+0.008%) to 90.205% when pulling 4ee3e73e065f66325b014d320f7a52357927e4b4 on vndmtrx:patch-1 into ecb84cc6d2f05bd75a4125b7494a058ed702279e on middleman:master.


New lint rule: Don't use template literals if you aren't interpolating anything

Self explanatory. node.type === "JSTemplateLiteral" && node.expressions.length === 0. Add an autofix that converts it to a JSStringLiteral. We'll want to allow template literals that contain a double quote, single quote, or newlines though.

I'll grab this one.


2.6.1 breaks build in Xcode 10.1

We didn't lock the version of this plugin, so now with 2.6.1 the build is failing in Xcode 10.1.
Locking the version to 2.6.0 works, but this might still be something worth looking into.
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:483:16: warning: unnecessary check for 'iOS'; enclosing scope ensures guard will always be true
            if #available(iOS 8.0, *) {
               ^
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:470:9: note: enclosing scope here
        if #available(iOS 10.0, *) {
        ^
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:38:42: error: type 'AVLayerVideoGravity' (aka 'NSString') has no member 'resizeAspectFill'
            previewLayer!.videoGravity = AVLayerVideoGravity.resizeAspectFill
                                         ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:124:57: error: incorrect argument label in call (have 'for:', expected 'forMediaType:')
        let status = AVCaptureDevice.authorizationStatus(for: AVMediaType.video)
                                                        ^~~~
                                                         forMediaType
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:136:75: error: type 'AVMediaType' (aka 'NSString') has no member 'video'
                let availableVideoDevices =  AVCaptureDevice.devices(for: AVMediaType.video)
                                                                          ^~~~~~~~~~~ ~~~~~
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:156:52: error: type 'AVMetadataObject.ObjectType' (aka 'NSString') has no member 'qr'
                metaOutput!.metadataObjectTypes = [AVMetadataObject.ObjectType.qr]
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:241:26: error: type 'AVMetadataObject.ObjectType' (aka 'NSString') has no member 'qr'
        if found.type == AVMetadataObject.ObjectType.qr && found.stringValue != nil {
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:257:57: error: incorrect argument label in call (have 'for:', expected 'forMediaType:')
        let status = AVCaptureDevice.authorizationStatus(for: AVMediaType.video)
                                                        ^~~~
                                                         forMediaType
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:260:42: error: incorrect argument label in call (have 'for:completionHandler:', expected 'forMediaType:completionHandler:')
            AVCaptureDevice.requestAccess(for: AVMediaType.video, completionHandler: { (granted) -> Void in
                                         ^~~~
                                          forMediaType
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:398:70: error: incorrect argument label in call (have 'for:', expected 'forMediaType:')
        let authorizationStatus = AVCaptureDevice.authorizationStatus(for: AVMediaType.video);
                                                                     ^~~~
                                                                      forMediaType
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:471:63: error: 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString'
            guard let settingsUrl = URL(string: UIApplication.openSettingsURLString) else {
                                                              ^~~~~~~~~~~~~~~~~~~~~
                                                              UIApplicationOpenSettingsURLString
UIKit.UIApplication:64:22: note: 'openSettingsURLString' was introduced in Swift 4.2
    public class let openSettingsURLString: String
                     ^
/path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift:484:74: error: 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString'
                UIApplication.shared.openURL(NSURL(string: UIApplication.openSettingsURLString)! as URL)
                                                                         ^~~~~~~~~~~~~~~~~~~~~
                                                                         UIApplicationOpenSettingsURLString
UIKit.UIApplication:64:22: note: 'openSettingsURLString' was introduced in Swift 4.2
    public class let openSettingsURLString: String
                     ^

** BUILD FAILED **

The following build commands failed:
	CompileSwift normal x86_64 /path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift
	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
	CompileSwift normal i386 /path/to/project/platforms/ios/app/Plugins/cordova-plugin-qrscanner/QRScanner.swift
(3 failures)
xcodebuild: Command failed with exit code 65

Thanks for reporting. I think that it 's related to the non-backward compatibility between Swift 5 and 3. I will check.

We have the same problem - i guess this latest release should have been a major one 🙈
Any chance this could be reverted, rereleased as 2.6.2 and a 3.0.0 with swift 5 support published?

Could you maybe also update NPM? https://www.npmjs.com/package/cordova-plugin-qrscanner Still says latest version is 2.6.1.

Plugin has been updated: https://www.npmjs.com/package/cordova-plugin-qrscanner
2.5.2 -> Compatible with XCode 10.1 or below
3.0.1 -> Compatible with Xcode 10.2 or higher
Thanks!

@cmgustavo Awesome. Thanks man!

Still getting the same error on 3.0.1 :-(

@oschwier Try to add
<preference name="UseSwiftLanguageVersion" value="5" />

To your config.xml.

2.6.2 with Xcode 10.0 still getting the same error.

@oschwier Try to add
<preference name="UseSwiftLanguageVersion" value="5" />

To your config.xml.

@cmgustavo No effect

If you change UseSwiftLanguageVersion preference to value 5, you need to change
"UIApplication.openSettingsURLString" to "UIApplicationOpenSettingsURLString" in QRScanner.swift file.

If you change UseSwiftLanguageVersion preference to value 5, you need to change
"UIApplication.openSettingsURLString" to "UIApplicationOpenSettingsURLString" in QRScanner.swift file.

That's not correct.
'UIApplicationOpenSettingsURLString' has been renamed to 'UIApplication.openSettingsURLString'

for Swift 5

I had the same problem, tried the <preference name="UseSwiftLanguageVersion" value="5" /> and no change.  I changed the "UIApplication.openSettingsURLString" to "UIApplicationOpenSettingsURLString" in QRScanner.swift and it worked.

That's not correct.
'UIApplicationOpenSettingsURLString' has been renamed to 'UIApplication.openSettingsURLString'

for Swift 5

Yes, of course, but then there's something wrong.

@oschwier Try to add
<preference name="UseSwiftLanguageVersion" value="5" />

To your config.xml.

Tried, it's working for me, I've put the line inside
<platform name="ios">

Update plugin for 3.0.1 version.
"UIApplication.openSettingsURLString" to "UIApplicationOpenSettingsURLString" in QRScanner.swift file.

It's work for me!

I had to do the same as @gesielrosa to get it working.

I submitted pull request #248 to resolve this.
I recognise it should be UIApplication.openSettingsURLString for Swift 5, but everyone seems to have the same problem and the same solution.

<preference name="UseSwiftLanguageVersion" value="5" />`
Worked for me. I use Xcode 10.2 and qrscanner Version 3.0.1

I had the same problem, tried the <preference name="UseSwiftLanguageVersion" value="5" /> and no change. I changed the "UIApplication.openSettingsURLString" to "UIApplicationOpenSettingsURLString" in QRScanner.swift and it worked.

That's works for me

@oschwier Try to add
<preference name="UseSwiftLanguageVersion" value="5" />

To your config.xml.

works for me

nothing works me .........

I tried everything but nothing works ...........

Build failed with Xcode V -10.3 and scanner V - 3.0.1

It doesn't work with cordova 9 for now. I think it requires a few changes to make it compatible.

fixed for me
Also you can install plugin cordova-plugin-add-swift-support or... maybe is better to add that plugin as dependency

I had the same problem, tried the <preference name="UseSwiftLanguageVersion" value="5" /> and no change. I changed the "UIApplication.openSettingsURLString" to "UIApplicationOpenSettingsURLString" in QRScanner.swift and it worked.

This worked for me.
QRScanner 3.0.1
Cordova 9.0.0<EMAIL_ADDRESS>

Just for reference I got it working with:
QRScanner: 3.0.1
Cordova CLI: 8.1.1<EMAIL_ADDRESS>Cordova Platforms: ios 5.1.1
WITHOUT:
You might need to rm/add ios again to get to a clean slate.

The following build commands failed:
CompileSwift normal x86_64 /Users/jiyuan/Desktop/project/cordova/admin/platforms/ios/xgAdmin/Plugins/cordova-plugin-qrscanner/QRScanner.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)
xcodebuild: Command failed with exit code 65
I had the problem too,has anyone solved the problem?


Microformats h-resume mark up

One of the hall marks of a great resume is the semantic markup  Many sites like Linkedin use h-resume to interchange data on digital resumes. Has there been any thought in using h-resume to mark up academic with semantic classes?

A lot of the website data is already semantically marked up using http://schema.org . For example, the personal resume type content is marked up using http://schema.org/Person . Adding the h-resume tags as well may be redundant and clutter the HTML up a bit?

Yea, I started looking at the semantics today. I have been following schema.org for about 4 years. As I have been working on marking up learning resources at my institution. The folks at Schema.org are really doing a great job with some of the levels of detail they go through. Since it is all semantic classes, I'm not sure it actually is an more "clutter", as far as I understand it, it just matters what search engine is reading the file. from an end user perspective (both for my readers, and as a user of Academic) What I am most excited about is using hcard to allow users to download a vCard of my data strait to their device. h-Resume builds on h-Card.

For the reasons pointed out on Quora at https://www.quora.com/What-is-the-difference-between-microformats-and-schemas and Google at https://developers.google.com/search/docs/guides/intro-structured-data?visit_id=1-636400540320203267-2218291620&rd=1 , I am closing this.


Sync creation is not rate-limited

Import creation is rate-limited:
https://github.com/CartoDB/cartodb/blob/d352e40c7edbb4dfd5987c83a028907a82427a9f/app/controllers/api/json/imports_controller.rb#L35-L36
But sync creation is not:
https://github.com/CartoDB/cartodb/blob/d352e40c7edbb4dfd5987c83a028907a82427a9f/app/controllers/api/json/synchronizations_controller.rb#L17-L72
Execution of syncs is limited to concurrent syncs per user:
https://github.com/CartoDB/cartodb/blob/4b3044913219efc499ab4813e8678459c3ae8e05/services/platform-limits/lib/importer/user_concurrent_syncs_amount.rb#L14
But creation is not, which can be a problem when some users create lots of syncs; I think we should apply the same limits for sync creation than for import creation.

Superseded by https://app.clubhouse.io/cartoteam/story/93384/sync-creation-is-not-rate-limited


Greek Translation

Added Greek Translation Version 1.0

Coverage remained the same at 98.802% when pulling 0b7e96eeea8ba8f8a047a7786afcb0d2ad27b280 on man0s:master into e0239a6570515986cd4f526e4d166cda413ae391 on comfy:master.

Coverage remained the same at 98.802% when pulling 0b7e96eeea8ba8f8a047a7786afcb0d2ad27b280 on man0s:master into e0239a6570515986cd4f526e4d166cda413ae391 on comfy:master.

Awesome. Thanks again!


Assignment2-6IT-A-Bharvi

@bharvivaland

Please ensure that the solutions are put inside a folder with the name as your enrollment number at submissions/html/assignment1


Random Advice Generator

PR Description 📜
A completely responsive random advice generator app which will generate a new and random advice each time the visitor clicks on the button.
It uses a random advice api implemented using HTML,CSS,JavaScript.
Fixes #3593

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @meetarora10 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@meetarora10 resolve merge conflicts !

@kunjgit  I have made the changes.

@kunjgit please take a moment to review this PR

Thank you  @meetarora10 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Hey @meetarora10,
You can't work on a closed issue 👀!
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗

Hey @meetarora10,
You can't work on a closed issue 👀!
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗


Clean up & error handling

remove unneeded socket and json import
change oplog query to avoid stopIteration issue (issue #3)
check if storage engine is wiredTiger before try to get metrics to avoid error
unified database connection method

Hi, I closed this pull request because I found some errors. As soon as I will have some time, I will request it again with fixes.


net: mdns: Create a listener to all available network interfaces

Instead of just listening first network interface in the system for mDNS packets, install a multicast listener to all available network interfaces.
Fixes #18748

Sorry for the reviews, I had to resubmit as one twister check was failing in CI although it was passing locally.


[Misc] Added/Enhanced structured logs

Example log during upgrade filtered using sme.sap.com/btp-app-identifier-hash -
I0426 11:36:06.609133   18178 reconcile-capapplicationversion.go:276] "Processing CAPApplicationVersion - Creating content job" name="cav-travelapp03-43" namespace="travelapp-01" contentJobName="cav-travelapp03-43-content" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:07.323887   18178 reconcile-capapplicationversion.go:584] "Processing CAPApplicationVersion - Creating deployment" name="cav-travelapp03-43" namespace="travelapp-01" deploymentName="cav-travelapp03-43-app-router" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:08.719563   18178 reconcile-capapplicationversion.go:584] "Processing CAPApplicationVersion - Creating deployment" name="cav-travelapp03-43" namespace="travelapp-01" deploymentName="cav-travelapp03-43-server" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:08.910429   18178 reconcile-capapplicationversion.go:401] "Processing CAPApplicationVersion - Creating service" name="cav-travelapp03-43" namespace="travelapp-01" serviceName="cav-travelapp03-43-additional-workload-svc" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:09.310197   18178 reconcile-capapplicationversion.go:401] "Processing CAPApplicationVersion - Creating service" name="cav-travelapp03-43" namespace="travelapp-01" serviceName="cav-travelapp03-43-app-router-svc" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:09.710877   18178 reconcile-capapplicationversion.go:401] "Processing CAPApplicationVersion - Creating service" name="cav-travelapp03-43" namespace="travelapp-01" serviceName="cav-travelapp03-43-server-svc" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:11.197579   18178 reconcile-capapplicationversion.go:584] "Processing CAPApplicationVersion - Creating deployment" name="cav-travelapp03-43" namespace="travelapp-01" deploymentName="cav-travelapp03-43-additional-workload" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:11.374820   18178 reconcile-capapplicationversion.go:464] "Processing CAPApplicationVersion - Creating network policy" name="cav-travelapp03-43" namespace="travelapp-01" networkPolicyName="cav-travelapp03-43" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:11.524773   18178 reconcile-capapplicationversion.go:464] "Processing CAPApplicationVersion - Creating network policy" name="cav-travelapp03-43" namespace="travelapp-01" networkPolicyName="cav-travelapp03-43--in" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:20.303116   18178 reconcile-captenant.go:428] "Processing CAPTenant - Creating CAPTenantOperations" name="cap-travelapp03-provider" namespace="travelapp-01" operation="upgrade" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:22.377136   18178 reconcile-captenantoperation.go:680] "Processing CAPTenantOperations - Creating job for custom tenant operation" namespace="travelapp-01" CAPTenantOperation="cap-travelapp03-provider-9t826" tenantID="da37c8e0-74d4-4382-b5e2-161c2900b82a" operation="upgrade" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:27.834131   18178 reconcile-captenantoperation.go:304] "Processing CAPTenantOperations - Custom Tenant Operation Job finished" job="cap-travelapp03-provider-custom-op-6s95q" namespace="travelapp-01" CAPTenantOperation="cap-travelapp03-provider-9t826" tenantID="da37c8e0-74d4-4382-b5e2-161c2900b82a" operation="upgrade" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:28.258715   18178 reconcile-captenantoperation.go:519] "Processing CAPTenantOperations - Creating job for tenant operation" namespace="travelapp-01" CAPTenantOperation="cap-travelapp03-provider-9t826" tenantID="da37c8e0-74d4-4382-b5e2-161c2900b82a" operation="upgrade" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:37.667671   18178 reconcile-captenantoperation.go:302] "Processing CAPTenantOperations - Tenant Operation Job finished" job="cap-travelapp03-provider-tenant-job-gtbpk" namespace="travelapp-01" CAPTenantOperation="cap-travelapp03-provider-9t826" tenantID="da37c8e0-74d4-4382-b5e2-161c2900b82a" operation="upgrade" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:37.961536   18178 reconcile-captenantoperation.go:680] "Processing CAPTenantOperations - Creating job for custom tenant operation" namespace="travelapp-01" CAPTenantOperation="cap-travelapp03-provider-9t826" tenantID="da37c8e0-74d4-4382-b5e2-161c2900b82a" operation="upgrade" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:43.944839   18178 reconcile-captenantoperation.go:304] "Processing CAPTenantOperations - Custom Tenant Operation Job finished" job="cap-travelapp03-provider-custom-op-hlx6w" namespace="travelapp-01" CAPTenantOperation="cap-travelapp03-provider-9t826" tenantID="da37c8e0-74d4-4382-b5e2-161c2900b82a" operation="upgrade" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"
I0426 11:36:43.944958   18178 reconcile-captenantoperation.go:310] "Processing CAPTenantOperations - Completed CAPTenantOperations" namespace="travelapp-01" CAPTenantOperation="cap-travelapp03-provider-9t826" tenantID="da37c8e0-74d4-4382-b5e2-161c2900b82a" operation="upgrade" sme.sap.com/btp-app-identifier-hash="b5626da1be6a443abd9d65c372a943baa45e0b31"

@Pavan-SAP One thing I noticed in the logs is that we are creating the service for the additional workload before creating the deployment itself. It is not causing any issues because we don't check if the workload is ready before creating the service. Shall I switch the order to keep it consistent? Also, should we start checking if the workload is ready before creating the service?

Creating the service first was intentional considering scaling/scheduling etc..
So the way it is should be ok.. the service would anyway not work if the workload (deployment) isn't running. Let's not complicate things by adding these checks and use the default/built-in behaviour.


centerpiece: 1.1.0 -> 1.1.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/friedow/centerpiece/releases.
meta.description for centerpiece is: Your trusty omnibox search
meta.homepage for centerpiece is: https://github.com/friedow/centerpiece
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.1.1 with grep in /nix/store/z61abgjnjqlzbq36jb9nmif01hyzmv5p-centerpiece-1.1.1
found 1.1.1 in filename of file in /nix/store/z61abgjnjqlzbq36jb9nmif01hyzmv5p-centerpiece-1.1.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

centerpiece

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/z61abgjnjqlzbq36jb9nmif01hyzmv5p-centerpiece-1.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A centerpiece https://github.com/r-ryantm/nixpkgs/archive/edc5c278d16797a910c781708ce958f5ee4effd2.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/edc5c278d16797a910c781708ce958f5ee4effd2#centerpiece

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/z61abgjnjqlzbq36jb9nmif01hyzmv5p-centerpiece-1.1.1
ls -la /nix/store/z61abgjnjqlzbq36jb9nmif01hyzmv5p-centerpiece-1.1.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

centerpiece

Maintainer pings
cc @a-kenji @friedow for testing.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 333902 run on x86_64-linux 1

1 package built:

centerpiece

@NixOS/nixpkgs-merge-bot merge


Travis: build with version-specific Gemfiles

This PR introduces a build matrix with exact version numbers for the latest version of that Ruby release series, and matching Gemfiles with dependencies that match that version.

to ensure it builds green on each version with the right dependencies

Questions

Can we ditch some of the versions, to cut down on the build time?

yeah we could dump some old build versions.

\o/ Good times!


Local export fails on Oreo

After upgrading to Android 8.0 Oreo, I noticed that all local export methods fail. Here's how:

Export to SD card - opens a file picker, can't see any folders or files in it
Share generated xml - crash
Copy to clipboard - crash

The only way that seems to work is "Export repository" from main screen.
Perhaps they need storage permission? Because from app info screen it seems Stringlate doesn't even want it.

Is this reproduceable in emulator too? Have no Oreo device yet

If it isn't an OxygenOS (OnePlus's skin) bug, it should be.

Closing/merging to #184 , comment over there


Step 8: Profit! 🎈
Expected behaviour
We should lint on commit only because that's the only way code can make it into the repo.
Relevant code
"husky": {
    "hooks": {
      "pre-commit": "echo 'Pre-commit checks...' && lint-staged",
      "pre-push": "echo 'Pre-push checks...' && npm run linters",
      "commitmsg": "commitlint -e $GIT_PARAMS"
    }
  },

cc: @alemesa

yeah @DonghyukJacobJang shouldn't all these checks run pre-commit or it takes too much time?
"husky": {
    "hooks": {
      "pre-commit": "echo 'Pre-commit checks...' && npm run linters && lint-staged",
      "commitmsg": "commitlint -e $GIT_PARAMS"
    }
  },

Solution: move it to the pre-commit

Not able to re-produce it anymore without changing.


PyETo is missing from PyPI

When I try to install the package via pip, I get a 'No matching distribution found for pyeto" error, and when I look for the package in PyPI (https://pypi.python.org/pypi) I can not find it.

Hi, Thanks for your interest. I have not put the package on PyPI yet. I wanted to improve the documentation before I did that. I haven't had much spare time to spend on PyETO for quite a while, so I suggest you download the source from GitHub if you want to use it.
Regards,
Mark

Hi, thanks for your quick reply. I will download the source from Github.

Is this still an issue? I cannot install using 'pip install pyeto'.

Cannot install the package using 'pip install pyeto'

The creator will not upload the package to PyPi but also will not take it down from the webpage saying that is on PyPi. https://pyeto.readthedocs.io/en/latest/overview.html. It's been 5 years, take it off the website.


[contracts, node, client] Make async transfer app use recipient at contract layer

Right now, anyone can dispute a linked payment with the pre-image. This is desirable for normal links, but we should make a new linked payment with recipient app to make the logic work in the contract layer.

Thinking more about this:
There's never really a case where any third party could dispute without having a signed commitment from a channel participant. Additionally, we're encrypting the preimage with the recipient's key, which protects against the node from doing this.
To the contract logic, having the recipient be defined in the app state is somewhat meaningless:

For the sender's app, the recipient isn't a channel participant so the app couldn't possibly do anything with that info.
For the receiver's app, the recipient is a channel participant, but in that case they're already signing using their key in order to take action in the channel. Having their address be a part of the hash is then pretty meaningless.

Closing this for now


Cluster queue resource metrics.

What type of PR is this?
/kind feature

What this PR does / why we need it:
Add optional cluster queue resource quota and  usage metrics.
Which issue(s) this PR fixes:

Fixes #972
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Add optional cluster queue resource quota and usage metrics.

/test all

/kind feature


[FR] compliance with RFC draft-ietf-dnsop-rfc7958bis-06

Describe the desired feature
Compliance with RFC draft-ietf-dnsop-rfc7958bis-06
Potential use-case
Update the trust anchor file to the latest version with auto-trust-anchor-file and use it in unbound.
Further reading
https://lists.dns-oarc.net/pipermail/dns-operations/2024-November/022711.html
https://datatracker.ietf.org/doc/draft-ietf-dnsop-rfc7958bis/

Unbound already supports this. Unbound has been tested with the new trust anchor publication format from the draft. This works, it turns out, without modifications needed. The xml format has been extended but that did not need code modification for the handling code. Or was there a different reason for the issue ticket?
In unbound, the unbound-anchor tool is used to perform the trust anchor fetch using this mechanism. The auth-trust-anchor-file unbound.conf option uses RFC5011 for tracking the key, that likely works so well that the unbound-anchor tool is mostly not needed for operations, but in some corner cases, specifically when the server was not online for the period, the unbound-anchor tool exists. The unbound-anchor program is documented in https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound-anchor.html . It can be used before starting the server to update the trust anchor file, by setting it to run just before the server starts. Or it can be run from the commandline.

Thank you for the clarification, this is all i needed to know.