Added support for flashvars and a load complete callback

Hi @jeef3 , I added two additional directive attributes:  swf-vars and swf-load.  swf-vars support the specification of flashvars on the swf object.  Use swf-load to register a callback on swf load complete.
The README file was updated to reflect these modifications.

Hi @mdoolen, thanks for the PR! Nice additions too.
Could I possibly please ask you to fix the indentation and some of the spacing (e.g.: if(thing){ should be if (thing) {. I know I don't exactly have a code guideline, or even an editorconfig, but it would be greatly appreciated.

@jeef3 , please let me know if the last commit satisfies your request.  Thanks!

@mdoolen Thanks! Almost. Try to make it so that the Files Changed tab only shows the changes you've made. It looks like the whole file is still indented two spaces too far. You should be able to check this locally with (on your branch) git diff master for example.
Thanks again.

@jeef3 , the file should have desired indent spacing now. Thanks

Awesome, thanks for that. Makes it much easier to see the work you've done :smile:


Firewall: Rules "Group rules" section does not show actual Source/Destination/Port details

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Version 23.1.2
Related to: Firewall/Rules - show all applicable rules when showing an interface

The new per-interface display of group firewall rules doesn't seem to properly show the Source/Destination/Port/etc. information for the rule. In my case, Source, Destination, and Destination Port are not wildcards, but show up as * in the Group rules section.
Additionally, the rule also shows up on the Group Interface page itself (again with wildcards instead of the correct details).

To Reproduce
Steps to reproduce the behavior:

Add firewall group (interfaces_groups.php) and include 1 or more interfaces as members. Mine is all_lans.
Add a rule for the group, using non-wildcard entries for Source, Destination, and/or their respective Port (firewall_rules.php?if=all_lans).
View the firewall page for a Group member and observe that the rule row is present under Group rules, but that the correct details are missing (firewall_rules.php?if=lan).
Return to the firewall page for the Group itself and observe that (3) applies here, too, and the correct rule is shown just below, outside the Group rules (firewall_rules.php?if=all_lans).

Expected behavior
I expected:

the Group rules display for relevant interfaces to show the details as defined in the group rule (Firewall: Rules: LAN).
there to be no Group rules display on the Interface Group definition itself (Firewall: Rules: all_lans).

Screenshots
Interface rule display in Group rules not showing correct details:

Group rule definition and duplicate display in Group rules:

should be better with https://github.com/opnsense/core/commit/48bdf53cda2d321c8d709055506793763a30353a

@AdSchellevis thanks for this feature and the quick fix! I tested the patch and it works exactly as expected for my rules.

@justinhorton thanks for confirming, we'll try to merge this into a minor release soon.

I'll include this in a hotfix for 23.1.2 to avoid future reports. Although the hotfix is currently on hold as we try to figure out what happened to sqlite (different story).
Cheers,
Franco


BUG - Clouds from BP_VdbToVolumetricClouds are invisible on level reopen

I think I've found a small bug - after you reopen the level with BP_VdbToVolumetricClouds clouds become invisible. The way to fix it is to tweak some cloud component parameter (like "Layer Heigh"), clouds will show and then you can revert tweaked valeus.
Video:
https://user-images.githubusercontent.com/9417531/206889282-1df73a2f-e8e0-4209-bdbf-f90f5b275f2e.mp4
Example level (requires SparseVolumetrics with "embergen_gasoline_explosion_a_seq_density" installed):
Cloud VDB bug example map.zip

Thanks for the report. I'm not really working on the plugin any more so I can't guarantee a fix any time soon, but I'll try if I can.

Sorry but I don't have the energy to look into this. Best, Thibault.


[DRAFT] Configuration authorisation: Permission checks and editing of permissions for users and groups

This PR contains the foundation to edit and check permissions for configurations. When completed, we have a flexible way to deal with permissions for everything that's not under a product type or product and can remove the is_staff flag.
There is a feature flag FEATURE_CONFIGURATION_AUTHORIZATION to be able to switch between current behaviour and the new way of dealing with permissions.
 Currently it works for users, groups and test types. The idea is to get feedback. Next steps will be unit tests and integration tests for the base functionality and including more configurations.
Screenshots

Setting permissions for a user by a user who is allowed to change permissions:

Viewing permissions for a group by a user who is not allowed to change permissions:

Build for unit test fails with
#26 exporting cache
#26 preparing build cache for export 0.0s done
#26 writing layer sha256:0b7df1f26cfb993e08b866c38a90874fd041223ee9ccedee1b0caf3adee3f31b
#26 writing layer sha256:0b7df1f26cfb993e08b866c38a90874fd041223ee9ccedee1b0caf3adee3f31b 0.3s done
#26 writing layer sha256:36465807550f90174c68175fcc393ef439db0faf74421004f3e37f31ef4fbead
#26 writing layer sha256:36465807550f90174c68175fcc393ef439db0faf74421004f3e37f31ef4fbead 1.1s done
#26 writing layer sha256:4219e208f5fe4085f36dd7783d6946ce8e3eab2b6fc3fb640d678aa40cbf2294
#26 writing layer sha256:4219e208f5fe4085f36dd7783d6946ce8e3eab2b6fc3fb640d678aa40cbf2294 0.3s done
#26 writing layer sha256:43e9a3e494ae08e4855ca781d05cd7f63c11cf2508966ba5acbc8f357de6dd1b
#26 writing layer sha256:43e9a3e494ae08e4855ca781d05cd7f63c11cf2508966ba5acbc8f357de6dd1b 0.5s done
#26 writing layer sha256:5e9823d7f642ecbdfe2e305fa9ae3750cd3a0ee6f4ba80c03595b642045f901e 0.1s done
#26 ERROR: blob sha256:5e9823d7f642ecbdfe2e305fa9ae3750cd3a0ee6f4ba80c03595b642045f901e not found
------
 > exporting cache:
------
error: failed to solve: blob sha256:5e9823d7f642ecbdfe2e305fa9ae3750cd3a0ee6f4ba80c03595b642045f901e not found
Error: buildx failed with: error: failed to solve: blob sha256:5e9823d7f642ecbdfe2e305fa9ae3750cd3a0ee6f4ba80c03595b642045f901e not found

tried rebuilds 3 times, no idea what's happening here and couldn't find an answer with google

It's probably a bug in buildkit supposed to be fixed in their master branch. I'll see if I can get our tests to use that, or disable the caching for now.

If you rebase or merge dev it should start working again.

AccessLint isn't running anymore for this PR, after its change requests had been solved.

I assume Access Lint is just stuck rather then about to go red on us.

Exactly, AccessLint initially had a few complaints which I resolved and AccessLint said: "You fixed the issue(s)! Great work." After that it never ran again.


Reduce dataloader's required bandwidth

Two major changes:

[1] A script of extracting action data into a single npy file along with a README. An option named use_extracted_rel_actions is also added to support for reading the extracted npy file in ExtendedDiskDataset.
[2] In evaluation, adding an option to use GPU for transforming data rather than CPU (see mdt/wrappers/hulc_wrapper.py and mdt/datasets/utils/episode_utils.py). This minor modification could alleviate the CPU workload during evaluation while have no impact of training and validation. It is very useful on the machines with NOT-THAT-STRONG CPU. On my machine, the evaluation time can be reduced from 6~10 hours (depending on the CPU performance) to ~1 hour (which is same as the speed in your training log).

If you think there is any problem in this PR, please let me know! Thank you for your time!

I merged it via https://github.com/intuitive-robots/mdt_policy/commit/4118bbed14c6c5220c97e760ce55ac5201752089, thank you for your help!


Strengthen the client_secret sanitizer regex

Once we do find client_secret=, we want to match anything up to the next & and redact everything in between. Therefore, it is valuable to strengthen the regex and include all non-& characters, even if they may not be strictly part of the valid character set.
The goal of the sanitizer isn't to validate correctness.
Brings consistency with other languages, like Java:
https://github.com/Azure/azure-sdk-for-java/pull/39476
cc @Jinming-Hu, @microzchang, @billwert

/azp run cpp - storage - ci

/azp run cpp - storage

/azp help

/azp list

@ahsonkhan I'd like to test this first. Can you hold on merging for a few days?


Semantics of dart:js_interops Function.toJS extension

The toJS extension method on Function from dart:js_interop seems to behave differently across backends:

In wasm we simply make a JS function that will call the wasm function - handled via kernel transformer on callsites
=> See here & here
In ddc it seems to use allowInterop() and therefore maintain identity (allowInterop uses Expandos in ddc)
=> See here & here
In dart2js it seems to also use allowInterop() and therefore maintain identity (allowInterop uses different mechanism, not Expandos here)
=> See here and here

From the discussion at https://github.com/flutter/flutter/issues/143396 I infer that allowInterop shouldn't be needed in the new static interop world. Meaning we don't want to maintain identities when things flow back into dart.
For performance reasons it's also much better not to use Expandos etc when making a callback.
So

either dart2js/ddc can avoid maintaining identity for dart:js_interops Function.toJS extension method implementation
or we we need to make dart2wasm maintain identities, in which case I'm going to ask for a new API that does not require maintaining identities

/cc @srujzs @sigmundch

Sounds great to me to use an alternative to allowinterop.
@srujzs and I were discussing this also for a separate reason: the default implementation of allowInterop uses Function.apply when the callback is invoked from JS. This is expensive and we can clearly do better here. We'd like to have specialized conversions for very common callbacks (e.g. callbacks of 0, 1, and 2 args), which can then avoid using the dynamic Function.apply dispatch mechanism.
Small piece of context: for the old package:js interop, allowInterop needed the expando to provide consistent semantics between DDC and dart2js. Without it, DDC was being more permissive than dart2js, which is a bad recipe: we want to detect any issues early during development. Dart2js uses a different representation of closures and needed allowInterop to convert the representation. However, because in DDC Dart closures are JavaScript closures, missing the allowInterop on an API call used to go undetected. We added the expando to properly check that allowInterop was used.
The new interop can make this distinction statically, so it shouldn't need that mechanism anymore.

Agreed that we should be consistent here with identity. A potentially common instance where this might come up that might be an issue is event listeners. addEventListener(f.toJS); removeEventListener(f.toJS); will do different things depending on the platform.


NO-ISSUE: Make sure that we push container and helm releases for tags

Otherwise tagged versions won't generate the artifacts.

Thanks @rawagner that was quick!!!


[powershell] investigate ancient chocolatey wizard magic to impl "source HKCU"

Windows has a Better and Worse story for updating PATH:

Better: you can just modify HKCU:\Environment\Path and every windows shell should respect that
Worse: there is no equivalent to source ~/.profile to refresh the current shell (and even opening a new tab in Windows Terminal is insufficient, only opening a new Window will force a reread of HKCU.

Someone told me that chocolatey (at least at some point?) had some dark wizard magic to potentially refresh the local shell's env:
https://github.com/chocolatey-archive/chocolatey/blob/master/src/redirects/RefreshEnv.cmd
If this worked, and especially if it could be done automatically by the powershell installer, this would make windows basically a perfect UX.
I'm suspicious of it but it's worth investigating more deeply.

NB rustup also contains some "try to propagate the env-change" code. I actually did investigate that one but all of my investigation concluded it was seemingly a cargo-cult that doesn't do anything meaningful as far as an end user is concerned (rustup still needs you to open a new Window). If there is something that still reacts to that code, it's extremely marginal/obscure, and not what we're looking for.
https://github.com/rust-lang/rustup/blob/b430816406df4695405344c148c1391b8f66ec1f/src/cli/self_update/windows.rs#L397-L409

Oh context for the mastodon thread!
So, to be clear, broadcasting an environment change won't change the environment variables of any currently running shells (that would be annoying). You'd need a shell script to update the current shell's env (e.g. .ps1 or .bat). Doing so is fairly simple as the linked example shows. You just read a registry entry and update the PATH accordingly.
However, the user can of course make arbitrary changes to their shell's environment. I think it would be far less disruptive if the script could just be told which paths to append to PATH and add them (maybe after checking for duplicates).


Secret integration for AWS parameter store

Up until now, dotgpg has served us well and allowed us to restrict who
has access to what secrets within our stacks. However, we now have a
need to do more automation with our cloudformation stacks and we aren't
fully comfortable giving non-humans GPG access.
To address this, I've considered adding a new parameter resolver that
uses AWS parameter store and permission off access via a new IAM policy
that would restrict what secrets the service would have access to. This
would also allow us to move all the secrets into parameter store and
allow/deny access to individual secrets instead of our current all or
nothing approach some services have.
Is this something others would be interested in?

+1, although I'd be more interested in a secret store that uses KMS to encrypt a secret file (similar to the GPG one) over Parameter Store. I'd prefer that because changes to parameters would be kept in source control. Although you can view a given parameters changes in ParameterStore, a parameter can't be retrieved after it's deleted.

@stevehodgkiss so in your mind a file with a key:value pair encrypted with KMS would be a better idea? Is this how you'd envision the workflow?

Developer assumes role with correct KMS permissions
Decrypts local copy of file
Adds/Updates file
Recrypts file
Commit to version control

I don't mind the concept however I would be slightly concerned about people forgetting to recrypt with KMS being committing back to the repository. dotgpg prevents this because you need to use dotgpg edit <file> and it handles encryption on exit.

Sorry, just noticed this issue. I should have perhaps got involved here before I did my parameter store resolver.   Check out release 1.2.0 @jacobbednarz it might be sufficient for your needs.
The biggest problem with using IAM as fine grained arbiter (via KMS  key policies)  of who gets access to which parameter is the case where a common role is used by folks when manipulating stacks rather than individual accounts...


Clean project tango code

Clean the repo from all Google's Project Tango code and examples. The project is dead from years, the code related is just useless.

done in version 2.1.4


delete empty folders after clean operation.

This is to resolve https://github.com/aspnet/LibraryManager/issues/119

                if (File.Exists(filePath))

Will do.

In reply to: 403639955 [](ancestors = 403639955)

Refers to: src/LibraryManager.Contracts/FileHelpers.cs:223 in 26d7942. [](commit_id = 26d7942b45deed7268ad57ccb97e5893e9b347dc, deletion_comment = False)


allow md-files as cardsets

Extract sections as cards that end with [qa]
Ignore all other content

see deckset for specs


Add option for sentiment analysis

Related Issuse
Add option for sentiment analysis
Closes: #65
Describe the changes you've made
Add an option that tells whether the text has positive or negative or neutral sentiment.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.

Screenshots

Original
Updated

original screenshot
updated screenshot

@Akash20x bro, I have reviewed your PR. It is working fine but make sure if you add a new module in the project, you add it in the requirements.txt file.

OK i will take care of it from next time

Ok i will take care of it from next time


Azure function attribute in interfaces...

Description
I was trying to put the attributes for the azure functions in an interface, but I discovered the framework doesn't support this. It tries to instantiate the interface.
The reason I was hoping this would be allowed was that this way I can provide just the interface to programmers, let them implement the logic, without having to think about al the azure function trappings. If the interface is auto generated I might prevent a lot of types and errors that way. With the correct devops policies in place they would not be able to edit the attributes.
It should be technically possible for the framework that when it finds attributes in interfaces to look for an implementation of that interface and instantiate that.
Maybe this is considered abuse of the idea of interfaces, but the idea seemed practical to me.
An example from the interface:
  public interface IFrontEndProvider
  {
      [Function("GetGrades")]
      public Task<IActionResult> GetGrades([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = "{Backend}/GetGrades")] HttpRequest req, string backend, string username);
}

implementing class
 public async Task<IActionResult> GetGrades(HttpRequest req, string backend, string username)
 {

     return new OkObjectResult(10);

 }

@bzuidgeest can you please share more information about the use case you're trying to enable? In the example above, all implementations would share the same function name (one of the issues), but I would like to better understand the problem you're trying to solve so we can discuss whether this would be the right solution.


Make Python and PyPy install mirrors configurable in uv.toml

Summary
Adds python-install-mirror and pypy-install-mirror as keys for uv.toml, and cli args for uv python install.
Could leave the cli args out if we think the env vars and configs are sufficient.
Fixes #8186

@owenbrooks, thanks for picking this up!
@zanieb, I think this is ready for review again unless you want a rebase/merge from main to address the conflicts first?

Thanks for getting this merged 😊


Added UnsupportedDatabaseTypeException

Shouldn't this one go to the relevant package instead of the main one?

@sagikazarmark don't know. Probably not.

Why not? It has nothing to do with the core package IMO.

Okay, I'll put it to https://github.com/portphp/doctrine-adapter/

you can close this PR then


User.merge(reject) fails if reject has IDs on User's observations

If user2 has identified user1's observations then user1.merge(user2) fails as follows:
ActiveRecord::RecordNotUnique: PG::Error: ERROR:  duplicate key value violates unique constraint "index_identifications_on_current"
In these cases, User.merge should probably inactivate user1's IDs before attempting to move user2's IDs to user1.

Tried this again and no longer getting an error. taxon_id not getting set, but since that will be presumably addressed here https://github.com/inaturalist/inaturalist/issues/641, I'm closing this


Don't ever give up on retrying downloads in the GCE download-or-bust function

cc @zmerlynn

Love it. LGTM.


Enhancement: Provide Open API definition

An Open API definition for the REST API would be useful to developers.

PR: #261


(WIP) added tclinterp in Travis CI

This PR adds tclinterp to the vim build in Travis continuous integration.
It is a work in progress, as I'm not sure it will work until CI runs.
If it builds fine in CI, I can then work on improving if_tcl.c test coverage in another PR.

Codecov Report

Merging #3133 into master will decrease coverage by 0.29%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #3133     +/-   ##
=========================================
- Coverage   76.32%   76.02%   -0.3%
=========================================
  Files          92       93      +1
  Lines      135880   136706    +826
=========================================
+ Hits       103705   103930    +225
- Misses      32175    32776    +601

Impacted Files
Coverage Δ

src/gui_beval.c
62% <0%> (-0.44%)
:arrow_down:

src/message.c
74.64% <0%> (-0.25%)
:arrow_down:

src/if_xcmdsrv.c
84.17% <0%> (-0.18%)
:arrow_down:

src/term.c
59.78% <0%> (-0.16%)
:arrow_down:

src/undo.c
83.11% <0%> (-0.07%)
:arrow_down:

src/if_py_both.h
76.59% <0%> (-0.01%)
:arrow_down:

src/gui_gtk_x11.c
48.18% <0%> (ø)
:arrow_up:

src/if_tcl.c
27.09% <0%> (ø)

src/window.c
82.21% <0%> (ø)
:arrow_up:

src/buffer.c
78.73% <0%> (ø)
:arrow_up:

... and 4 more

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 2f362bf...5cb9beb. Read the comment docs.

Build was green in CI. Coverage is currently low in src/if_tcl.c (27.09%):
https://codecov.io/gh/vim/vim/src/5cb9bebfad3c75361167e9e58b15f0d5770231b1/src/if_tcl.c
So it brings down the overall code coverage percentage. But I'll add Tcl tests
later to raise code coverage after this is merged into master.


Upgrade CI to latest php-cs-fixer

Coverage remained the same at 98.492% when pulling 01e5b6a2488859992a72bc5f3265b088e948f305 on tmilos:ci into 0f75964bcfdf22d480ce37efa51e84fc0dc75501 on lightSAML:master.


Update container-service-monitoring.md

add links, change pluralization of "APIs"

Hi @vagelim, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@vagelim : Thanks for your contribution to the Azure documentation! The author, @rbitia, has been notified to review your proposed change.

@sauryadas - Hi, this is a customer's contribution to the Datadog monitoring article. Can you please review? Thanks!
@vagelim - Apologies for the delay and thanks for your contribution and patience.

#sign-off


Remove order assumption from populate test.

The populate test falsely supposed an order that the records would be inserted and retrieved.  This removes that assumption, allowing sails-mysql tests to pass (fixes https://github.com/balderdashy/sails-mysql/issues/202).

This change fixes the MySQL tests and doesn't break any other adapter tests. Given it's benign and surgical I'm merging this now.
We are one step closer to have all integration tests passing. Now if we could only get #40 sorted so sails-memory and sails-disk tests would pass...


Zero logs when stream selector is not strict equal

When given a rule with a stream selector that does not contains a strict equal, the API returns 0 logs

{app != "foo"} |= `line contains`
{app =~ `foo`}  |= `line contains`
{app !~ `foo`} |= `line contains`

Workaround: specify any strict equal = stream selector then we can fetch logs.
Ideas:

check loki latest version
do more tests, explore issues, docs

As discussed it throws with latest Loki:

queries require at least one regexp or equality matcher that does not have an empty-compatible value. For instance, app=~".*" does not meet this requirement, but app=~".+" will

Seem normal behavior

{app =~ `foo`} |= `line contains`

This one is a mistake and works, tested with our Loki


[HOLD for payment 2024-08-09] [$250] Distance - Error is not dismissed after entering valid waypoints

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.2-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4671219
Issue reported by: Applause - Internal Team
Action Performed:

Disable internet connection
Go to FAB > Submit expense
Select the Distance option
Enter an invalid start location
Enter an invalid finish location
Submit the expense to a workspace
Enable the internet connection
Wait for the error on the request to appear
Click on the request
Click on the address input field and type valid waypoints on the start and finish locations respectively.
Save the new addresses

Expected Result:
The error is removed and the map updates to the new addresses and displays correctly in the map thumbnail
Actual Result:
The error persists, the map thumbnail is empty and the new addresses are displayed only when the thumbnail is clicked
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/dea04afa-a370-48bd-884f-31ea69dea62a
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0138e762430a2e3f57
Upwork Job ID:<PHONE_NUMBER>952984302
Last Price Increase: 2024-07-24
Automatic offers:

dominictb | Contributor | 103283503

Issue OwnerCurrent Issue Owner: @dylanexpensify

We think that this bug might be related to #wave-collect - Release 1

@lanitochka17 cannot reproduce, can you confirm this is still occurring?

Issue is still reproducible
https://github.com/Expensify/App/assets/78819774/4cd81b4e-7d27-403d-ac76-995bcd49dc08

Moving external!

Thank you, Olly!
On Mon, Jul 15, 2024 at 12:39 PM Olly @.***> wrote:

Will get to this one today.
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/issues/44459#issuecomment-2228297122,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOKVCAAFYLSNL4NCKKU22VDZMOYIVAVCNFSM6AAAAABJ56CZ46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYGI4TOMJSGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yeah I suppose it is congruent with the other behaviour in the app. Ok let's go with @dominictb's proposal. 🎀👀🎀 C+ reviewed

I agree, great plan! Hiring. For context, we recently fixed cleaning up errored distance expenses on the frontend. Maybe there were some mistakes in there that we could smooth out here too.

Payment coming up!

@dylanexpensify i need a payment summary

Payment summary:

Contributor: @dominictb $250
Contributor+: @Ollyws $250

Please apply/request!

Done!


read_from_head false does not work #19

https://github.com/reevoo/fluent-plugin-systemd/issues/19
The fix is to not override the config parser, which correctly
sets @read_from_head to the right boolean value.
I've also added a test to test explicitly setting read_from_head false

Looks good


chore(npm): sync package.json from npm-package-template

engines, version, release scripts for semantic-release, mocha, jsdoc and istanbul

Current coverage is 93.10%

Merging #5 into master will not affect coverage as of a3809a0

@@            master     #5   diff @@
=====================================
  Files            2      2
  Stmts           29     29
  Branches         5      5
  Methods          0      0
=====================================
  Hit             27     27
  Partial          0      0
  Missed           2      2

Review entire Coverage Diff as of a3809a0

Powered by Codecov. Updated on successful CI builds.


Hi, I was able to log into Canvas.

Great, well done!

You should have an invite to respond to.

Great work 👍


NoClassDefFoundError: org/citydb/gui/plugin/view/ViewExtension when running the Importer/Exporter CLI

Describe the bug:
When attempting to use the Importer/Exporter command line interface (version 5.3.0), a java.lang.NoClassDefFoundError is thrown with the message org/citydb/gui/plugin/view/ViewExtension.
To Reproduce:
Steps to reproduce the behavior:
Run the following command:
java -jar lib/impexp-client-cli-5.3.0.jar import --duplicate-log=/mnt/data/temp/3dcitydb/duplicate.log --import-log=/mnt/data/temp/import.log --input-encoding=utf-8 --log-file=/mnt/data/temp/3dcitydb/logfile.log --log-level=info --import-mode=import_all --worker-threads=16 --db-type=postgresql --db-host=localhost --db-port=5434 --db-name=3DCITYDB --db-schema=citydb --db-username=***** --db-password=***** /mnt/data/temp/3dcitydb/hh/
See error:
[12:22:15 INFO] Starting 3D City Database Importer/Exporter, version 5.3.0
[12:22:15 INFO] Loading plugins
Exception in thread "main" java.lang.NoClassDefFoundError: org/citydb/gui/plugin/view/ViewExtension

Expected behavior:
The Importer/Exporter should start and load the plugins without any exceptions.
Environment (please complete the following information):
OS: Ubuntu Server 22.04
Java version: OpenJDK 11
Database: PostgreSQL 15]

I was able to start the import when using clinent-gui instead of client-cli:
java -jar lib/impexp-client-gui-5.3.0.jar

Workaround:
Interestingly, when running the command with the client GUI, instead the CLI, the import proceeds without any issues:
java -jar lib/impexp-client-gui-5.3.0.jar import --duplicate-log=/mnt/data/temp/3dcitydb/duplicate.log --import-log=/mnt/data/temp/import.log --input-encoding=utf-8 --log-file=/mnt/data/temp/3dcitydb/logfile.log --log-level=info --import-mode=import_all --worker-threads=16 --db-type=postgresql --db-host=localhost --db-port=5434 --db-name=3DCITYDB --db-schema=citydb --db-username=***** --db-password=***** /mnt/data/temp/3dcitydb/hh/
This is unexpected, as I am working in a shell environment and should not require the GUI version to run the import.

Seems like you have a plugin in your plugins folder that requires a GUI. Delete the plugin from the plugins folder to prevent it from being loaded at startup.
Btw, I would recommend to start the CLI using the impexp executable in the bin folder rather than using the lib/impexp-client-gui-5.3.0.jar directly.

Thank you very much for your helpful reply! It makes sense that a plugin requiring a GUI could have caused the issue when using the CLI. Turns out, I was following some older documentation, which is where I got the lib folder usage from...
Have a nice day!

Added proper log messages in case a plugin cannot be loaded through #287


Skeleton for apps/main/component/main/import.rb invalid

The default skeleton for the import.rb file causes an exception to occur with the initial setup, namely NoMethodError: undefined method 'Import' for Main:Module
Changing it to
module Main
  Import = Main::Container::Inject.args

  def self.Import(*args)
    Import[*args]
  end
end

Seems to work ok, but not sure if that's the "old" way of doing it

Actually, ignore me, it appears I was using it the "old" way
Main::Import('foo.bar') does not work, but Main::Import.args['foo.bar'] does


Pass current name of the VM thats attached a disk on Get()

If volume is attached then get the current name of the VM using the disk and return that on Get()
Testing:
a. Start container
administrator@hte-1s-eng-dhcp98:~$ docker run --rm -it -w /data -v vm-name:/data busybox
/data #
b. Get volume data
administrator@hte-1s-eng-dhcp98:~$ docker volume inspect vm-name
[
    {
        "Name": "vm-name",
        "Driver": "vmdk",
        "Mountpoint": "/mnt/vmdk/vm-name",
        "Status": {
            "access": "read-write",
            "attach-as": "independent_persistent",
            "attached to VM": "ubuntu.16.04",
            "capacity": {
                "allocated": "15MB",
                "size": "100MB"
            },
            "created": "Wed Nov  9 06:33:03 2016",
            "created by VM": "Ubuntu-1604",
            "datastore": "bigone",
            "diskformat": "thin",
            "fstype": "ext4",
            "status": "attached"
        },
        "Labels": {},
        "Scope": "global"
    }
]

c. < updated VM name in VC>
d. Get volume data.
administrator@hte-1s-eng-dhcp98:~$ docker volume inspect vm-name
[
    {
        "Name": "vm-name",
        "Driver": "vmdk",
        "Mountpoint": "/mnt/vmdk/vm-name",
        "Status": {
            "access": "read-write",
            "attach-as": "independent_persistent",
            "attached to VM": "Ubuntu-16-04",
            "capacity": {
                "allocated": "15MB",
                "size": "100MB"
            },
            "created": "Wed Nov  9 06:33:03 2016",
            "created by VM": "Ubuntu-1604",
            "datastore": "bigone",
            "diskformat": "thin",
            "fstype": "ext4",
            "status": "attached"
        },
        "Labels": {},
        "Scope": "global"
    }
]

Ran pylint on vmdk_ops.py the errors are to do with the indentation of most of the code in vmdk_ops.py that will have to be changed for the entire file. The new changes are not creating any new type of errors.
W:380, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:381, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:382, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)
W:384, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:385, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)
W:386, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:387, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)
C:387, 0: Line too long (81/80) (line-too-long)
W:388, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:389, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)
C:389, 0: Line too long (93/80) (line-too-long)
W:390, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:391, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)
W:392, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:393, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)
W:394, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:395, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)
W:396, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:397, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)
W:398, 0: Bad indentation. Found 7 spaces, expected 8 (bad-indentation)
W:399, 0: Bad indentation. Found 10 spaces, expected 12 (bad-indentation)

