FIX: refactor Network and DAG SOLVER to fix bad pruning

This PR refactors the DAG-solver to prune correctly when intermediate data are given as input.

Needed code from, and merged with: #23 (ordered sets) & #18 (prune unsatisfied operations) and #18 (for travis to work on <PY3.4).
Significant refactorings explained below.
STILL minor bug in PARALLEL PIN, but new failing code detecting them in 2 TCs is DISABLED:

test_pruning_with_given_intermediate_and_asked_out()
test_unsatisfied_operations_same_out()

ENH: NEW DAG SOLVER

Pruning now works by breaking incoming provide-links
to any given intermedediate inputs and retrofitting satisfaction detector
to include those operations without outputs due to these broken links.

Fix #24 by not pruning useful operations when intermediate data given.

From #25 the 1st case is now ok also when no outputs asked.

REFACT: Network class  COMPILE+COMPUTE:

Read the doc-only c570a18 commit to understand changes.
Renamed/Refactored:--- net.steps --> net.execution_plan.
   ,-- _find_necessary_steps() ------------.
---+-- (old)compile() ---------------------+--> (new)compile() + _solve_dag()
   `-- _collect_unsatisfied_operations --'

compile() became the master function invoking _solve_dag() &
_build-execution_plan(), and do the caching.
WIP/refact show_layers() to allow yielding string-list
(not just printing).
refact(net): move check if value in asked outputs before cache-evicting it when building DelInstructs in execution-plan; compute methods don't need outputs anymore.
TCs: speed up parallel/multihtread TCs by reducing delays & repetitions.
refact: network adopted stray functions for parallel processing - they all work on net.graph attribute;  pave the way for a separate class.
refact: consistent use of networkx API when indexing dag.nodes views.
enh: add log message when deleting in parallel (in par with sequential code).
Raise AssertionError when invalid class in plan.
it's a logic error, not a language type-error.
refact: var-renames, if-then-else simplifications, pythonisms.
doc: A lot!

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Codecov Report

Merging #26 into master will increase coverage by 0.97%.
The diff coverage is 85.24%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   77.87%   78.85%   +0.97%
==========================================
  Files           5        5
  Lines         348      383      +35
==========================================
+ Hits          271      302      +31
- Misses         77       81       +4

Impacted Files
Coverage Δ

graphkit/functional.py
93.82% <100%> (+0.07%)
:arrow_up:

graphkit/base.py
76.71% <69.23%> (-2.66%)
:arrow_down:

graphkit/network.py
73.42% <86.13%> (+3.22%)
:arrow_up:

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 e70718b...0dc1293. Read the comment docs.

Can merge now:

STILL buggy PIN on PARALLEL, but code in 2 failing TCs is DISABLED:

test_pruning_with_given_intermediate_and_asked_out()
test_unsatisfied_operations_same_out()

refact(net): move check if value in asked outputs before cache-evicting it when building DelInstructs in execution-plan; compute methods don't need outputs anymore.
TCs: speed up parallel/multihtread TCs by reducing delays & repetitions.
refact: network adopted stray functions for parallel processing - they all work on net.graph attribute;  pave the way for a separate class.
refact: consistent use of networkx API when indexing dag.nodes views.
enh: add log message when deleting in parallel (in par with sequential code).
refact: var-renames, if-then-else simplifications, pythonisms.
doc: A lot!

$ date
Tue 08 Oct 2019 07:00:21 PM EEST

$ cloc --by-file-by-lang  graphkit
       5 text files.
       5 unique files.
       0 files ignored.

github.com/AlDanial/cloc v 1.82  T=0.01 s (525.9 files/s, 119687.0 lines/s)
------------------------------------------------------------------------------------
File                                  blank        comment           code
------------------------------------------------------------------------------------
graphkit/network.py                     145            260            260
graphkit/functional.py                   51             75             89
graphkit/base.py                         38             86             84
graphkit/__init__.py                      3              3              5
graphkit/modifiers.py                     8             29              2
------------------------------------------------------------------------------------
SUM:                                    245            453            440
------------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Python                           5            245            453            440
-------------------------------------------------------------------------------
SUM:                             5            245            453            440
-------------------------------------------------------------------------------

Just pushed x1 TC for multithreading-executions (originally given n huyng#1 and repeated in #31), it passes ok.


Review id generator class and if it's still needed

We refactored "old" indexing / listing process by removing storages and partials tables. Id generators were mostly used there so probably we can remove that table and related codebase. It needs to be checked if it's used in some other place though.

Looks like it's still used in one place in SaaS, but not used in datachain so it can be removed from this repo


saml2aws: enable tests

saml2aws: enable tests
@nix { "action": "setPhase", "phase": "checkPhase" }
running tests
=== RUN   TestExtractAWSAccounts
--- PASS: TestExtractAWSAccounts (0.00s)
=== RUN   TestAssignPrincipals
--- PASS: TestAssignPrincipals (0.00s)
=== RUN   TestLocateRole
--- PASS: TestLocateRole (0.00s)
=== RUN   TestParseRoles
--- PASS: TestParseRoles (0.00s)
=== RUN   TestProviderList_Keys
--- PASS: TestProviderList_Keys (0.00s)
=== RUN   TestProviderList_Mfas
--- PASS: TestProviderList_Mfas (0.00s)
=== RUN   TestExtractAwsRoles
--- PASS: TestExtractAwsRoles (0.00s)
=== RUN   TestExtractSessionDuration
--- PASS: TestExtractSessionDuration (0.00s)
=== RUN   TestExtractDestinationURL
--- PASS: TestExtractDestinationURL (0.00s)
=== RUN   TestExtractDestinationURL2
--- PASS: TestExtractDestinationURL2 (0.00s)
=== RUN   TestExtractMFATokenDuration
--- PASS: TestExtractMFATokenDuration (0.00s)
=== RUN   TestExtractMFATokenDuration2
    saml_test.go:62: parsing time "This-is-invalid-2016-09-10F32:59:39.387Z" as "2006-01-02T15:04:05Z07:00": cannot parse "This-is-invalid-2016-09-10F32:59:39.387Z" as "2006"
--- PASS: TestExtractMFATokenDuration2 (0.00s)
PASS
ok  	github.com/versent/saml2aws/v2	0.003s
?   	github.com/versent/saml2aws/v2/cmd/saml2aws	[no test files]

Result of nixpkgs-review pr 167503 run on x86_64-darwin 1

1 package built:

saml2aws


Publish the frequent github releases as website news items

As per the title,  github releases to: https://big-agi.com/blog.

Done.


last word delete - shortcut keys - default action is not being removed

With reference to #4197 .
I have created the shortcut as ctrl+backspace for rollback; and have removed the shortcut for delete previous word.
When I press the ctrl+backspace - the rollback occurs; but when there is no rollback/transaction - the previous word delete action occurs although there is no key mapping.

I can't reproduct this. Perhaps it is some misconfiguration happened during multiple versions upgrade.
You could try to reset workspace config: https://github.com/dbeaver/dbeaver/wiki/Reset-workspace

For given wiki page - please add the line like- " If you delete the metadata folder - all the drivers will be lost too, when connecting, new drivers will be downloaded."
And for MYSQL drivers threw some error for me (unfortunately did take a pic), so I restored the metadata folder from the recycle bin.

You don't need to delete whole metadata, just workbench.xmi file.
Sorry for confusion.

I deleted the workbench.xmi file, but that did not solve it, so deleted the entire folder; since folder is in recyclebin, I restored it. :)


Sync eng/common directory with azure-sdk-tools for PR 6465

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/6465  See eng/common workflow

Win2022_Win32Api_release_curl_x64 failing in multiple previous builds. Not related to the code change contained in this PR. Overriding. CC @danieljurek  for awareness.

/check-enforcer override


Generate Package.swift

Completed as of https://github.com/tristanlabelle/swift-winrt/commit/77901e684382bba69af865d424e14fc1f7af0c9f


python311Packages.html-sanitizer: 2.2 -> 2.3

Diff: https://github.com/matthiask/html-sanitizer/compare/refs/tags/2.2...2.3
Changelog: https://github.com/matthiask/html-sanitizer/blob/2.3/CHANGELOG.rst
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

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

4 packages built:

python311Packages.html-sanitizer
python311Packages.html-sanitizer.dist
python312Packages.html-sanitizer
python312Packages.html-sanitizer.dist


CVE-2024-35325

The following CVE is a misuse of the libyaml API:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-35325 https://github.com/idhyt/pocs/blob/main/libyaml/CVE-2024-35325.c

I can copy the relevant part of the code:
void poc() {
    yaml_document_t document;
    memset(&document, 0, sizeof(yaml_document_t));
    yaml_document_initialize(&document, NULL, NULL, NULL, 0, 0);

    yaml_event_t event;
    memset(&event, 0, sizeof(yaml_event_t));
    int encoding = YAML_ANY_ENCODING;

    yaml_document_add_sequence(&document, YAML_NULL_TAG, YAML_ANY_SEQUENCE_STYLE);

    // step1: allocated by yaml_strdup(anchor) at api.c:887
    yaml_sequence_start_event_initialize(&event, "anchor", YAML_NULL_TAG, 0, YAML_ANY_SEQUENCE_STYLE);

    yaml_emitter_t emitter;
    memset(&emitter, 0, sizeof(yaml_emitter_t));
    yaml_emitter_initialize(&emitter);

    // step2: yaml_emitter_emit call ENQUEUE (emitter.c:288) copy data from event to emitter.events.tail -> (*((queue).tail++) = value, 1)
    yaml_emitter_emit(&emitter, &event);
    // step3: first free at api.c:400 -> yaml_event_delete(&DEQUEUE(emitter, emitter->events));
    yaml_emitter_delete(&emitter);
    // step4: double free at api.c:1015
    yaml_event_delete(&event);

    yaml_document_delete(&document);
}

yaml_emitter_emit() is responsible for deleting the events, you are not supposed to call yaml_event_delete() yourself.
yaml_event_delete() cannot check if the event was already deleted due to the nature of the struct. The struct would have to be changed, and all code using libyaml, for example bindings, would have to be changed.
I couldn't find a way to check it wit the current struct.
The vulnerability is in code that is using libyaml in a wrong way, not in libyaml directly.
Of course nowadays one might say the design of libyaml is bad and should prevent such misusage, but libyaml is quite a few years old, and preventing that will break things, like I said, and would be quite some work, and I don't know anyone who would have the free time for this.
So I'm not sure if that counts as a CVE.
I can improve the documentation (when I have some free time).
Anyone who knows more about when something is deserving to have a CVE or not is welcome to comment.

There was already a discussion about that CVE in #297 but the thread is distracting because I was arguing with the issue author about the way it was reported and published.

If I may offer a suggestion, given that pointers are passed within structures, it might be useful to explicitly set pointers to NULL after being freed. While this does not correct a bad caller from double freeing, what it does to is change the action to SIGSEGV when an attempt is made to free a NULL. This would, hopefully, change the target of the vulnerability to the caller, were it rightly belongs.

This CVE has been rejected.
https://www.cve.org/CVERecord?id=CVE-2024-35325


New code for adding responsive featured images to single posts.

Hey,
So I previously had a pull request up about adding featured images to the single.php pages ( #58 ), after the 0.8 update this code no longer worked due to the files changing, however,after moving the code to the new features.php file, I think that I have solved the issue.
In my own testing, featured images load fine, however, it would be better for some other people to also test, so feel free to use the code if it helps.
Also, just to note: This code is mostly from Isabel Castillo, it was designed for the Automatic AMP plugin,  but it should work all the same.
http://isabelcastillo.com/featured-image-accelerated-mobile

I'm closing this pull request to create a better version that works from the options and links better with the plugin, as well as having fewer commits.


feat: cdn download tiny file

Signed-off-by: Gaius<EMAIL_ADDRESS>
Description

Support cdn download tiny file with range header

Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Codecov Report

Merging #1040 (56aafae) into main (6d11481) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1040      +/-   ##
==========================================
+ Coverage   46.21%   46.24%   +0.03%
==========================================
  Files         128      128
  Lines        9179     9179
==========================================
+ Hits         4242     4245       +3
+ Misses       4460     4457       -3
  Partials      477      477

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
46.24% <100.00%> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

scheduler/resource/peer.go
76.72% <100.00%> (ø)

client/daemon/peer/piece_broker.go
81.48% <0.00%> (-3.71%)
:arrow_down:

cdn/supervisor/progress/progress.go
97.01% <0.00%> (+5.97%)
:arrow_up:


Command line parsing bug in 1.8.8?

This command line works with 1.8.7 and fails with 1.8.8. It seems like a regression bug in 1.8.8. I am sticking with 1.8.7 for now.
Setup
#Open a Windows Git Bash console
cd /c/EclipseWS/UAT/whitesourceagent/ #Contains fs-agent jar and config
export PATH=/c/JDK/8-64/bin:$PATH
#Assume /r exists, and Windows R:\ is a 4095MB ram disk created by AMD Radeon Ramdisk. It is big enough to recursively extract content for most, but not all, archive scans.

fs-agent 1.8.8 fails
$ java -d64 -Xms1g -Xmx5g -Djava.io.tmpdir=/r -jar whitesource-fs-agent-1.8.8.jar -c whitesource-fs-agent.config -product "Staging-Sprint26" -project "myfile.tar" -d "/d/staging/myfile.tar"
[INFO] Starting Archive Extraction (may take a few minutes)
[WARN] Process encountered an error: {}Illegal char <:> at index 23: D:\staging\myfile.tar\D:\staging
java.nio.file.InvalidPathException: Illegal char <:> at index 23: D:\staging\myfile.tar\D:\staging
        at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
        at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
        at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
        at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
        at java.nio.file.Paths.get(Paths.java:84)
        at org.whitesource.agent.archive.ArchiveExtractor.handleArchiveFiles(ArchiveExtractor.java:249)
        at org.whitesource.agent.archive.ArchiveExtractor.extractArchives(ArchiveExtractor.java:184)
        at org.whitesource.agent.FileSystemScanner.createDependencies(FileSystemScanner.java:81)
        at org.whitesource.fs.FileSystemAgent.getDependencyInfos(FileSystemAgent.java:160)
        at org.whitesource.fs.FileSystemAgent.createProjects(FileSystemAgent.java:80)
        at org.whitesource.agent.CommandLineAgent.sendRequest(CommandLineAgent.java:71)
        at org.whitesource.fs.Main.execute(Main.java:107)
        at org.whitesource.fs.Main.main(Main.java:50)

fs-agent 1.8.7 succeeds
$ java -d64 -Xms1g -Xmx5g -Djava.io.tmpdir=/r -jar whitesource-fs-agent-1.8.7.jar -c whitesource-fs-agent.config -product "Staging-Sprint26" -project "myfile.tar" -d "/d/staging/myfile.tar"
[INFO] Starting Archive Extraction (may take a few minutes)
[INFO] Starting Analysis
[INFO] Scanning Directory [R:/\WhiteSource-ArchiveExtractor\20170927104631\myfile.tar, D:\staging\myfile.tar] for Matching Files (may take a few minutes)
[INFO] Total Files Found: 40
[INFO] Finished Analyzing Files
[INFO] Initializing WhiteSource Client
[INFO] Service URL is https://saas.whitesourcesoftware.com/agent
[INFO] Checking policies
[INFO] All dependencies conform with open source policies.
[INFO] Policies report generated successfully
[INFO] Sending Update
[INFO] Inventory update results for HCS
Newly created projects:
myfile.tar
No projects were updated.

Support Token: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

[INFO] Process finished with exit code SUCCESS (0)

Hi Justin, thank you for bringing this to our attention. This issue should be fixed in v1.8.9


doesn't work behind reverse proxy with non standard port

I'm running my instance behind a https reverse proxy with non 443 port, the document server doesn't load. When I check out settings, I can see that it seems the system might no pick up the port.

Plus when I use local url like http://<IP_ADDRESS>:8080/ to access the service from my LAN there is no this problem.

Both community and document server are the latest version.

I updated that field to internal container address but it didn't resolve my problem.
I guess the problem lies in front-end code.

The page is 302 redirected, but somewhat the redirected page address doesn't include port number, so it won't load.


securityOverwrites - Postman authorization options

securityOverwrites - Added securityOverwrites for Postman authorization options (awsv4, digest, edgegrid, ntlm, oauth1, oauth2) on collection level

Linked to #271

As you're mapping Postman settings pretty much one to one, and we're out of spec land, might be best to use their whole config?


npm install personality-text-summary missing latest fixes

When installing the module I notice it is missing https://github.com/personality-insights/text-summary/commit/a9ddace886a09063cf9575948945e68ed37d77b1
Can someone bump up the version to include this fix?
Thanks.

done


fix: Visual issue introduced in #1978

In #1978, I've introduced a small issue, when only one button is visible.
This is now fixed
I'm really sorry for this error

apology accepted ;-)


Improve lodash imports to reduce bundle size

[x] When importing lodash functions, use this syntax
import isNil from 'lodash/isNil' // => 1KB
instead of this one
import { isNil } from 'lodash' // => 70KB

[x] And check with webpack bundle analyser that the bundle have been reduced.

Note that you could also use babel-plugin-lodash to perform this task at build time

Thanks for this tip 👍 I'll use that


sitemap not work

Hi,
sitemap not work elkarte 1.1.6
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Version/Git revision:
Database Type:
Database Version:
PHP Version:
SMF Version:

Hi. Can you try to describe the problem, more detail?


fix: absolutely unbearable typo

Summary
the betterment of the universe
Checklist
[x] check

[ ] If code changes were made then they have been tested.
[ ] I have run task lint to format code and my changes.
[ ] I have run task pyright and fixed the relevant issues.

Got it just before you https://github.com/ooliver1/mafic/commit/68c1c601b934fe25fcd3f89f91c2d38f6ca7552a


remove needless requests dependency

It doesn't look like requests is getting used anywhere here, so let's drop it as a dependency.

This PR also fixes a bug whereby the wrong version byte is used when generating a compressed WIF-formatted key.


Send additional metadata through headers with all API calls

We could send headers with all API calls to Nosto. X-Plugin-Version, X-Platform-Version, and X-Platform-Name

I would use more specific name. Non-standards X-headers are widely used, and more generic names tend to collide easier. Even if X-headers are no longer encouraged by IETF (http://tools.ietf.org/html/rfc6648), custom headers that will never be standardised will continue to use the X-prefix

I'm not sure we wan't to include this in the 3.0.0 release, as it will be a while before it's going to be released, i.e. probably Q1 2016.

Done here https://github.com/Nosto/nostotagging/commit/b75f1022ac1ebe2695632ff8d8ac5322abec16f0


[Feature] No torch.sqrt support in Hidet ?

I'm trying to optimize a SelfAttention module, but there is no support for torch.sqrt function. The code is as follows:
hidet.option.cache_dir('./outs/cache')
model = SelfAttention(num_attention_heads = 12, input_size = 768, hidden_size = 768, attention_probs_dropout_prob = 0.5, hidden_dropout_prob = 0.5).cuda().eval()
x = torch.rand(1, 128, 768).cuda()
# print(model)
model_opt = torch.compile(model, backend='hidet')
y = model_opt(x)

where I use
x = (x - u) / torch.sqrt(s + self.variance_epsilon)

in LayNorm module
The error information is as follows:
The following modules/functions are not supported by hidet yet: torch.sqrt

I'm wondering if there is any method to support torch.sqrt function. I noticed that there is relevant abtraction in ir for sqrt function. However, the sqrt function in hidet\python\hidet\ir\primitives\math.py presents raise NotImplementedError().

Hi @xxzh12,
#387 adds the operator mapping for torch.sqrt. I do not have the defintion of SelfAttention thus I did not test on your use case. Feel free to open another issue if there are other operators are not mapped. Thanks.


AssertionError: Overflowed string length is not supported yet.

When I " hbctool asm edited index.android.bundle"
hbc.setString(string["id"], string["value"])
\appdata\local\programs\python\python39-32\lib\site-packages\hbctool\hbc\hbc59_init_.py", line 142, in setString
assert l <= length, "Overflowed string length is not supported yet."
AssertionError: Overflowed string length is not supported yet.
I'm using Python 3.9.6, what should I fix?

i have the same problem

I think because new String is longer than old String. if shotter, will
padding
Vào 17:59, T.3, 21 Th9, 2021 Claudio Genovese @.***> đã
viết:

i have the same problem
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bongtrop/hbctool/issues/10#issuecomment-923869689,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKMNMQJRAOVNGAZG7KWAOCTUDBQQBANCNFSM5EC65OWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

It is hard to construct new file structure if we have to put longer string in the Hermes. All afterward pointer will be changed.


Fix "10am" tests

Figure out what's different about them and name accordingly.
Delete any superfluous tests (e.g. maybe only need "10am" test from one stock).

At first look, we want results from different marketstates ("REGULAR" | "CLOSED" | "PRE" | "PREPRE" | "POST" | "POSTPOST" and any more we can find).

Think we're good for now.


Architecture-specific instruction information

I've been looking around through the Java API documentation as well as the provided scripts and the included source code and I have some questions about what information is available from an instruction, specifically for x86_64 but it would be helpful if there was a generic way to do this for any architecture.
I'd like to be able to determine programmatically which registers an instruction interacts with and how it does so. This seems mostly answerable using the Instruction, InstructionPrototype, PcodeOp, and Varnode classes. You can easily retrieve for each instruction operand if a register is directly read or written to and which flags in RFLAGS are updated. But I don't see a straightforward way to tell if a register is used in an address calculation. If you already know that an instruction involves an address calculation, it's easy to retrieve the base and index but only if you already have that information. Pcode seems like a potential way to figure this out but I'm not sure I really understand it well enough get that information from it.
I also want to see if an instruction interacts with RIP in any way. Again, answerable in a roundabout way but I was wondering if there was a way to see if an instruction reads from RIP and/or if it changes RIP. Once again, I thought this might be answerable with Pcode but it looks like for both relative jmp/call instructions and relative mov/lea instructions, that information is lost when machine code is converted to Pcode and an absolute address is used. Obviously, if the Pcode op type is BRANCH/BRANCHIND, CBRANCH, CALL/CALLIND or RETURN, that tells you that it changes RIP but it doesn't tell you if RIP was used to calculate the new value.
I expect there's an easy way to do this. The fact that relative jmp/call instructions resolve cross-references correctly means that the information must be there, I just can't find it. If I can't get a direct answer to these questions, even where to look in the source code for examples would be helpful.

The getPcode() method on an Instruction object (the one that takes no parameters) returns a complete description of the instruction as an array of PcodeOp objects. Inspecting the Varnode inputs and output of each PcodeOp should reveal registers involved in all aspects of the instruction, including an address calculation. The description should be complete up to what's included in the SLEIGH specification for the processor. Take a look at the MarkCallOtherPcode.java script for a simple example of using getPcode().
The RIP register (as with the program counter register for any processor) unfortunately tends to be "special" in that spec designers don't model it directly because the control-flow of p-code itself indirectly models it. You can always search for the branch PcodeOp instructions to figure out the possible ways the program counter might change, and fall-through semantics of course indirectly make use of the previous value of the program counter. But there currently isn't an easy way to determine if a branch is relative or not. In theory, you could walk through the SLEIGH parse for the instruction and look for references to StartSymbol and EndSymbol (see SleighDebugLogger for a non-trivial example), but this seems like it might be more trouble than its worth.

I'm taking a closer look at the PcodeOp objects and you're right, the instruction is completely described and it should be possible to find address calculations and which registers are used specifically for that. Looking for LOAD/STORE operations and seeing if their pointer arguments are generated based on a register should be enough for what I want to do.
For finding RIP-relative operations, I think I'll probably use Capstone since it has Java bindings so it won't be too difficult to use alongside Ghidra. Ideally, I would like to do everything with Ghidra's scripting API but I agree that parsing the SLEIGH files seems like it's probably more effort than it's worth, especially since I know Capstone does exactly what I want.
As a last ditch effort to do this entirely with Ghidra, where would be a good place to start looking in the source/scripts at how cross-references and Pcode operations are constructed from the machine instructions? I realize that is a pretty big question. I'm sure the conversion of machine instructions -> user friendly representation isn't easily described. So far what I've been doing to figure out the API is finding a class in the documentation I think might be helpful and then searching the scripts and unzipped source files for "new ClasImInterestedIn" and seeing how it's used. That's mostly been enough to get started but sometimes it doesn't get me anywhere so any pointers would be appreciated.
Thanks for the help!

You could change the definitions for the operations in sleigh that are PC relative to include a read of the PC.  Then your analysis can look for a read of the PC.  For writes to the PC, you can make sure the PC register is used as the variable for the goto [PC].  When I write a language, I tend to assign to the PC, and then use the value in the PC as the target for this type of situation.
The current spec's are defined to use a constant value whenever possible and the PC is a known constant when the instruction executes.  In most cases this is fairly easy to find.  They will have inst_next inside [] to compute the RIP.
A good example in X86 is:
addr64: [riprel] is mod=0 & r_m=5; simm32 [ riprel=inst_next+simm32; ] { export *[const]:8 riprel; }
Could be changed to:
addr64: [riprel]  is mod=0 & r_m=5; simm32 [ riprel=inst_next+simm32; ] { local tmp:8 = RIP + simm32; export *[const]:8 riprel; }
Not sure it is worth the pain, but it would get you what you need.

That is exactly what I need. Unfortunately, I don't think it's worth me keeping a separate version of the x86_64 spec around just for this. If I got something like this working would it be possible to merge it into the main x86_64 spec? I'm not sure it's a good idea to make changes to it just to serve my purposes but on the other hand it's not like the changes would be any less correct, just more explicit. I also don't know if it would impact existing code analysis in a negative way. When I tried the change you suggested everything looked normal except I was able to see RIP as an input to the PcodeOp. I'd be happy to work on it if there's a chance of it being accepted but if not, I'll probably just use Capstone.

We'll have to think about it.  It does generate more pcode to clean out, but it should have little real effect.
I don't think there would be too many locations that would be effected.
There are many PC relative instructions like relative branches. Do you need those annotated with the PC as input?

Yes, ideally I would like any instruction that uses RIP to be explicitly dependent on it and show it as an input object like any other register, including branches. I can go through the processor specification and see if I can make the changes I need while not obviously breaking anything. When I'm done I'll post it here and get some feedback. It looks like it will just be changing the inst_next calculations with PC and moving it from the disassembly actions section to the semantic section.
Another thought, I've been focused on changing the instruction definitions to use RIP/EIP/IP but it would also be fine to see that inst_next is used. Could I just move the "riprel=inst_next+simm32;" from the disassembly actions section to the semantic section? Or would the Pcode generation have an issue with exposing a non-architectural, predefined symbol as an input object?

Not really because the actions area will actually compute a constant value and export a constant address.  The changes I made were more semantic dead code, just so you could see the PC was set.
The branches can be computed, however that is extra computation that is always constant.  It could cause alot of extra work if one were using the pcode for theorem proving.
I had thought about an additional method on InstructionPrototype that could return if inst_next was used in the disassembly actions.  The use of inst_next doesn't always mean the PC was used as part of the calculation.  It can be used in conditional or looping flows to get to the next fall-through instruction.
Another possiblilty is an ifdef around this added semantic code if it is finally deemed objectionable to have the code in all the places you need it.

Actually having a method like that on InstructionPrototype would probably be enough for me. If the instruction doesn't use inst_next it can't be relative. If the instruction uses inst_next and the pcode contains any branch/call operations to any non-fall-through flows, it's a relative branch instruction. It will be a little tricky distinguishing relative mov/lea instructions from REP prefixed instructions since they are both fallthrough but both use inst_next. But if I understand how that's implemented in pcode, REP prefixed instructions will have both a cbranch op to the fallthrough and a branch op to the current instruction address while mov/lea obviously won't have any branch/cbranch instructions. Finally, cmov instructions are a problem because they can both use inst_next to conditionally branch to the fall-through but they can also use it for a RIP-relative data access. One hacky way around that would be to subtract the data access address from the address of the next instruction and if you can find the result encoded in the instruction bytes as a 16-bit/32-bit little-endian signed immediate then it's very likely a RIP-relative instruction.
If those are the only edge cases I think a usesInstNext() method would fine for my purposes. Are there any other potential edge cases you can think of that use inst_next? That sounds like it would work to me but I'm not familiar enough with Sleigh to be sure.

If the computation with inst_next is in the semantic pcode section, it would be easy to see how it is used.  A direct goto to handle the fall-thru is not PC relative.  It would need to be used as part of a computation.  The tricky part is knowing that it is used in the [action] section and the use of inst_next is not in the actual value, only the final constant value.  That would be possible to do as @caheckman mentioned previously.

Sorry I think I misunderstood a couple things.
It is possible to move the inst_next calculation to the semantic section without having that performance cost you mentioned? Or was that cost a result of using RIP directly?
Also, I didn't realize that the SleighinstructionPrototype would actually give me access to inputs such as inst_next. Is that class already capable of giving me the information I need? Or would it only work after some changes?

Any update on this? I think adding a usesInstNext() function would work for me.


Issues with running tests

Hello,
There are issues when running the tests.
If you use
cd tests
./run_tests.sh

The following errors will emerge:
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/core/management/commands/test.py", line 50, in run_from_argv
    super(Command, self).run_from_argv(argv)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/core/management/commands/test.py", line 71, in execute
    super(Command, self).execute(*args, **options)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/core/management/commands/test.py", line 88, in handle
    failures = test_runner.run_tests(test_labels)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/test/runner.py", line 146, in run_tests
    suite = self.build_suite(test_labels, extra_tests)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/django/test/runner.py", line 66, in build_suite
    tests = self.test_loader.loadTestsFromName(label)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'ModelTest'

Running
python manage.py test basic

is all fine. However, running
python manage.py test scraper

Will result in:
======================================================================
ERROR: test_xml_content_type (scraper.scraper_run_test.ScraperRunTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/rakan/Work/Python/django-dynamic-scraper/tests/scraper/scraper_test.py", line 155, in setUp
    self.crawler.install()
AttributeError: 'CrawlerProcess' object has no attribute 'install'

----------------------------------------------------------------------

This is for all tests in scraper.

Seems like the other part of this ticket was caused by Scrapy==0.24.4. I've installed version 0.16 to make  it work.

If i comment out the self.crawler.install(), here's what i get:
======================================================================
ERROR: test_static_processor_correct_x_path (scraper.scraper_run_test.ScraperRunTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/rakan/Work/Python/django-dynamic-scraper/tests/scraper/scraper_run_test.py", line 284, in test_static_processor_correct_x_path
    self.run_event_spider(1)
  File "/Users/rakan/Work/Python/django-dynamic-scraper/tests/scraper/scraper_test.py", line 83, in run_event_spider
    self.crawler.start()
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/scrapy/crawler.py", line 80, in start
    reactor.run(installSignalHandlers=False) # blocking call
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/twisted/internet/base.py", line 1191, in run
    self.startRunning(installSignalHandlers=installSignalHandlers)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/twisted/internet/base.py", line 1171, in startRunning
    ReactorBase.startRunning(self)
  File "/Users/rakan/.virtualenvs/dynamic-scraper/lib/python2.7/site-packages/twisted/internet/base.py", line 683, in startRunning
    raise error.ReactorNotRestartable()
ReactorNotRestartable

all over. Is this something wrong with my configuration?

What self.crawler.install() are you commenting out?


Document the changes regarding the issue #1009

The issue #1009 seems to be an important change that has to be clarified both in user-oriented documentations and also the technical reports.
Link to the issue:
https://github.com/researchstudio-sat/webofneeds/issues/1009

seems to be done or not an issue anymore


Add 6.1.0 link fix to develop

Fixed one more link in #142 while merging into docs/6.1.0. Add to develop as well.

@peterjunpark what about all the other broken links in the 2 files?  Shouldn't we make the same changes from 6.1.0 into develop?

@yhuiYH They were merged into develop earlier in #141. I made this PR to get the links I missed into develop.


Add a wiki: KHUX Wiki

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://unchainedx.fandom.com/wiki/Kingdom_Hearts_Unchained_X_Wiki
Link to destination (independent) wiki: https://www.khuxwiki.com/

This has been added in v3.10.1 (now available for Chrome, should be released for Firefox soon)


test: migrate to snapshot tests

In this PR we migrate current tests to snapshot tests. After we shrank the package size in #64, the test fixtures are no longer human-readable after compression and base64 encode.
Here we take a snapshot of the decompressed ranges so that if any test is failing, it is easier to known why it is failing. It can also help ensuring the data integrity if we make any compression improvements, such as switching from gzip to brotli.
We also introduce a new dev command: npm run test-update-snapshot will automatically update the snapshots, which should be helpful when we support a new Unicode release.

Thanks!


hide character count for #61

I think this is not the prettiest solution but I am not familiar with CS but as I have seen locally this does the trick. Perhaps I will take a deeper look at CS to improve this solution if there is a way.

Hey @ghajba,
thanks for your contribution. Very much appreciated. I will review it asap and leave feedback.

Thank you very much for your contribution @ghajba  :)

You are welcome! Perhaps I will do other PRs too :)

I just released 2.7.0 including your change. More PRs welcome :)
On Fri, Oct 7, 2016 at 11:36 AM, Gábor László Hajba <
<EMAIL_ADDRESS>wrote:

You are welcome! Perhaps I will do other PRs too :)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/nesQuick/atom-wordcount/pull/68#issuecomment-252196476,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjqQ8IQePa-iaUs7RkWZ4YO6Usjk9raks5qxhKbgaJpZM4KLwNy
.


vagrant: re-add nowarn patch

Motivation for this change
Remove warning displayed when running vagrant commands. Seems the application of the patch was inadvertently removed in #55596. The author prepared the patch correctly just adding it back in.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build vagrant

Thank you!


Follow vuejs styleguide more closely

https://vuejs.org/v2/style-guide/ has a lot of detailed stuff, also looks like the estlint vue plugin will be able to check for these things too when it's ready (#680).

Thanks! I'm reading it and will follow it more. Anything that seems especially useful for now (before the linter works?)

these seem most useful/implementable:
from essential:

Prop definitions should be as detailed as possible.
Always use key with v-for.
Component names should always be multi-word, except for root App components. (this seems a bit overly worried, but still if it's in essential would be nice to follow it)

from strongly recommended:

Component name casing in templates
Multi-attribute elements (although maybe not as strictly as they say)

from potentially dangerous patterns:

v-if/v-if-else/v-else without key might need understanding more, I didn't on first read

Regarding our discussion, I also noticed https://vuejs.org/v2/style-guide/#Multi-attribute-elements-strongly-recommended
<img
  src="https://vuejs.org/images/logo.png"
  alt="Vue Logo"
>

The closing > on the newline is not explicitly mentioned in the text, so it might be a personal preference of the style guide author, or a no-brainer (given the similarity with the selfclosing tag).

Only one left: the vue/require-prop-types rule ✏


fix(cli): Add ELECTRIC_WRITE_TO_PG_MODE option and fix default values

Fixes https://github.com/electric-sql/electric/pull/913
I've added ELECTRIC_WRITE_TO_PG_MODE as an option to the CLI to be able to put it in direct_writes mode.
Changed DATABASE_USE_IPV6 and ELECTRIC_USE_IPV6 to be true by default as per the docs.
Also changed DATABASE_REQUIRE_SSL to be true  and AUTH_MODE to be secure by default as this is the default for Electric as well, but I do understand that we might want them to be false and insecure for easier setup. Let me know if I should roll those back.
Finally, I've added a small test suite that really just re-confirms that the environment variables are present and some defaults are as expected, mostly to force us to update both the code and the test when touching the CLI. I find this safeguard to help, but happy to remove it.

Rolled the SSL and AUTH_MODE defaults back and added a comment on their default values to point out they differ from the sync service's defaults - this might be slightly confusing for someone reading the docs but I do agree that it's too much friction for a CLI tool meant to get you set up with Electric.
Slightly related to CLI usability and env vars, and I might raise a separate issue, a thing I experienced was that because we set all env vars with an ELECTRIC_ prefix for the CLI but any errors coming from those vars are printed by Electric without the prefix it can be slightly confusing, but it's a minor issue.


layout vs layouts

Hi, 👋
What is the reason behind the "layout" naming. Why it is not "layouts"?
Thank you 🍨

Honestly I can’t remember the exact reason. I think it’s because one would typically put things like the header, footer, and other layout structures, in there. Hence singular “layout”, as in “for the layout”. But feel free to rename it in your projects if it makes more sense to you. :)

Thank you so much for this boilerplate. It help us a lot :ice_cream:


Write a glossary

For people who are new to bluesky, both new developers and scientists, it would be useful to have a glossary of terms. This glossary may make sense to put in the dev portal but we can start by collating it in these docs then move it.
Acceptance Criteria

There is a glossary for mx-bluesky and general bluesky terms

I started a glossary at https://dlsltd-my.sharepoint.com/:x:/g/personal/dominic_oram_diamond_ac_uk/EfjdiD3FJz9GvPNA8X-_8iUBSMc-0cavRMw_KARtOcuyow


peripherals with duplicate services or characteristics are not handled properly

All services and characteristics are accessed via hashes.  If a peripheral contains multiple services/characteristics of the same uuid, only the last discovered service/characteristic is accessible.
A possible solution would be to carry the handle to the objects, and perform accesses only using handles.

Same UUID characteristics in different services work fine for me. (Maybe this has been fixed but not closed?)
Are same-UUID services, or same-UUID characteristics within a service even legal?

@OJFord it's still an issue.
Yes, a peripheral can have one or many services with the same UUID, and one or many characteristics with the same UUID in a sever.

Yes, this is a very legit request. Currently we could read/write attributes via handles. But there's no way(not AFAIK) to get the handle of a specific attribute. We should add this property in the discover/read/write APIs.

@VinceGa yes, it's on my TODO list, plan is to add an id field to all attribute objects (services, characteristics, descriptors). For most platforms noble supports it will be mapped to the attribute handle, however if that info is not available another unique number could be used.
P.S. reading attributes by handle works well on Linux, however on OS X CoreBluetooth/blued blocks this operation sometimes.

I've run into this problem too. I cannot listen to notify events by a characteristic with the same UUID as another characteristic.

@sandeepmistry you wrote above: "P.S. reading attributes by handle works well on Linux, however on OS X CoreBluetooth/blued blocks this operation sometimes."
How can I detect that the operation is blocked?

Please can you update status of this issue on this latest release:
<EMAIL_ADDRESS>

@rzr I have no idea because I haven't used this project in years, but it looks like that package is being maintained (and is actually being maintained, not just hosted) at abandonware/noble, so you'll probably have better luck checking for a similar (perhaps closed) issue there, or asking via Discussions or something.


How to use 'mirrored' mode since 'bridged' networking mode stopped working with 23H2 (WSL 2.1.5)

Windows Version
Microsoft Windows [Version 10.0.22631.3155]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
6.2.7
Distro Version
Alpine Linux  3.17.3
Other Software
No response
Repro Steps
Config file .wslconfig
networkingMode = bridged
vmSwitch = WSL-Switch

Expected Behavior
The "bridged" networking mode as in the config below ceased to function with the 23H2 update, likely due to the introduction of the new "mirrored" mode.
networkingMode = bridged
vmSwitch = WSL-Switch

However, regarding the "mirrored" mode, the documentation only states that "Enabling this changes WSL to an entirely new networking architecture which aims to 'mirror' the network interfaces you have on Windows into Linux, to add new networking features and improve compatibility." Unfortunately, there are no manuals available explaining the technical details of how to use "mirrored" mode!
Question:

How can I re-enable functionality using "networkingMode = bridged" and "vmSwitch = WSL-Switch" ?
Or how to achieve the same effect using "networkingMode = mirrored"?
If possibe, please provide en example and where to find tech docs regarding how to use "mirrored" mode

Thanks in advance!
Actual Behavior
Config file .wslconfig
networkingMode = bridged
vmSwitch = WSL-Switch

Doesn't work anymore and eth0 is not available in bridge mode.
Diagnostic Logs
No response
### Tasks

Basic environment info
PS C:\> $PSVersionTable                                                                                Name                           Value                                                                                ----                           -----
PSVersion                      5.1.22621.2506
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.2506
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

PS C:\> wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.60
MSRDC version: 1.2.5105
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22631.3296

Test #1 is failing after the recent WSL update when using the original bridged/vmSwitch options. Please see the attached Test-run-1-2024-03-16-1535.zip with configuration file and logs.
[wsl2]
processors=2
debugConsole=true
# networkingMode = mirrored
networkingMode = bridged
vmSwitch = WSL-external
ipv6 = false
dhcp = true

Test #2 also fails when using mirrored network mode. WSL neither automatically assigns an IP address using DHCP nor establishes LAN contact when a static IP address is manually assigned to the Linux interface. While I'm familiar with troubleshooting network issues using tools like Wireshark and tcpdump, the lack of in-depth WSL documentation makes this a challenging 'black box' scenario.
Please see the attached Test-run-2-2024-03-16-1540.zip with configuration file and logs.
[wsl2]
processors=2
debugConsole=true
networkingMode = mirrored
# networkingMode = bridged
# vmSwitch = WSL-external
ipv6 = false
dhcp = true

An interesting observation worth mentioning is that, since I've enabled debugConsole=true, I've noticed that WSL sometimes activates and then stops automatically when I for example launch File Explorer. I've also seen this behavior intermittently when using the pipe command, like "dir xxxx | less" but also on other occasions. However, it's quite difficult to pinpoint exactly when or why it occurs.
Any ideas why this might happen?

Btw, is there any in-depth documentation explaining the internal workings of mirrored networking mode for WSL and Linux?
Specifically, I'm interested in how the network interfaces are mapped between the two systems and the available control capabilities like broadcasting etc. How can I make the Windows network interface completely transparent (i.e., without impact of the Windows firewall). How and where (ie in Windows or Linux) should IP addresses be assigned  using DHCP or statically?
Thanks in advance!

I'm interested in this because I'd like to use mirrored instead of `bridged, but  @Boilerplate4u bridged is working for me fyi
Snippet of output from fastfetch:
OS: Windows 11 (Pro) x86_64
Host: 82V2 (Slim 7 ProX 14ARH7)
Kernel: 10.0.22631.3593 (23H2)
```

wsl --version:

```
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
```

Following up on this - I'm now getting flakiness in my dns resolution. I tried hardcoding the nameserver to <IP_ADDRESS> or <IP_ADDRESS> or whatnot which seems like it helped a bit. I seem to get about a minute of good resolution before it starts getting flakey.

did you find a way to make mirrored mode works?
it doesn't mirror the interfaces if i enable it.

The "bridged" networking mode as in the config below ceased to function with the 23H2 update, likely due to the introduction of the new "mirrored" mode.

Sad news:

From just released v2.4.5 changelog
Add user warning letting users know bridged networking will be deprecated

Bridged mode works very well as it is now in WSL-Version: <IP_ADDRESS>

I updated to 2.4.5 & when i ran wsl i get this
"wsl: Bridged networking mode has been deprecated, please see https:://aka.ms/wslnetworking for information about supported networking modes"


Autosave after 5s vs. 30s of making an editor dirty

This alters our Autosave logic such that it will save 5s after a change is made to an editor.  Previously it was 30s, but I think that was frustrating users.

r+


Update to Netty 5.0.0.Alpha2-SNAPSHOT

Motivation:
Use the latest changes from Netty 5 snapshot
Modifications:

Update to Netty 5.0.0.Alpha2-SNAPSHOT
Use ByteBuf from Netty 4.1.75.Final

Result:
Use the latest changes from Netty 5 snapshot

@chrisvest @normanmaurer Can we merge this?

@violetagg thanks for the ping

@normanmaurer Thanks a lot!


Keyboard does not show when trying to entering PIN after wallet timeout on the background

Description of problem
After leaving the app open in the background for some time, when the user reactivates the app, and it shows the Enter PIN screen, the keyboard does not pop up when taping the PIN field
Expected behavior
Steps to reproduce
Screenshots and/or log output
Environment

[ ] Occurs on Android - Have not observed or received any report for Android
[x] Occurs on iOS - Someone contacted our support email, and CSB has reported a few similar occasions

Build #:

1.0.10 Build (1097)

Android Device Model:
iOS Device Model:

iOS 16.6
Model name: iPhone12
Model Number: MGJ33VC/A

Workaround
Severity

[ ] High
[ ] Medium
[x] Low

Hard to troubleshoot because I can't reproduce. Some things to suggest to users who experience this issue: turn off bluetooth, disable Prefer Cross-Fade Transitions, disable Reduce Motion (in iPhone settings)
I might try adding a Keyboard.dismiss() on screen focus to see if that eliminates the issue, just have to make sure it doesn't cause any problems

I think I've seen similar behaviour on occasion but I cannot reproduce this. I tried reduced the timeout to 1 min, then tried letting it timeout in various ways: 1) while it the foreground, let the phone go to sleep, 2) background the app, then let the phone go to sleep, and 3) background the app and keep the phone active. Repeated testing 10x. All worked as expected.
The app does open slightly different depending on if its opened from the the "home" screen or "search" screen. The search screen tends to not automatically show the keyboard but does display it once the field it touched.

Moving to QA until it can be reproduced by anyone.

Moving to QA until it can be reproduced by anyone.


can someone help me with a configuration please

how to configure cheater detection?, i have no idea if anyone can help me i would be happy

the default settings should work fine albeit a bit conservative, ive also not properly tested all the different detection methods yet so its possible that some things like aimbot detection just dont work, all the customisable options should be self explanatory and have help markers if ur confused by their meaning.


Made the changes in the menu from $ to ₹

Related Issue
Made the changes in the menu from $ to ₹
Description
Made the changes in the menu from $ to ₹
closes #1327
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
[Include any additional information or context that might be helpful for reviewers.]

@sunny0625 Please Review it soon

@sunny0625 Please Tell me are there any more changes need to Change


Add a management command to raise a test exception.

Fixes #1503.

@trbs did CI stop working recently? It looks like the recent PR's don't have TravisCI checks.

Coverage increased (+0.03%) to 70.395% when pulling d1572b25150a09e110a80cd6079adaf276ec04cf on YPCrumble:feature/test-exception-command into 164d804b414c5e536f5f011353f9bc043e1da2a1 on django-extensions:master.

Coverage increased (+0.03%) to 70.395% when pulling d1572b25150a09e110a80cd6079adaf276ec04cf on YPCrumble:feature/test-exception-command into 164d804b414c5e536f5f011353f9bc043e1da2a1 on django-extensions:master.

@trbs did CI stop working recently? It looks like the recent PR's don't have TravisCI checks.

Something seems to have broken with Travis CI or GitHub :(
So far have not found what is causing this... maybe these types of reports are related https://twitter.com/a_grebenyuk/status/1254823757778087936 but also do not have an answer...

https://travis-ci.community/t/github-status-not-posted-on-commits-on-repositories-using-legacy-service-integration/7798


Separate hierarchical projects as individual tags

This will seprate a hierarchical project job.projectA.sprint4 into individual 3 tags [job,projectA,sprint4].
This will allow flexibility for view reports in timewarrior.
Signed-off-by: Sandeep Sahani<EMAIL_ADDRESS>

Migrated here from https://github.com/GothenburgBitFactory/timewarrior/pull/345


Edit external network quickstart guide

Various edits to the new quickstart guide for connecting K8s clusters
with non-clusters using Submariner.

@dfarrell07 thanks for the PR. The PR from @mkimuram is now merged.

@dfarrell07 thanks for the PR. The PR from @mkimuram is now merged.

Okay yes and I see this commit was merged as https://github.com/submariner-io/submariner-website/pull/573/commits/5ccd2c272da39de428205a67b436b510694981f7, so closing this PR. Thanks all!


Wifi calling not working in jailbroken state. It is working fine in stock mode.

Device (please complete the following information):

iOS Version: 13.5
iOS Device: iPhone XS
unc0ver Version: 3.5.1

Place an "x" between the brackets if true:

[x] this is a bug others will be able to reproduce
[x] this issue is present with all tweaks uninstalled(except for default packages) or disabled
[ ] this issue is present after a rootfs restore
[x] this issue is present on the latest version of unc0ver

Ml0.1

0508555123❤

_
l_l


Headless run does not work

Hi TagUI support team,
I have been able to create a script that would run normally with an open Chrome browser. This script basically is trying to select an email from Outlook.com based on the email's xpath - code example: click (xpath). However, when I tried to run the script headless (no browser) by using cmd: tagui c:\tagui\flows\samples\example.tag -headless, the script started to give me the error below,
ERROR - cannot find (xpath).
Would you please helping understand why this is an issue ? Is this a known problem yet ?
Thank you

Something that I find out after I took a snapshot of the Outlook.com that was presented. Apparently the headless Chrome browser was using a Light version of Outlook.com (https://support.microsoft.com/en-us/office/learn-more-about-the-light-version-of-outlook-2aec8c2d-da48-4707-ba37-c800e1c284cd) due to outdated browser.
My script would need to run in the latest version of browser, would you mind letting me if it is possible to use the latest version of the browser while we are using the script headless ?

Something that I find out after I took a snapshot of the Outlook.com that was presented. Apparently the headless Chrome browser was using a Light version of Outlook.com (https://support.microsoft.com/en-us/office/learn-more-about-the-light-version-of-outlook-2aec8c2d-da48-4707-ba37-c800e1c284cd) due to outdated browser.
My script would need to run in the latest version of browser, would you mind letting me if it is possible to use the latest version of the browser while we are using the script headless ?

Hi @trevorle97, from your description it sounds like Outlook is able to detect that you are not using a normal browser, ie running Chrome using invisible mode. It might be possible to set the user agent for the Chrome session so escape detection. But over time that solution is brittle because Outlook team will pick up how to recognise such hacks and disables it as well.
For you use scenario, is it possible for you to write a separate flow for the Outlook lite? You can create a dummy file call a.tag and run tagui a.tag -headless to enter live mode in the invisible mode. From there test out the steps to write the flow.
live

You could use steps like below to see the web browser elements and DOM, but would be difficult for someone not experienced with HTML and webpage development.
read page to html
echo `html`

or
save page to web.html

If there is some way to access Outlook lite directly, you can create that flow in the normal way first.
The issue is Outlook decided not to serve browsers like Chrome invisible mode, thus it serves the Lite version. So it's more of using automation in a way which isn't being supported by the app. Because normal user won't surf a webpage invisibly.

Hi @trevorle97, from your description it sounds like Outlook is able to detect that you are not using a normal browser, ie running Chrome using invisible mode. It might be possible to set the user agent for the Chrome session so escape detection. But over time that solution is brittle because Outlook team will pick up how to recognise such hacks and disables it as well.
For you use scenario, is it possible for you to write a separate flow for the Outlook lite? You can create a dummy file call a.tag and run tagui a.tag -headless to enter live mode in the invisible mode. From there test out the steps to write the flow.
live

You could use steps like below to see the web browser elements and DOM, but would be difficult for someone not experienced with HTML and webpage development.
read page to html
echo `html`

or
save page to web.html

If there is some way to access Outlook lite directly, you can create that flow in the normal way first.
The issue is Outlook decided not to serve browsers like Chrome invisible mode, thus it serves the Lite version. So it's more of using automation in a way which isn't being supported by the app. Because normal user won't surf a webpage invisibly.

Adding on, more details and the train of thoughts - https://www.youtube.com/watch?v=lgFaQc6PLzg

Adding on, more details and the train of thoughts - https://www.youtube.com/watch?v=lgFaQc6PLzg

Closing issue for now but do ping us if anything!


python3Packages.pyairvisual: 5.0.5 -> 5.0.6

Motivation for this change
Update to latest upstream release 5.0.6
Change log: https://github.com/bachya/pyairvisual/releases/tag/5.0.6
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOSx
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 112378 at e4921146 run on aarch64-linux 1

3 packages built:

python37Packages.pyairvisual
python38Packages.pyairvisual
python39Packages.pyairvisual

Result of nixpkgs-review pr 112378 at e4921146 run on x86_64-linux 1

3 packages built:

python37Packages.pyairvisual
python38Packages.pyairvisual
python39Packages.pyairvisual

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 112378 run on x86_64-darwin 1

3 packages built:

python37Packages.pyairvisual
python38Packages.pyairvisual
python39Packages.pyairvisual


Second read more section not being rendered in second tab on page

I am working on a Drupal bootstrap site. I would like to use readmore on two tabs on the following page:
https://scotch.devod.co/causes/building-fund
I have set up two "Read More" section. One on the first tab "KEON-COHEN DINING HALL" and the second on the "SPENCER CENTRE FOR DESIGN AND TECHNOLOGY".
Shortcodes are used to generate the tabs are from the creator of the theme I am using.
The first "Read More" is rendered correctly on the first tab, however the "Read More" is not rendered at all when I select the second tab.
My jQuery ready function is set as follows:
jQuery(document).ready(function( $ ) {
        $('div.extended-text').readmore({
                collapsedHeight: 0,
                lessLink: '
Read Less
',
                moreLink: '
Read More
'
        });

        $('div.extended-text_01').readmore({
                collapsedHeight: 0,
                lessLink: '
Read Less
',
                moreLink: '
Read More
'
        });
});

Would anyone know how I may resolve this and have the "Read More" section rendered for the second tab?
Thank you for your assistance in this matter.

Actually realised that my issue is related to an issue that was closed:
https://github.com/jedfoster/Readmore.js/issues/128
As suggested in that closed issue, I had to do something like this:
   $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {

   	$('div.extended-text').readmore({
   		collapsedHeight: 0,
   		lessLink: '
Read Less
',
   		moreLink: '
Read More
'
   	});

       $('div.extended-text_01').readmore({
               collapsedHeight: 0,
               lessLink: '
Read Less
',
               moreLink: '
Read More
'
       });
   });


Upgrade cloud-hypervisor to 31.1, kernel-mshv to 5-15-110, and kernel…

…-uvm to 5-15-110 as part of LSG release v2305.11.1

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Upgrade cloud-hypervisor to 31.1, kernel-mshv to 5-15-110, and kernel-uvm to 5-15-110 as part of LSG release v2305.11.1
Change Log

cloud-hypervisor
kernel-mshv
kernel-uvm

Does this affect the toolchain?

NO
Test Methodology

Buddy Build (Pass): https://dev.azure.com/mariner-org/mariner/_build/results?buildId=362965&view=results

Was able to produce test image with all packages updated https://dev.azure.com/mariner-org/mariner/_build/results?buildId=362482&view=results
Image went through conformance (runc) and internal e2e (kata & runc) and produced good results (only failed 1 e2e using runc. This test needs to be adapter for runc, no issue with runtime) https://dev.azure.com/mariner-org/mariner/_build/results?buildId=362517&view=ms.vss-test-web.build-test-results-tab
Also went through perf and getting consistent results across the board https://dev.azure.com/mariner-org/mariner/_build/results?buildId=362887&view=results

Sorry, I was about to add a clarification on the configs. kernel-mshv and kernel-uvm configs have been synced with LSG. We keep a copy of the configs checked in for open source transparency.


fix(general): open router link in new tab. Fixes MA-185

Good busy Nils!

:tada: This PR is included in version 1.26.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


make darwin (macos) compatible

fixes the "undefined: unix.TCGETS" error
TCGETS isn't defined in darwin, see https://golang.org/src/syscall/types_darwin.go

Thanks!


[SPARK-28840][SQL][test-hadoop3.2] conf.getClassLoader in SparkSQLCLIDriver should be avoided as it returns the UDFClassLoader which is created by Hive

What changes were proposed in this pull request?
Spark loads the jars to custom class loader which is returned by getSubmitClassLoader .
Spark code
In 1.2.1.spark2 version of Hive
HiveConf.getClassLoader returns same the class loader which is set by the spark
In Hive 2.3.5
HiveConf.getClassLoader returns the UDFClassLoader which is created by Hive. Because of this spark cannot find the jars as class loader got changed
Hive code
Why are the changes needed?
Before creating CliSessionState object save the current class loader object in some reference.
After SessionState.start() reset back class Loader to the one which saved earlier.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Added Test case and also Manually tested
Before Fix

After Fix

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Is it a standard usage? We support --jars one.jar:
build/sbt clean package -Phive -Phadoop-2.7 -Phive-thriftserver
export SPARK_PREPEND_CLASSES=true
bin/spark-sql --jars /root/.ivy2/cache/org.spark-project.hive/hive-contrib/jars/hive-contrib-1.2.1.spark2.jar -e "CREATE TEMPORARY FUNCTION example_max AS 'org.apache.hadoop.hive.contrib.udaf.example.UDAFExampleMax'"

Yes we can use one or multiple jars. Sorry I didn't get you, why you gave the above command ?

Our example always uses --jars one.jar,two.jar. It seems --jars=one.jar,two.jar is not a standard usage.
http://spark.apache.org/docs/latest/spark-standalone.html#launching-spark-applications
http://spark.apache.org/docs/latest/running-on-yarn.html#adding-other-jars
http://spark.apache.org/docs/latest/rdd-programming-guide.html#using-the-shell
http://spark.apache.org/docs/latest/sql-data-sources-jdbc.html

I got it. even if you use like below also there is a problem
./bin/spark-sql --master local --jars /opt/BigdataTools/summation.jar

ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14565/
Test PASSed.

Test build #109509 has started for PR 25542 at commit 7e89f55.

Retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14566/
Test PASSed.

Test build #109510 has started for PR 25542 at commit 7e89f55.

Test build #109510 has finished for PR 25542 at commit 7e89f55.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109510/
Test PASSed.

Test build #109509 has finished for PR 25542 at commit 7e89f55.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109509/
Test PASSed.

It seems --jars sql/hive/src/test/resources/SPARK-21101-1.0.jar works without this patch:
build/sbt clean package -Phive -Phadoop-2.7 -Phive-thriftserver
export SPARK_PREPEND_CLASSES=true
bin/spark-sql --jars sql/hive/src/test/resources/SPARK-21101-1.0.jar

please use hadoop-3.2 as it comes with Hive 2.3.5

Yes. I can reproduce this issue. Please add [test-hadoop3.2] to the PR title.

retest this please

Test build #109547 has started for PR 25542 at commit 7e89f55.

Hi, guys. I already triggered both profiles.
Test build #109509 has finished for PR 25542 at commit 7e89f55. was hadoop-3.2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14604/
Test PASSed.

Test build #109547 has finished for PR 25542 at commit 7e89f55.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109547/
Test PASSed.

This issue caused by HIVE-11878.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14635/
Test PASSed.

Test build #109579 has started for PR 25542 at commit bc87633.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14636/
Test PASSed.

Test build #109581 has started for PR 25542 at commit 82795ad.

Test build #109579 has finished for PR 25542 at commit bc87633.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109579/
Test PASSed.

Test build #109581 has finished for PR 25542 at commit 82795ad.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109581/
Test PASSed.

Retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14718/
Test PASSed.

Test build #109669 has started for PR 25542 at commit 82795ad.

Test build #109669 has finished for PR 25542 at commit 82795ad.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109669/
Test PASSed.

Retest this please.

Test build #109671 has started for PR 25542 at commit 82795ad.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/14720/
Test PASSed.

Test build #109671 has finished for PR 25542 at commit 82795ad.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/109671/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15050/
Test PASSed.

Test build #110032 has started for PR 25542 at commit f220c13.

Test build #110032 has finished for PR 25542 at commit f220c13.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110032/
Test FAILed.

retest this please

@dongjoon-hyun Maven 3.6.1 is missing:

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15052/
Test PASSed.

Test build #110034 has started for PR 25542 at commit f220c13.

It can download Maven 3.6.1 this time:
exec: curl -s -L https://www.apache.org/dyn/closer.lua?action=download&filename=/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz
Using `mvn` from path: /home/jenkins/workspace/SparkPullRequestBuilder/build/apache-maven-3.6.1/bin/mvn

Test build #110034 has finished for PR 25542 at commit f220c13.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110034/
Test PASSed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15059/
Test PASSed.

Test build #110041 has started for PR 25542 at commit f220c13.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15060/
Test PASSed.

Test build #110041 has finished for PR 25542 at commit f220c13.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110041/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15109/
Test PASSed.

Test build #110095 has started for PR 25542 at commit 873cdf4.

Test build #110096 has started for PR 25542 at commit b87a687.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15110/
Test PASSed.

Test build #110095 has finished for PR 25542 at commit 873cdf4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110095/
Test PASSed.

Test build #110097 has started for PR 25542 at commit 2f3401f.

Hi, I have make a PR on your branch. pls check it

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15111/
Test PASSed.

Hi, I have make a PR on your branch. pls check it

Thank you, I have merged your changes

Test build #110098 has started for PR 25542 at commit d5fde3b.

Test build #110096 has finished for PR 25542 at commit b87a687.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110096/
Test PASSed.

Test build #110097 has finished for PR 25542 at commit 2f3401f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110097/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15114/
Test PASSed.

Merged build finished. Test PASSed.

Test build #110098 has finished for PR 25542 at commit d5fde3b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110098/
Test PASSed.

Test build #110101 has started for PR 25542 at commit 50762fa.

Test build #110101 has finished for PR 25542 at commit 50762fa.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110101/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15116/
Test PASSed.

Test build #110104 has started for PR 25542 at commit 50762fa.

Test build #110104 has finished for PR 25542 at commit 50762fa.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110104/
Test PASSed.

retest this please

Test build #110224 has started for PR 25542 at commit 50762fa.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15223/
Test PASSed.

Test build #110224 has finished for PR 25542 at commit 50762fa.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110224/
Test FAILed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15224/
Test PASSed.

Test build #110227 has started for PR 25542 at commit 50762fa.

Test build #110227 has finished for PR 25542 at commit 50762fa.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110227/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15232/
Test PASSed.

Test build #110235 has started for PR 25542 at commit 533eeeb.

Test build #110235 has finished for PR 25542 at commit 533eeeb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110235/
Test PASSed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15406/
Test PASSed.

Test build #110422 has started for PR 25542 at commit 533eeeb.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15409/
Test PASSed.

Test build #110422 has finished for PR 25542 at commit 533eeeb.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110422/
Test FAILed.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15413/
Test PASSed.

Test build #110427 has started for PR 25542 at commit 8eb6310.

Test build #110427 has finished for PR 25542 at commit 8eb6310.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110427/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15417/
Test PASSed.

Test build #110430 has started for PR 25542 at commit cf13bfa.

Test build #110430 has finished for PR 25542 at commit cf13bfa.

This patch fails RAT tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110430/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15418/
Test PASSed.

Test build #110431 has started for PR 25542 at commit 47f8632.

Test build #110431 has finished for PR 25542 at commit 47f8632.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110431/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15438/
Test PASSed.

Test build #110455 has started for PR 25542 at commit 4a79580.

Test build #110455 has finished for PR 25542 at commit 4a79580.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110455/
Test PASSed.

retest this please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15443/
Test PASSed.

Test build #110462 has started for PR 25542 at commit 4a79580.

Test build #110462 has finished for PR 25542 at commit 4a79580.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110462/
Test PASSed.


infinty loop

In this we are creating a loop which goes around like forever when we place the mouse pointer on that.

@manikasharma09 Thanks for your PR! Could you please provide some information what this PR do or add some screenshots?

sure
On Sat 27 Oct, 2018 12:37 am Aleksandr Filatov<EMAIL_ADDRESS>wrote:

@manikasharma09 https://github.com/manikasharma09 Thanks for your PR!
Could you please provide some information what this PR do or add some
screenshots?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/greybax/IT-films/pull/35#issuecomment-433513149, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AkDPsYlznE604S3sN8DNeOEye3wVOVCyks5uo12DgaJpZM4X8zZa
.

written the description of what this code does

@manikasharma09 not sure why we need this... Is it will help somehow to navigate on website or what?


Codegen ActiveEnum & Create Enum From ActiveEnum

PR Info

Resolve #338
Depends on

SeaQL/sea-schema#29
SeaQL/sea-query#193

Demo

#354

But I may not merge it. Because upstream PRs are not merged yet.


HTTPError Not Updating

Description
When adding a new HTTPError or removing an existing one, the document will not change.
It first came to my project that no HTTPError is displaying, then I tried the samples and found that for some reason, the document will store all the HTTPError for the first time and never change.
How to Replicate

Clone the project and open the example
Run an example. I chose base_response

Notice code block:
@app.delete('/pets/<int:pet_id>')
@app.output({}, status_code=204)
def delete_pet(pet_id):
    if pet_id > len(pets) - 1:
        abort(404)
    pets[pet_id]['deleted'] = True
    pets[pet_id]['name'] = 'Ghost'
    return ''

The following document is generated:

Remove the abort part by:
@app.delete('/pets/<int:pet_id>')
@app.output({}, status_code=204)
def delete_pet(pet_id):
    # if pet_id > len(pets) - 1:
    #     abort(404)
    pets[pet_id]['deleted'] = True
    pets[pet_id]['name'] = 'Ghost'
    return ''

Restart the flask service, the same document is generated:

I tried to clone the project and comment out one abort call. And the document does not show the HTTPError as expected, but later when I uncomment the code the document is still the same.
I'm not sure if anyone else had this problem before or if it is just me. I tried everything, clearing the Chome cache, and restarting the flask entirely, but nothing is working.
Environment:

Python version: 3.10.6
Flask version: 2.2.2
APIFlask version: 1.1.2

Hi! The abort won't change the HTTP errors' OpenAPI spec of an endpoint. The OpenAPI spec will only be changed with decorators (input, output, doc, auth_required).
You can set the responses parameter of the app.doc() decorator to manually set the errors for an endpoint:
@app.delete('/pets/<int:pet_id>')
@app.output({}, status_code=204)
@app.doc(responses={404: 'something missing', 500: 'something was wrong'})
def delete_pet(pet_id):
    ...

Besides, beware that APIFlask will add some errors automatically. For example, if an endpoint's URL rule contains variables, it will add a 404 error. These behaviors can be controlled with some configurations: https://apiflask.com/configuration/#auto_404_response


Prepare MediaPlayer async for Android

Correct android async loading of MediaPlayer
Related to https://github.com/zmxv/react-native-sound/pull/184

It probably would be a good idea to also add an error listener during the prepare stage, it would then be replaced when play is invoked

@benvium

Looks good - let's get this in.


Revert "[Macros] Enable composition of member attribute macros and accessor macros."

It causes crashes in some Sema/SwiftUI tests in some configurations.
rdar://104297642
This reverts commit b8d65e1ed90446d0256c0016bbbcf47200cad137.

@swift-ci smoke test


[trade-secret] make reverse trade where you want to buy something

in reverse trade you want to buy something, encode what you want to buy, let people know about it, someone can sell to you by connecting to you or keysending you an offer and then you can auto buy or select to buy

[Hummer](`

url

`)