Fixes #652

Restarted the test, test failed with below error not related to this change,
11/09/16 08:12:02 4219287 [MainThread] [INFO   ] *** createVMDK: /vmfs/volumes/vsan:52fe282b8b5a398c-e41bd80f9e940d46/dockvols/vol_UnitTest_Create.vmdk opts = {'vsan-policy-name': 'good'}
11/09/16 08:12:11 4219287 [MainThread] [WARNING] Failed to set policy for /vmfs/volumes/vsan:52fe282b8b5a398c-e41bd80f9e940d46/dockvols/vol_UnitTest_Create.vmdk : error in line 1: syntax error
VSAN_SPBMToVsanPolicy: Failed to convert SPBM string to VsanExpr: Not ready
Failed to set object policy : Input/output error 327684.
object setPolicy error: Failure

Why the failure? We should look into it rather than ignore it

Its not a failure, we just don't get the current name today and use whats
stored. Fix is to not store the VM name which can be changed and instead
use the current name from the system.
On Mon, Nov 14, 2016 at 8:09 PM, Ritesh H Shukla<EMAIL_ADDRESS>wrote:

Why the failure? We should look into it rather than ignore it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vmware/docker-volume-vsphere/pull/722#issuecomment-260351493,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APHseLa4-_WAvXnnqS77WSZ0Zp3jql-Hks5q-HKjgaJpZM4KtQzx
.


GHC incomplete-uni-patterns

As discussed on gitter
there are more warnings (flags) than included in -Wall.
See also GHC webpage
See also this reddit issue
One such warning (flag) is -Wincomplete-uni-patterns.

[ ] behave (test\TestHelperFuncContent.hs)
[ ] Cnect (src\EnDecode.hs, src\SocketWorld.hs)
[ ] core (src\CoreUtils.hs, src\Test.hs, src\TxsCore.hs)
[ ] LPE (src\LPE.hs, test\TestLPEPar.hs)
[ ] server (src\TxsServer.hs)
[ ] valexpr (src\ValExprImpls.hs)
[ ] value (Eval.hs)

Duplicate of #696


2022-11-02-theo-updates

@NPHiggins
What's Up
The November issue of the Heritage Happenings was published on Monday. I can now come up for air. You will receive a copy soon.
Next Meeting
What is your schedule looking like?
Shoeboxed
Have you been able to bet in a navigate around?
Junior Woodchucks' Guidebook
See also: the start of almost everything that needs to be known:
https://github.com/evereverland/admin/blob/main/neil-higgins/2022-11-02-theo-woodchuck-guidebook.md
;-)

Next Meeting
I'm free next Weds and Thurs evenings. Would you be open to a virtual meeting?
Shoeboxed
I've poked around a little and see where I can export files to Dropbox. Do you want me to do that and start organizing documents? If so, give me access to the Dropbox folder you'd like to use and I'll get going on that. My account is under my gmail address
Communication
Going forward, would you prefer to communicate via github instead of email? Would you also like me to share any meeting notes and presentations here going forward?


Shabka: one repo to rule them all

Goal:
Being able to fork shabka and configure it however you want.
TODOs:

[ ] Remove user-specific configuration in modules/home
[ ] Remove user-specific configuration in modules/nixos
[ ] Remove user-specific configuration in modules/darwin
[ ] Remove user-specific configuration in modules/neovim
[ ] Create an example user named "ex"
[ ] Create an example host named "mple"
[ ] This way we'll have ex@mple :D
[ ] Add instructions on how to use
[ ] Create a branch keeping kalbasit's config serving as an example
[ ] Create a branch with risson's config serving as an example
[ ] Wait for shabka to use 19.03 for everything before merging
[ ] CI

Note to self:
Modules/nixos is system wide, which means that everything should be configurable in hosts from configuration.nix
Modules/home is per-user which means one config file per user for each module. In a host's home.nix you should only need to enable stuff

@rissson we should probably store our own configurations outside of shabka in a separate repository, and use Shabka similarly to how home-manager and nix-darwin are installed (through scripts).


error when using cache_selected_only set to True

When i set argument cache_selected_only to True, there is an error when running the actual dbt command. dbt command will be like this dbt run --select<model name> --cache-selected-only. based on documentation on dbt https://docs.getdbt.com/reference/global-configs/cache, the command should be dbt --cache-selected-only run --select <model name>

This issue was also raised by @jensenity in the slack channel: https://apache-airflow.slack.com/archives/C059CC42E9W/p1686028084902759

@bawehkacrut this is solved as part of the 1.1 release:
https://github.com/astronomer/astronomer-cosmos/releases/tag/astronomer-cosmos-v1.1.0
Thanks for sharing this bug!


[5.8] Database migration - ForeignKeyDefinition as a return

Based on the comments from @TBlindaruk, an instance of ForeignKeyDefinition will be returned from the foreign() method, rather than simply being set in the PHPDoc.
Also, since foreign() would need to generate the same Fluent parameters as indexCommand(), to avoid repeating the code, I have created indexCommandParameters() to handle parameters for both indexes and foreign keys.

If it works with PHPDoc only why do we need a code change?

If it works with PHPDoc only why do we need a code change?

@taylorotwell True, but the idea was that it also followed how ColumnDefinition works. If ColumnDefinition is an actual return, makes sense that ForeignKeyDefinition should be the same.
Could also be useful in future (maybe) if the developers need to define column-only or index-only methods outside of fluent. They could add them to those classes.

@taylorotwell , @deleugpn please look at #24444.
ColumnDefinition was created. It is simply a wrapper for Fluent, doesn't really do anything other than provide code assist for IDEs.
So, if it is only for IDE, then all Blueprint needs is to have its @return updated from Fluent to ColumnDefinition, but for some reason addColumn() now returns ColumnDefinition and not Fluent.
https://github.com/laravel/framework/pull/24444/files#diff-0a0682dbb89567dbcd7c4f50d4d1ece5R1260
How is this not also a case of

If it works with PHPDoc only why do we need a code change?

This PR is not trying to change things. Its trying to make them the same, otherwise #28387 would work just fine.

I understand what you're saying, but I don't agree with Tetiana's point. I don't care that it's never going to return an actual instance of ForeignKeyDefinition, the docblock is enough to help IDE and has no downside whatsoever.

@deleugpn I don't care either actually (its only for IDE), but it would make sense that the class would be introduced to the code in the same way as ColumnDefinition.
Actually the bottom line is that in the end it doesn't matter if #28435 or #28387 since the class doesn't really do anything.


I use Xcode Version 14.3.1 (14E300c). But the bug? issue has 'No such module 'JTAppleCalendar'

(Required) Version Number:
Podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'myProjectName' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  pod 'JTAppleCalendar', '~> 8.0.0'
  # Pods for myProjectName

end

Description
I put Month View on storyboard. Custom Class : JTACMonthView / Module : JTAppleCalendar.
the collection Cell is DateCell ( custom Class).
[  DateCell.swift ]
import JTAppleCalendar // No such module 'JTAppleCaledar'
import UIKit

class DateCell: JTAppleCell {

	@IBOutlet weak var dateLabel: UILabel!
	@IBOutlet weak var selectedView: UIView!

}

Steps To Reproduce
So, i removed Podfile.lock and projectName.xcworkspace. and I installed Pod install again on zsh. But it has still problem..
Expected Behavior
Additional Context

New different Error message generate. No such module on DateCell.Swift
I erased pods related to Podfile. and I create Podfile and even collectionView again. connected custom class again. and cell identifier etc..
I installed pods. and different error message comes out again.
Could not find module 'JTAppleCalendar' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator, at: /Users/myMacbook/Library/Developer/Xcode/DerivedData/SoundLog-dnaowrquqjgesefbzwxiscmmbtaf/Index.noindex/Build/Products/Debug-iphonesimulator/JTAppleCalendar/JTAppleCalendar.framework/Modules/JTAppleCalendar.swiftmodule

@cestbonciel are you been able to solve this last issue? Facing the same one

usually, its update to latest version 8.0.5
then do a Xcode CLEAN. --> CMD + SHIFT + K
Then do a rebuild.


ngRoute templateUrl can not load third party domain resources.

ngRoute templateUrl can not load third party domain resources.
'use strict';

var adminApp = angular.module('deyihome-admin', [
   'ngRoute',
    'adminControllers'
]);

adminApp.config(['$routeProvider', '$sceDelegateProvider',
    function($routeProvider, $sceDelegateProvider) {
        var newhost = 's-'+top.location.host;
        console.log(newhost);
        var static_prefix = top.location.protocol+'://'+newhost;
        console.log(static_prefix);
        $sceDelegateProvider.resourceUrlWhitelist([
            'self',
            'http://*.netroby.com/**',
            'https://*.netroby.com/**'
        ]);
        $routeProvider.
            when('/home', {
              templateUrl:static_prefix+'/a/index.origin.html',
                controller:'home'
            }).
            when('/s-contractor', {
            templateUrl: static_prefix+'/a/s-contractor.html',
            controller: 's-contractor'
        });
    }
]);

i want to set ngRoute load template from thirdparty domain
http://s-www.netroby.com
All js,css,html will put into these static only domain

This is likely because your server is not set up correctly for CORS: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
See also the contributing guidelines for places where you ask for support: https://github.com/angular/angular.js/blob/master/contributing.md


Jumping to sections

Is it possible to jump to a section from table of contents?

No, at least not for the moment. However I merged a recent contribution which detects titles, so I could do something about it in the future.


rename request_id -> _request_id in requests.py#L140

request_id is used very often in real life, now I have difficulties because I cannot pass the request_id parameter to get information about the request
if you agree to this issue, I'm willing to do it.
https://github.com/bcb/jsonrpcclient/blob/master/jsonrpcclient/requests.py#L140

Not sure I agree with the premise.
If this was to happen it’d be a breaking change and would have to go in the next major release.

I'm having a similar problem with Client.request(). In my case, the RPC method itself expects a method_name parameter. Specifying it via **kwargs makes it clash with the method_name argument used to determine the name of the RPC method.
It should be pointed out that any RPC parameter that also happens to be a Python keyword cannot be passed via **kwargs either.
As a generic solution to this kind of issue, I suggest adding an alternative way to pass RPC params other than via *args or **kwargs, e.g. by accepting a dict/list containing the params in a separate optional argument.

Yes good idea.

It should be pointed out that any RPC parameter that also happens to be a Python keyword cannot be passed via **kwargs either.

Is that true? What happens if you use a Python keyword?

Clash with a Python keyword
It's a syntax error:
request("https://example.com", "test", for="loremipsum")

  File "<stdin>", line 1
    request("https://example.com", "test", for="loremipsum")
                                           ^
SyntaxError: invalid syntax

In BeautifulSoup, a popular library for parsing HTML, when it came to searching by CSS class they had to use class_ kwarg instead of class because of this.
This particular issue can be circumvented by using dict expansion.
request("https://example.com", "test", **{"for": "loremipsum"})

This code raises an error too because example.com isn't really a jsonrpc server, but at least it sends the request successfully.
Clash with a function argument
However, if one of the params has the same name as an argument used by the function, there's effectively no workaround. Both
request("https://example.com", "test", **{"method_name": "loremipsum"})

and
request("https://example.com", "test", method_name="loremipsum")

result in TypeError:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.9/site-packages/jsonrpcclient/__init__.py", line 8, in request
    return HTTPClient(endpoint).request(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/apply_defaults/decorators.py", line 13, in wrapper
    return function(self, *args, **kwargs)
TypeError: request() got multiple values for argument 'method_name'

Ok we should add a way to pass a list or dict of arguments.

Note that this too will be a breaking change in case a new function argument is introduced to pass the params. Whatever name we pick for this new argument, it will break existing code that uses that identifier as a name of an RPC parameter.

So in v4 I guess we should have a "params" parameter, like:
>>> request("get", params=["foo"])
'{"jsonrpc": "2.0", "method": "get", "params": ["foo"], "id": 1}'


Wheel building process for pypesq is failing

Hi, I have te following problem when I tried to install using the command 'pip install -e .'
ERROR: Failed building wheel for pypesq
I'm using python3.10 in a virtual machine with ubuntu 20.04
It installs everything but this.

Hi guys, I'd like to help but I don't have enough time for this... @viksosdev I hope the answer from @Sheng08 helps.


Update 300-cdk-watch.md

Fixes typo in the documentation
Fixes #

I don't believe this warrants a new issue.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT-0 License.

star contribution 10/10 would boostrap again. Thank you.


Make it more difficult to lose swap modification by accident

I made these changes after a failed hibernation left a bunch of swap files that I wanted to clean up, but not lose any modifications.  I appreciate the 8.2 auto delete unmodified swap files, it will make this kind of clean up quicker.  I think it should check for the hostname, shared files on NFS or a similar setup is the issue here, if it is a different system you can't check the pid.
I've been wanting a different hotkey for (D)elete it, I picked Delete (M)odified, I've been worrying that I hit d so often that even if I see modified: YES, I'll still trash it, this will make that less likely.
I do wish vim stored the current tty to the swap file, that's something another vim could check, is there a process by that pid, is it on the same tty, if no assume it is unrelated.  I didn't make a patch for that because I assume modifying the swap block 0 would not likely be accepted for such a change.

Hmm, I don't think changing the key for Delete is such a great idea.  It is very unexpected, I can't think of another dialog (not just in Vim) that does this.  I do know some UIs that then ask "are you sure", but that's quite annoying.
Not deleting the swap file when the host name differs makes sense, I'll include that and add a test for it.


Actually it is there!

          Actually it is there!

wget https://raw.githubusercontent.com/techahold/rustdeskinstall/master/update.sh
chmod +x update.sh
./update.sh

Originally posted by @dinger1986 in https://github.com/techahold/rustdeskinstall/issues/30#issuecomment-1410123522
Hello, on Ubuntu 22.04.2 LTS (GNU/Linux 5.15.104-1-pve x86_64) the update command comes with the following error message
"root@RustDeskTest:~# chmod +x update.sh
root@RustDeskTest:~# ./update.sh
./update.sh: line 8: syntax error near unexpected token newline' ./update.sh: line 8: '
root@RustDeskTest:~#"
Is the problem with my server?

I dont understand can you be more descriptive?


Possibility to save values as calculated during orbit propagation

💡 Feature request
When propagating using sf = propagate(orb, tofs, method=cowell, f=f, rtol=1e-8), where f is a function containing func_twobody, J2_perturbation as well as a custom function with a maneuvering strategy. I would like to be able to save the values as calculated in this f function during propagation. Since the propagator goes back and forth in time, e.g. when the tolerance is not met, simply appending to an array in the f function does not work. When I append to an array in this f function, I have no way of knowing which values are valid and which are not. See for example this figure where I appended the current simulation time.
🎯 Goal
This feature would be incredibly useful when I want to create a mission plan. I have a function which determines, based on the satellite position and velocity, in which direction and when I should be thrusting. My goal is to end up with a mission plan which shows at each timestamp if the thruster has to be turned on or off as well as the direction of thrust.
I think this functionality would have many more use cases. Lets say you want to compare several maneuvering strategies, and compare the used deltaV. This would require knowing when the thruster was on.

Thanks @spmvoss , this is an excellent suggestion. It needs a brave soul to understand the intricacies of SciPy solve_ivp and figure out if it's currently possible. And if it's not, we should open an issue upstream.


Create a database for login and signup

create a database for login and sign up using SQL, PHP and HTML.

please assign me to this problem. I'm working on it.

#7


Facebook archiving

I've got a Facebook archiver working by using the wacz_enricher.py
https://github.com/djhmateer/auto-archiver/blob/v6-test/src/auto_archiver/enrichers/wacz_enricher.py#L159
Am using a stored profile to be able to get images which require you to be logged in.
Am running this archiver from a residential IP as if run from a cloud, then FB will block the requests.
This archiver is run as well as the main archiver (which runs on a cloud)

looks for any url which contains facebook.com and has an archive status of: wayback: (have added a new config flag called fb_archiver so that the gsheet_feeder.py only gets the rows we want)
runs the wacz archiver only
runs hash_enricher and screenshot_enricher

It may be that this can be much simpler if I can run everything sequentially (and not on 2 servers)., Need to wait for more bandwidth on residential network, then can potentially do a PR.
Also I've found I need to keep testing the profile as it will need to be re-logged in after a few weeks.

Looking forward to that PR, we can indeed have an option to run a specific archiver via a residential IP proxy.

Taking another look at this, can you clarify if you're doing any extra downloads/requests or simply parsing data form inside the wacz?


Cannot control the cursor in 'find', 'find-and-replace', and 'sidebar' widget windows.

It would be nice to have control over the cursor in the 'find', 'find-and-replace', and 'sidebar' widget windows.
Instead of having to move my hand away from home-row and use the arrow keys.

No takers?
Seems like it'd be trivial to implement.

I dont quite understand the issue. Could you elaborate further please? I seem to be able to control cursor.

What's confusing you?
Pressing ctrl+f brings up the the find window.
In that window is a little textbox.
You can type in that box and move the cursor left and right with the arrow keys.
But you cannot move the cursor left and right with keys that are bound to cursorLeft and cursorRight.


Typo in default theme

Check this line: https://github.com/Semantic-Org/Semantic-UI/blob/master/src/themes/default/elements/icon.overrides#L715

What’s wrong with that?

Hi, there’s definitely nothing wrong with that. Class names can’t start with a digit, and that’s the only way to to allow it—i.icon.\35 00px:before basically translates to i.icon.500px:before. There’s a reason to change it, though, and we’re already tracking it here: #5468.


Database Error after upgrading, InnoDB tables error: doesn't exist at the engine

I've just upgrading WPN-XM to the latest version. All daemon are working well. But the problem is all of my database structure are gone. I can't access it. the error reporting is :
[Warning] InnoDB: Cannot open table db_name/table_name from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.

I'm install it as portable. And now, I can't work and all of my projects are gone. I 've to create and reverse back to create the structure.
I hope this problem can be made as consideration.
Thanks

Hey Puguh,
that's odd. The most common reason you'll see data dictionary errors like these pop up, is because something was moved around, modified or overwritten. Here the data dictionary expects a file or tablespace to be here, but it isn't.
To resolve this error, you might try examining the .frm file and recreating the table structure.
I hope that you can recreate the tables.
My advise is to always create a backup of projects and databases, before you install or upgrade.
The state of the upgrade handling is that it's basically an installation on top of the existing installation, where only some daemon configuration files are renamed (to keep the old ones).
Regarding the development of the stack, i would like to point out the open issues and feature requests for improving the upgrade handling.

Add Upgrade handling to the installers - #441
Do MySQL database dump/reimport during upgrading - #361
I will try to implement them in one of the next versions. Feel free to support the development.

that's what happen with me. please check the installer during the upgrade. after the upgrade is done. the ibdata1 size was just like a new install, around 12 MB. it looks like it had been overwritten during the upgrade. by this mean that my innodb tables are gone.
I've searching at google about this problem. and since the ibdata1 was changed i can't get the tables structure or data.
please add new capabilities when upgrade to rename the old ibdata1 or just leave it as it, don't overwritten it.
Thank You,

Closing in favor of issue https://github.com/WPN-XM/WPN-XM/issues/441. The work is done over there.

I also have this problem,after upgrade mysql by Homebrew. How is the solution finally?


single sign out frma a SPA and ,net app

Library

[x]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Description

is there a way that I can sign out on a SPA and also from a .net app?
this is because we are migrating from a web app from .net to SPA with react and we got our login page on .net yet but the app is in react.
in our react app there is a logout button we are using MSAL.js, we are  able to logout from our React app but when we go back to the .net app that app the user is still logged in
Source

[ ] Internal (Microsoft)
[ ] Customer request

@maacaro You can register a "Front Channel Logout Url" on each of your app registrations you would like to be signed out. When one app calls logout, AAD will check which applications that user is signed in to and open an iframe to each corresponding front channel logout url. You'll need to ensure that url that you register calls the relevant logout APIs to clear local cache.

Closing, let us know if you have further questions.


Create 199-Binary-Tree-Right-Side-View.cs

File(s) Modified: "199-Binary-Tree-Right-Side-View.cs"
Language(s) Used: "c#"
Submission URL: "https://leetcode.com/submissions/detail/752818883/"

Thanks, @notauserx!


Reference pull request in merge commits

Gitea version (or commit ref): 1.1.1
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
It would be great if merge commits would reference the ID of the pull request and/or the title of a pull request.
GitHub uses a pattern similar to this:
Merge pull request #{PR_ID} from {branch}

{PR_title}

IMO we should just make templates for this. So they could be localized as well 😉

feature is in master


Hotfix/pgrestore separation

Incorporate into master.

Merged into master, then also into fix-docker-deploys.


Fix comparing fat pointers

Waiting for https://github.com/rust-lang/rust/pull/58301 to land
Fixes https://github.com/solson/miri/issues/614

r=me once the rustc PR has been merged and travis passes


Can common config be written in "GlobalConfiguration"

Expected Behavior / New Feature
The documentation states:   The Global configuration is a bit hacky and allows overrides of Route specific settings. It’s useful if you don’t want to manage lots of Route specific settings.
Based on this, my understanding is that if the following few configurations are common for all the entries in ReRoutes, then the following way of putting it together should work:
"GlobalConfiguration": {
    "DownstreamScheme": "https",
    "DangerousAcceptAnyServerCertificateValidator": true,
    "QoSOptions": {
        "TimeoutValue": 60000
    }
}

Actual Behavior / Motivation for New Feature
It is not working at my end. Looks like one of the possibilities:

My understanding is wrong: Then documentation should be made more explanatory.
My understanding is right: Ocelot may have some problem. Since this configuration otherwise (if I repeat these in each entry in ReRoutes) has been working for 20 services that my Ocelot instance is serving.

In either case, please help!

I agree with @abhiphirke. After reading the docs I have thought that it was possible to use "AddHeadersToRequest" inside "GlobalConfiguration" in order to add common headers to all requests but it did not work.

Any updates on this? This would be a very nice feature to have...

Looks like GlobalConfiguration section is limited for specific scenarios. Check this file to see what can be configured via GlobalConfiguration. But you can extend it with using PostConfigure trick. Check my answer on SO for example.

Looks like GlobalConfiguration section is limited for specific scenarios. Check this file to see what can be configured via GlobalConfiguration. But you can extend it with PostConfigure trick. Check my answer on SO for example.

I tried with the options supported in FileGlobalConfiguration, specifically DownstreamScheme and QoSOptions, but in vain.
I created global configuration like this:
"GlobalConfiguration": {
    "QoSOptions": { "TimeoutValue": 30000 },
    "DownstreamScheme": "https"
}

Am I missing something here?
Secondly, Your answer on SO is nice but it'd increase my service load time. Besides, if I need to perform conversion at startup, then I'd prefer to store the configuration in a CSV since it is easier to manage and can be edited in excel.
AFAIK, Ocelot does not support that. Or does it?
Please let me know.

@TomPallister Documentation seems to imply that every property in the routes can be overridden in the GlobalConfiguration section. Could you please update this part in order to reflect the current situation? Or is there any work in progress to make this happen?

Dear @abhiphirke,
You have the right to reopen this issue in the future if you come with a PR ready


Missing mj-hero

Hi there,
I am wondering if mj-hero component is missing in the current version.
Thanks a lot.

Hey @artf ,
I also want the mj-hero component for background images, as mj-section background images doesn't worked background-size attribute(cover and container) on large images.
help Needed.
Thanks a lot

https://github.com/artf/grapesjs-mjml/pull/142


Remove some fmt machinery by forwarding formatter directly to inner Slice

This should minimally improve compile times and cut down on some code size.

build failure will be fixed by https://github.com/artichoke/intaglio/pull/211.
I'll rebase afterward.


Django cache settings

🚀 Feature Request
Add Cache settings to our settings.py as outlined in the django documentation here https://docs.djangoproject.com/en/4.2/topics/cache/
I could argue that this falls under the umbrella of YAGNI. This is a low priority issue for that reason but I'm opening it here if anyone is interested in implementing, we will support it.
Spec

It should use our existing Redis deployment (see sections on redis usage here)
It should be configurable through environment variables, where applicable choose sensible defaults.
Should be configured to use per-view caching

Other
(Optional) update the Source Design Document (SDD) in docs/haztrak_book/design/sdd.md to reflect that we selectively cache results in an in-memory database to optimize database performance.

@wiljnichepa interested?


Sample project does not compile in UE 5.2.1

This reflects some experiences in experimenting with my own code. While trying to compile a struct derived from FMassStateTreeTaskBase You get the error below.
This happens in this MassSample and in Epic's City Demo, as well as in my own attempts to make a custom state tree task
Unreal 5.2.1 compile error with the sample project on this repo: state tree tasks fails with an error when trying to compile
0>[2/4] Link [x64] UnrealEditor-MassCommunitySample.lib cancelled
0>[3/4] WriteMetadata MassSampleProjectEditor.target cancelled
0>[4/4] Compile [x64] Module.MassCommunitySample.cpp
0>StateTreeNodeBase.h(14): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int
0>StateTreeNodeBase.h(29): Error C2061 : syntax error: identifier 'FStateTreeLinker'
0>MSNavMeshMoveTask.h(41): Error C3668 : 'FMassNavMeshPathFollowTask::Link': method with override specifier 'override' did not override any base class methods

Repro Steps:

I simply downloaded the project (git clone and git lfs pull, etc)
Tried to run, it said i needed to compile
Compile fails with this error.

Just to follow up, trying this with UE 5.1.1 and the 5.1 tag on this repo seems to work fine.

Another follow up, my own  code seems to work fine in 5.3, so likely there's some bug in 5.2. This can probably close as it seems to be a problem in UE that has since been resolved in a later version.


Added night mode option for website

Previous state
Night is not enabled.
Current State
Added Night Mode option to website.

Please review the changes.

hey i checked your pull request ..you have done a great work but the thing is you have to create a css also when some one tap on night mode then it shloud change the website in night mode for that you have to create night mode css to according to yourself..as our main aim was for the css right now im soory i have to revert your pull request please make css too..are you going to try??

@ravisaxena23 yes I will.

Waiting for it.. All the best


Tooltip and MenuItem text shifts when viewed

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Tooltip text and Menu Item text shift when rendering
https://user-images.githubusercontent.com/22456292/120680541-0aadd100-c460-11eb-90cc-265bd1b60508.mp4
https://user-images.githubusercontent.com/22456292/120680547-0c779480-c460-11eb-8652-465d1ff396ef.mp4

Expected Behavior 🤔
The text shouldnt do that

Steps to Reproduce 🕹
I know its very lame but I cannot reproduce in sandbox
https://codesandbox.io/s/kind-http-8603x?file=/public/index.html
Context 🔦
I am trying to not have my text shift around
Your Environment 🌎
Chrome 91

`npx @material-ui/envinfo`
System:
OS: macOS 11.1
Binaries:
Node: 12.19.0 - ~/.nvm/versions/node/v12.19.0/bin/node
Yarn: Not Found
npm: 6.14.8 - ~/.nvm/versions/node/v12.19.0/bin/npm
Browsers:
Chrome: 91.0.4472.77
Edge: Not Found
Firefox: Not Found
Safari: 14.0.2
npmPackages:
@emotion/styled:  10.0.27
@material-ui/core: ^4.11.4 => 4.11.4
@material-ui/data-grid: ^4.0.0-alpha.30 => 4.0.0-alpha.30
@material-ui/icons: ^4.11.2 => 4.11.2
@material-ui/lab: ^4.0.0-alpha.58 => 4.0.0-alpha.58
@material-ui/styles:  4.11.4
@material-ui/system:  4.11.3
@material-ui/types:  5.1.0
@material-ui/utils:  4.11.2
@types/react:  17.0.0
react: ^16.13.1 => 16.14.0
react-dom: ^16.13.1 => 16.14.0

@oliviertassinari  what language am i missing to find the duplicate?

@AndyDyer I can't find it. I think that we should close, this is a rendering glitch of Chrome we have no control over (AFAIK).

@oliviertassinari  gotchya the language around it makes it difficult to find mention of it anywhere.

@oliviertassinari  anyway I understand if you want to close, appreciate all the work you do on material-ui

I'm closing, maybe somebody from the community will find a solution, at some point, but I would bet more on Chrome improving the rendering tradeoffs.

Hey, another developer 3 years later here. I ran into an identical issue. I looked very carefully to see if there were any fixes and couldn't find any. Luckily, both Safari and Firefox don't have this issue. If you ran into a solution at any point I would greatly appreciate a point in the right direction!


Enable verbose logging

When the CLI doesn't behave as expected (Ex: CodeUri is pointing to a non-existent folder), there is no way of enabling verbose logging to find the problem. This task is to:

Add more debug logging using a real logging library
Provide a flag to enable verbose logging

What you are requesting is a proper validator, not just a syntax validator which is what we have now.
My suggestion is that you define test cases for this validator so we can work against a set of expected results, for example:

Given the following scenario <path-to-folder-with-template.yml-and-folders> the test must fail because CodeUri points to a non existent location

Then we can set up the unit tests that fulfill these expectations and fix it in the code.

I'm not sure @sanathkr is specifically asking for a validator (though I'm not arguing that might be a good feature as well, but maybe make a separate issue with an accurate topic name).
I'm posting this here because I think it falls under a use case to enable verbose logging. I am attempting to get SAM Local working as a docker container. The only output I am able to get from sam local is:
17:53:10 sam-local> 2017/10/25 00:53:10 Invoking myapp.EventHandler::handleRequest (java8)
17:53:10 sam-local> 2017/10/25 00:53:10 Decompressing /mnt/sam/target/myapp.jar
17:53:12 sam-local> 2017/10/25 00:53:11 Connecting container 39914ad7d10f6b4c2124ea37409f5920e09915d66fbe096b4a9e32e20617d73c to network myapp
17:53:12 sam-local> 2017/10/25 00:53:12 Function returned an invalid response (must include one of: body, headers or statusCode in the response object): invalid character 'E' looking for beginning of value

It returns a 502 with no payload. No idea how to go about debugging this... invalid character X looking for beginning of value seems to be an incredibly generic go parse error & there is no stack trace or anything to help start finding the cause of this error or print the payload that starts with E.
A verbose logging feature would be very handy for debugging or troubleshooting various sam local issues.

@jhovell that error is documented behavior:

By default, SAM uses Proxy Integration and expects the response from your Lambda function to include one or more of the following: statusCode, headers and/or body.

If your function does not return a valid Proxy Integration response then you will get a HTTP 500 (Internal Server Error) when accessing your function. SAM Local will also print the following error log message to help you diagnose the problem:
ERROR: Function ExampleFunction returned an invalid response (must include one of: body, headers or statusCode in the response object)

I also advise on reading the Debugging section, for example I have set up VSCode to use step debugging for sam local

@purefan are you talking about debugging SAM local or your Java, Python, Node application? I do not see any documentation about the former. Are you referring to different documentation?
https://github.com/awslabs/aws-sam-local#debugging-applications
"invalid character 'E' looking for beginning of value" is a mangled version of a Docker API error that SAM Local go code attempts to parse as JSON (see issue this is linked to above) due to SAM Local making assumptions about logging drivers. Not sure step debugging my Java or Python app is going to help get to the bottom of that but maybe I don't understand. Can you explain further? The original poster @sanathkr makes it sound like he is trying to debug SAM local / template.yaml issues and not his Lambda app. I believe that use case of debugging a user's app is well covered by use of a remote debugger.

@jhovell this behavior is programming language agnostic, your response has to include a body, a header or a statusCode.
VSCode step debugger is a remote debugger
Your issue suggests that you need even more debugging info, but I think you already have all the info you need to find out what is less than perfect in your code:

The error reported is Function returned an invalid response (must include one of: body, headers or statusCode in the response object)
The documentation says that "If your function does not return a valid Proxy Integration response then you will get a HTTP 500 "
And you have step debugging as you pointed out

So you can debug why your app is returning a 500 error instead of a proper response. Unless Im confusing things I think that step debugging why your app is not returning a proper response would lead to fixing this

@purefan The SAM Local fails before the lambda launches & my code is never even run. The problem has nothing to do with the lambda function code but with the configuration of Docker, specifically logging drivers. SAM Local attempts to de-serialize the stdout from the container as the result of the Lambda. A Node or Java debugger is not going to help here as it will never get triggered.
Just put the following in your /etc/sysconfig/docker and restart docker and you'll see that SAM Local no longer works.
OPTIONS='--log-driver=awslogs --log-opt awslogs-group=/some/loggroup --log-opt awslogs-region=us-east-1'

See this issue if you need more detail.
https://github.com/awslabs/aws-sam-local/issues/182
Where having better SAM Local debugging or logging would help is to print the std out/err from the container on line 570 rather than the error of the unmarshalling. " invalid character 'E' looking for beginning of value" is not very helpful in hunting down the problem.
https://github.com/awslabs/aws-sam-local/blob/df8479ba2d537a7d94d88c52f9d6ccfd02f768e1/runtime.go#L567
The root of the problem is the line ioutil.ReadAll(stdoutTxt) which isn't a valid thing to do for certain Docker logging drivers, ironically in this case awslogs.
Let me know if this still isn't making sense.

Not relevant anymore because the new release already does https://github.com/awslabs/aws-sam-cli/releases/tag/v0.3.0


Fix delegating to always-no-confidence

Changelog
- description: |
   - Fix delegating to always no confidence default DRep
   - Add golden tests for stake address vote delegation certificates
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - improvement    # QoL changes e.g. refactoring
   - bugfix         # fixes a defect
   - test           # fixes/modifies tests
  # - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...

Context
Resolves https://github.com/input-output-hk/cardano-cli/issues/402
Now it carries the corresponding [3] (it was 2)
[9, [0, h'EF1785CF18928F8353C90E76B7A8FC60855472D31A0EA1C1C774AB01'], [3]]
tests pending
How to trust this PR
              "keyHash-ef1785cf18928f8353c90e76b7a8fc60855472d31a0ea1c1c774ab01": {
                "reward":<PHONE_NUMBER>88,
                "deposit": 0,
                "ptr": [],
                "spool": "c27cf021914a2b3bcb286d3d741979083422378c577fe757702b6988",
                "drep": {
                  "tag": "DRepAlwaysNoConfidence"
                }
              }
            },

Before it was
              "keyHash-3dc96f0f04fdae3ad3c74182dfe0f720ba06c1ed2b15b78761d71290": {
                "reward":<PHONE_NUMBER>3,
                "deposit": 0,
                "ptr": [],
                "spool": "3d5e0af9fb0a82c2256faa9eb4f9db6d7b2f0af843b9e3c3dcbbfea6",
                "drep": {
                  "tag": "DRepAlwaysAbstain"
                }
              },

Checklist

[x] Commit sequence broadly makes sense and commits have useful messages
[x] New tests are added if needed and existing tests are updated. See Running tests for more details
[x] Self-reviewed the diff

Congrats on your first Haskell PR! :tada:


Deprecation warning in jstree 'document.registerElement' (fixed with jstree v 3.3.8)

I used the recommended update command line script in README

Thanks!
I’ll upload to ruby gems on the next week

@kesha-antonov sure, let me know how it goes

@yoyomo Hey! Uploaded


maintaining this project

hi, can you give me write access to this repository and the nuget-package? my nuget account is "landrix" thanks, Sven

All done!  Sorry that took so long, thanks for your help!


Capitalization of KubeProxyVersion wrong in JSON

Ping

Breaking, but it was wrong before, so LGTM.

Please also change:
https://github.com/GoogleCloudPlatform/kubernetes/blob/d790cc14a9f47fe010ebb38321d4d62c6733673a/pkg/conversion/node_example.json


Remove purescript-react-dom

Hey this looks like a cool project! One thing I've noticed on most purescript projects like this is they include purescript-react-dom as a dependency. Doing this means the library will not work with React Native in any capacity -- any direct reference to the DOM will cause the app to crash. Since there is only one file (Refract.purs) that uses purescript-react-dom, I wonder if you wouldn't make a purescript-refract-dom library that contained the code you need. That would enable this library to be used with React Native -- Just a thought

Yes, good point! Adding to my todo list 👍


Unable to use pebble tool on Arch linux

Installed the latest SDK (4.4.1) using the instructions from the site. Created the virtualenv (for python 2.7). Also tried python 3.5.2; same result:
~> pebble new-project hello
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ImportError: No module named 'encodings'

Current thread 0x00007f21d7baf400 (most recent call first):
'python' doesn't mean anything on this system.

Other commands like pebble build also give this error.
Just using pebble works:
~> pebble
usage: pebble [-h] [--version]
              {sdk,build,clean,install,logs,screenshot,insert-pin,delete-pin,emu-accel,emu-app-config,emu-battery,emu-bt-connection,emu-compass,emu-control,emu-tap,emu-time-format,emu-set-timeline-quick-view,ping,login,logout,repl,transcribe,data-logging,new-project,new-package,kill,wipe,package,analyze-size,convert-project,gdb}
              ...
pebble: error: too few arguments

It's trying to run python -c "import sys; print(sys.version_info[0])", and the python it's invoking is apparently blowing up. What happens if you do that manually?

From the virtualenv? Those commands seem to work both from the env and from outside:
~> /usr/bin/python -c "import sys; print(sys.version_info[0])"
3
~> /home/arjan/apps/pebble/.env/bin/python -c "import sys; print(sys.version_info[0])"
2

I've replaced these lines with version = 3 and then it works.
Lets keep the ticket open, I want to dive in to this later to help fix it.

Given that I'm fairly sure the pebble tool does not itself support python 3 (although it was once a design goal, so it should be close), I'm not entirely sure why it doesn't just invoke sys.executable and be done with it.

Oh, never mind — it's because we invoke things that then themselves invoke python.

That seems to fix it actually:
version = int(subprocess.check_output([sys.executable, "-c", "import sys; print(sys.version_info[0])"]).strip())

Should I submit a PR?

hm ok

Hi,
I've done some of my own digging into this issue, which i've also seen in ubuntu 18.04.
It appears that pebbletool defers to the system to tell it what version of python it is using. If the system is using version 3 then we get a crap-out for whatever reason.
As arjan figured, the issue is  specifically on this line
I have resolved this myself by just asking the current python environment I am in what my version is:
#version = int(subprocess.check_output(["python", "-c", "import sys; print(sys.version_info[0])"]).strip())
import sys
version = sys.version_info[0]

It seems like some effort has been taken to make sure the sdk is running under 2.7 in other parts of the codebase so maybe this is  left over artefact of when it was assumed the systems version would be 2.7. Either way it seems redundant and in this case potentially bug introducing to ask the system what version of python you are currently already in anyway.


Create a cross namespace load balancing using IngressRouteTCP, where only the last service can be accessed

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I created two configurations using IngressRoute and IngressRouteTCP, respectively The configuration of IngressRoute is used normally and can rotate to access the two backend services. However, load balancing cannot be achieved through IngressRouteTCP, and only the last service can be accessed. My configuration is as follows:
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
  name: nginx-http
spec:
  entryPoints:
    - web
  routes:
  - match: Host(`test.k8sdeploy.com`) && PathPrefix(`/`)
    kind: Rule
    services:
    - name: nginx-service
      namespace: zone2
      port: 80
    - name: nginx-service
      namespace: zone1
      port: 80
---
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
  name: nginx-tcp
spec:
  entryPoints:
    - port19036
  routes:
  - match: HostSNI(`*`)
    services:
      - name: nginx-service
        port: 80
        namespace: zone1
      - name: nginx-service
        port: 80
        namespace: zone2

What did you see instead?
Does IngressRouteTCP currently not support load balancing for multiple services?
What version of Traefik are you using?

Official configuration
If applicable, please paste the log output in DEBUG level
No response

apiVersion: v1
kind: Namespace
metadata:
  name: zone2
---
apiVersion: v1
kind: Namespace
metadata:
  name: zone1
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
  namespace: zone1
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.24.0
        ports:
        - containerPort: 80
        command: ["nginx", "-g", "daemon off;"]
        volumeMounts:
        - name: nginx-config
          mountPath: /etc/nginx/sites-available/default  # Updated mount path
          subPath: default
      volumes:
      - name: nginx-config
        configMap:
          name: nginx-configmap
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: nginx-configmap
  namespace: zone1
data:
  default: |
    server {
      listen 80;
      server_name localhost;
      location / {
        default_type text/plain;
        return 200 "This is Service A";
      }
    }
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
  namespace: zone2
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.24.0
        command: ["nginx", "-g", "daemon off;"]
        ports:
        - containerPort: 80
        volumeMounts:
        - name: nginx-config
          mountPath: /etc/nginx/sites-available/default   # Updated mount path
          subPath: default
      volumes:
      - name: nginx-config
        configMap:
          name: nginx-configmap
---
apiVersion: v1
kind: Service
metadata:
  name: nginx-service
  namespace: zone1
spec:
  selector:
    app: nginx
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80
  type: ClusterIP
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: nginx-configmap
  namespace: zone2
data:
  default: |
    server {
      listen 80;
      server_name localhost;

      location / {
        default_type text/plain;
        return 200 "This is Service B";
      }
    }
---
apiVersion: v1
kind: Service
metadata:
  name: nginx-service
  namespace: zone2
spec:
  selector:
    app: nginx
  ports:
    - protocol: TCP
      port: 80
      targetPort: 80
  type: ClusterIP

Has there been any progress on this issue?

Hello @nelsonstar,
Thank you for the additional information.
As said in my previous message, if any community member can help us move forward on it, we would love the help.


Modify user profile picture

Modify user profile picture
There is described in contradiction. In the middle of this page, it is said that "Users with mailboxes hosted on-premises  can also change the user profile picture (if the Outlook on the web mailbox policy allows them to do so), ". But in the following table , "Modify user profile picture" is described as "No" for on-premise MBX. Which is correct?
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8456689d-6f04-fa5e-4f51-f413cb0b9d89
Version Independent ID: e9b85126-0db7-4378-ad44-514e52f9fde1
Content: How Exchange and Microsoft Teams interact - Microsoft Teams
Content Source: Teams/Exchange-Teams-interact.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

@Satake-0099 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@scanum I have the same question, seems we have a contradiction in the documentation.

@Satake-0099 thank you for pointing this out. Please see the footnote 7- "7 Teams honors the Outlook on the web mailbox policy setting that's configured by tenant admins to control whether users can change their profile picture. If the -SetPhotoEnabled setting is turned off in the policy, users cannot add, change, or remove their profile picture. For example, if a user uploads a profile picture that's approved by your organization's IT or HR department, no action is needed. However, if a user uploads an inappropriate picture, change it according to your organization's internal policies." Let me know if you still need assistance or if something still needs to be changed in the document.

@Satake-0099  Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


bobcat framework - cucumber parallel plugin

Request help to execute test in parallel.
I am using bobcat framework and added cucumber parallel plugin.
I am able to create multiple runner file based on tags.
When i execute -MVN test, i am seeing only 2 browser instance, but i have given 5.
Attaching my pom screen shot.
Request to let me know where i am wrong

Are you not overriding forkCount anywhere? Have you tried not reusing forks (i.e. reuseForks=false)?
In general, this is a problem related to Surefire configuration, please check: http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html

Closing this for now, let us know in case of any further problems.


patch: Change resp --> res

@vipulgupta2048 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Add ability to shutdown historical tier with replication factor 1 without having temporary data outages

Currently if a historical tier has a replication factor of 1 (meaning only 1 copy of the data across the tier) then any particular node cannot be shut down for planned maintenance without temporarily loosing the ability to query data which was hosted there.
As a user of Druid, I would like my queries to always return all the data even during planned maintenance or planned node shutdowns provided there is enough overall tier capacity to hold the data.

Would a "controlled shutdown" type thing work here? Like, a way to tell the coordinator that you want to move all the segments from some particular node somewhere else, and to stop assigning new segments to that node. The end result being that the node will be running with no data and you can shut it down.

@gianm  That would work. There would also need to be a way to detect that either there are no more segments on a node, or that each segment is replicated at least X times somewhere else.

We are looking to do something similar here, however we have 2 ECS clusters of historical nodes.  Would it also be possible to load the same segments with the same priority on the historical servers across two tiers?  In effect this creates two replicas of the data that you round robin to correct?

I suppose this one is a duplicate of https://github.com/apache/incubator-druid/issues/3247, right?


 submitter is serialized out of tree order

What version of Remix are you using?
1.7.2
Steps to Reproduce

Make a <Form> like so:

<Form>
  <button type="submit" name="foo" value="override">Override</button>
  <input type="hidden" name="foo" value="default" />
</Form>

Click the "Override" button

Expected Behavior
The form fields should be serialized in tree order, i.e. foo=override&foo=default (as is the case with a vanilla <form>).
See Constructing the form data set in the HTML spec. Submitted fields should be sent in the order they appear in the DOM, including the submitter (i.e. the submit button that was clicked).
Actual Behavior
The form is serialized as foo=default&foo=override.
This is problematic on the server-side if you are relying on the order to indicate precedence. formData.get("foo") will yield different values, depending on whether the form was submitted by Remix or native browser behavior.
See also https://github.com/remix-run/remix/pull/3611; prior to that fix it was broken in a different way (it would only serialize foo=default)

On a related note, <Form> serializes image submit buttons in the wrong order and with the wrong key/values.
For example, given: <input type="image" name="image" src="..." />. If you click it, it gets serialized as image= at the very end, rather than the expected image.x=X&image.y=Y in tree order. See Step 3.3.
Probably worth lumping in to this bug report, as the root cause is the same, and the fix should be too 🤞

I found some more differences between how <Form> and <form> behave:

In <Form> submissions, Safari includes the submit button value twice (once in tree order, once at the end) due to this bug
If you have file inputs and the encType is application/x-www-form-urlencoded (explicit or implicit):

<form> will send each file entry's name as the value, as per the spec
<Form> will throw an error File inputs are not supported with encType "application/x-www-form-urlencoded" ...; if this invariant check is removed, no value gets submitted.

Great stuff @jenseng, thanks!

As a workaround for non-image submitters, you can use a component like so that does some hidden input hijinks:
function Button(props: DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>) {
  const hiddenRef = useRef<HTMLInputElement>(null);
  const buttonRef = useRef<HTMLButtonElement>(null);
  if ((props.type ?? "submit") === "submit" && props.name) {
    return (
      <>
        <input ref={hiddenRef} type="hidden" name={props.name} value={props.value} disabled />
        <button
          ref={buttonRef}
          {...props}
          onClick={(e) => {
            hiddenRef.current!.disabled = false;
            buttonRef.current!.name = "";
            setTimeout(() => {
              hiddenRef.current!.disabled = true;
              buttonRef.current!.name = props.name!;
            });
            props.onClick?.(e);
          }}
        />
      </>
    );
  } else {
    return <button {...props} />;
  }
}

Since the hijinks are done in the onClick handler, the button still has the right attributes to work before/without JavaScript

Thank you for the detailed use cases and spec references @jenseng - these are incredibly helpful 🙌

I think this should be resolved when we release Remix 1.18.0 now that the relevant PRs are merged in RR.  The latest FormData submitter PR should be released in RR 6.14.0


'hugo' is not recognized as an internal or external command,

PS D:\work\nodejs\flowbite-admin-dashboard-1.0.0> npm install
npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated<EMAIL_ADDRESS>flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown
up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 805 packages, and audited 806 packages in 17s

110 packages are looking for funding
  run `npm fund` for details

12 vulnerabilities (1 moderate, 8 high, 3 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
PS D:\work\nodejs\flowbite-admin-dashboard-1.0.0> npm run start

><EMAIL_ADDRESS>start
> run-p start:dev:*

><EMAIL_ADDRESS>start:dev:webpack
> webpack --mode=development --watch

><EMAIL_ADDRESS>start:dev:hugo
> hugo server -D --watch

'hugo' is not recognized as an internal or external command,
operable program or batch file.
ERROR: "start:dev:hugo" exited with 1.

ok, needs hugo.exe ...

excuse me sir , where to
download hugo.exe

excuse me sir , where to download hugo.exe

same question here

The error message "sh: hugo: command not found" when running npm run start indicates that the hugo command is not recognized in your environment, which means Hugo is either not installed or not properly set up in your system's PATH. Hugo is a static site generator, and to resolve this issue, you'll need to install it.
Here are the steps to install Hugo:
For macOS:

Using Homebrew:brew install hugo

For Windows:

Using Chocolatey:
Open a Command Prompt or PowerShell with administrator privileges and run:choco install hugo -confirm

For Linux:

Using apt-get (Debian/Ubuntu):
sudo apt-get update
sudo apt-get install hugo

Using Snap:
sudo snap install hugo --channel=extended

Using Homebrew (if installed):
brew install hugo

Verify the Installation
After installation, verify that Hugo is installed correctly by running:
hugo version

Add Hugo to PATH
If you installed Hugo manually or it's not in your PATH, you can add it by:

Finding the installation directory. For example, if you downloaded and extracted the Hugo binary to /usr/local/bin.
Adding the directory to your PATH:

For macOS/Linux: Edit your ~/.bashrc, ~/.zshrc, or ~/.profile file to include:export PATH=$PATH:/usr/local/bin

For Windows:

Right-click on This PC and select Properties.
Click Advanced system settings.
Click the Environment Variables button.
Under System variables, find the Path variable, select it, and click Edit.
Click New and add the path to the directory where Hugo is installed.

After setting up Hugo, try running your command again:
npm run start

This should resolve the error, allowing Hugo to start correctly along with your other development tasks like npm run start


Fix docstring of CompactLabel

The docstring of CompactLabel is same as SplitLabel while it does something else inside.

Fixed by PR #150


Feature: add window title separator prop

This PR fixes #94254

cc: @bpasero

Oh, I take it back, this already happens when configuring window.title with a newline.

Thanks 👍


i18n: complete module translation

See how to translate a module

After checking the module the main focus of translation is the templates folder. Below I am listing the available templates that need to be checked and marked for translation:

[ ] Response code templates https://github.com/inveniosoftware/invenio-theme/issues/138
[ ] Admin templates https://github.com/inveniosoftware/invenio-theme/issues/139
[ ] Header templates https://github.com/inveniosoftware/invenio-theme/issues/140
[ ] Page templates https://github.com/inveniosoftware/invenio-theme/issues/141
[ ] General templates https://github.com/inveniosoftware/invenio-theme/issues/142

I have created separate tasks for each of the 5 categories of templates. Once the task is complete and closed then we can keep track here of the progress by "ticking" the corresponding option.

As far as I see, this issue is done.
All sub-issues seem to be done, when we agree on closing them, this one can be closed as well.
@zzacharo am I right?


GLES 3.0 glMapBufferRange implementation and PBO example

This PR is open for discussion (i'll keep it as draft until we're all set).
I investigated deeply to know why glMapBufferRange was commented from the beginning. Some reasons could be found in original PR comments.
In short, WebGL 2.0 doesn't provide this method for performance and security reasons when writing to a mapped buffer. For read only buffers there is a replacement method (getBufferSubData). So we could provide a limited implementation (read only) for the WebGL 2.0 backend later.
PBO (PixelBufferObject) is one of the use cases using glMapBufferRange. PBO is basically useful to asynchronously transfer pixels from CPU to GPU and vice versa.
I'm currently working on TransformFeedback which is another use case when you want to retrieve transformed data CPU side, that's why i did this PR.
I only tested Desktop (linux) Lwjgl2 and Lwjgl3 backends, it needs to be tested on Android and iOS (i don't have required hardware).

Thank you for the test @MrStahlfelge apparently i'd need to add a binding in ios native code probably around here but i don't have a clue how this thing work and i don't really want to put my hand in this.
Any help appreciated.

Thank you for the test @MrStahlfelge apparently i'd need to add a binding in ios native code probably around here but i don't have a clue how this thing work and i don't really want to put my hand in this.
Any help appreciated.

ill take a look

ill take a look

Should be good now, pushed into your PR

Should be good now, pushed into your PR

Thank you very much @Tom-Ski

Thank you very much @Tom-Ski

Seems good, and not dangerous before next release anyway.

Seems good, and not dangerous before next release anyway.