apps/ocsp.c Use the same HAVE_FORK / NO_FORK as in speed.c

This allows the user to override our defaults if needed, and in a
consistent manner.
Partial fix for #7607

@pjosep, please have a look at this.

Would it make sense to confine the NO_FORK to the same areas as OCSP_DAEMON?  That way you still get most of the ocsp functionality without fork.

I'm not sure I understand.  Without fork, no daemon functionality, isn't that correct?

My apologies, I mis-understood the change. I originally read it as if the entire file was being ifdef'ed out.  But you are doing what I expected (and that is to make sure that the daemon functionality is disabled without fork.  Thanks!

Ping?

Merged.
master:
ca811248d838058c13236a6c3b688e0ac98c02c8 apps/ocsp.c Use the same HAVE_FORK / NO_FORK as in speed.c
1.1.1:
af250b36eb537bc2b185e35e24f187380a98ebb4 apps/ocsp.c Use the same HAVE_FORK / NO_FORK as in speed.c


add server side API examples of both RESTful and GraphQL

Changes Unknown when pulling 9c8dd9810f007997c79a123eddb1a1c383af52ce on dev into ** on master**.


Improve article 1901.08676

Exact location of issue
We crawled the entire ar5iv, and after analyzing the files, we verified that the following paper has about 420 MB in size.
https://ar5iv.labs.arxiv.org/html/1901.08676
The problem is caused by some too long lines inside it.
The first line with a problem starts with: <span id="S2.F<IP_ADDRESS>.1 class="ltx_p" style="width:411.9pt;">
Problem details

after performing some Linux commands (like head and tail), we verified some (too long) lines inside it.
you can verify one of these lines by executing the following:

head -n 146 1901.08676.html | tail -n 1 > problematic_line
as you can see, 146 is the first problematic line

Desktop (please complete the following information)

OS: [e.g. Debian 11]
Browser [e.g. chrome]

Thank you for the report @fbgonzaga ! I'll definitely investigate the pathological example here.

I could reproduce the 420 MB size, as reported. There was a very unfortunate source of instability due to a load raw of pinlabel.sty by latexml that had gone wrong.
I have now added a robustness guard to prevent that in the experimental ar5iv-bindings.
I'll drop another comment here after the next big regeneration of the corpus at the end of summer - new HTML size should be ~200 KB.

This stability issue is now resolved. I'll keep the issue open as a placeholder for adding pinlabel.sty support.


Include the source colors in the document local styles

          It would nice if the plugin had an option to include the source colours when it creates/syncs the Figma styles, however, it's easy enough to add those as separate styles manually. In my case, I created **brand/primary** and **brand/secondary** in Figma and then used those as source colours in the plugin. Then I put the plugin-generated colours in a separate folder/group called **scaled** (using a slash in the colour name in the plugin, same as in Figma).

Originally posted by @MrFussyfont in https://github.com/inVoltag/figma-ui-color-palette/issues/39#issuecomment-1470499562

I released the version 19 that solved the issue. Tell me if this is ok.


Catalog.xml content / baseLocation

First of all, thanks for sharing this script, we've used it to mirror firmwares/bios for our 100s of dell servers, and it has worked flawlessly for a long time. Awesome!
We usually update our machines via HTTP from idrac / racadm. For example, we specify the URL to "dell.foo.bar", and the idrac will happily pull the Catalog.xml file from there, and present us with any updates it finds that is applicable for the server. But after clicking "install" any downloads will fail with the following error: RED006: Unable to download Update Package..
After some troubleshooting I concluded that Dell recently(?) added two options to the <Manifest> declaration in Catalog.xml, looking like this:
<Manifest baseLocation="downloads.dell.com" baseLocationAccessProtocols="HTTPS"

This causes idrac to try to download the packages from downloads.dell.com, using the HTTPS protocol, but this fails since we requested HTTP.
If we do specify HTTPS and still enter the "dell.foo.bar" (our internal mirror host), the update works, but packages are actually downloaded from downloads.dell.com, not our mirror.
The fix for us is to either update the baseLocation and baseLocationAccessProtocol to match our settings, or to remove both properties. Both paths work so far it seems.
This isn't a problem with dellmirror.py per se, but I was tinkering with adding functionality via PR to use the already imported xml.etree.ElementTree. I've got a rudimentary version that can modify the properties, and write out the file, however the ElementTree actually reformats the whole XML quite a bit, most notably it actually changes values that are CDATA into regular string data. Not sure if this affects anything in any update process.
Also writing this here, so someone else might find it if they're in the same situation, looking for a fix.
(we're currently using a quick and dirty oneliner to modify it outside of dellmirror.py after each successfull Catalog.xml update.)
Are you willing to accept a PR that adds optional rewrite of Catalog.xml with custom property values? Or do you perhaps have other suggestions on how to fix it?

Since the PR hasn't been merged, I piggy-back another fix for the script. Dell has retired the hostname ftp.dell.com, and expects people to use downloads.dell.com. The hardcoded occurrences of the ftp-hostname was updated.


watch don't work when I use a custom copy.config.js

Short description of the problem:
watch don't work when I use a custom copy.config.js under "ionic serve"
if I extend the default watch.config.js to be a custom watch.config.js, there is an error in the console
Steps to reproduce:

use a custom copy.config.js, there's no watch log

D:\Code\test\ionic-3rd>ionic serve

> ionic-hello-world@ ionic:serve D:\Code\test\ionic-3rd
> ionic-app-scripts serve

[02:10:06]  ionic-app-scripts 0.0.47
[02:10:07]  watch started ...
[02:10:07]  build dev started ...
[02:10:07]  clean started ...
[02:10:07]  clean finished in 53 ms
[02:10:07]  copy started ...
[02:10:07]  transpile started ...
[02:10:20]  transpile finished in 12.60 s
[02:10:20]  webpack started ...
[02:10:27]  copy finished in 19.93 s
[02:10:57]  webpack finished in 37.00 s
[02:10:57]  sass started ...
[02:11:04]  sass finished in 6.95 s
[02:11:04]  build dev finished in 56.70 s
[02:11:04]  dev server running: http://localhost:8100/

if I extend the default watch.config.js to be a custom watch.config.js, there is an error in the console

D:\Code\test\ionic-3rd>ionic serve

> ionic-hello-world@ ionic:serve D:\Code\test\ionic-3rd
> ionic-app-scripts serve

[02:18:42]  ionic-app-scripts 0.0.47
[02:18:43]  watch started ...
[02:18:43]  build dev started ...
[02:18:43]  clean started ...
[02:18:43]  clean finished in 40 ms
[02:18:43]  copy started ...
[02:18:43]  transpile started ...
[02:18:54]  transpile finished in 10.38 s
[02:18:54]  webpack started ...
[02:19:00]  copy finished in 16.45 s
[02:19:22]  webpack finished in 28.72 s
[02:19:22]  sass started ...
[02:19:27]  sass finished in 4.81 s
[02:19:27]  build dev finished in 44.09 s
There was an error in config file "D:\Code\test\ionic-3rd\config\watch.config.js". Using defaults instead.
TypeError: Cannot read property 'rootDir' of undefined
    at Object.getUserConfigFile (D:\Code\test\ionic-3rd\node_modules\@ionic\app-scripts\dist\util\config.js:96:35)
    at Object.copyConfigToWatchConfig (D:\Code\test\ionic-3rd\node_modules\@ionic\app-scripts\dist\copy.js:236:31)
    at Object.<anonymous> (D:\Code\test\ionic-3rd\node_modules\@ionic\app-scripts\config\watch.config.js:16:20)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
[02:19:27]  dev server running: http://localhost:8100/

// custom copy.config.js

let origin = require('@ionic/app-scripts/config/copy.config');

origin.copyFontAwesome = {
  src: ['{{ROOT}}/node_modules/font-awesome/fonts/*'],
  dest: '{{WWW}}/fonts'
};
origin.copyEmojioneCSS = {
  src: ['{{ROOT}}/node_modules/emojione/assets/css/emojione.css'],
  dest: '{{BUILD}}'
};
origin.copyEmojionePNG = {
  src: ['{{ROOT}}/node_modules/emojione/assets/png/*'],
  dest: '{{WWW}}/assets/emojione'
};

module.exports = origin;

// custom watch.config.js

let origin = require('@ionic/app-scripts/config/watch.config');

module.exports = origin;

Which @ionic/app-scripts version are you using?
0.0.47

This is a known issue. Sorry! Please install npm install @ionic/app-scripts@nightly and it's fixed.
I am going to close since this is a duplicate.
Thanks,
Dan


[Design proposal] Xml support proposal

Adding here so I can get syntax highlighting for review

All changed packages have been documented.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/2982/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/2982/


Apply support for large PROPFINDS to 3.2.

Takes Petr's changes from the <IP_ADDRESS> tag on this fork and (from this PR - https://github.com/sabre-io/dav/pull/898 - which wasn't accepted) and applies them to the 3.2 branch.
I originally tried to apply this to the most recent tag of 3.2 (3.2.2), but it had many test failures which required the most recent commits from the 3.2 working branch.
Also applied a couple of unit test fixes.
This depends on bigcommerce-labs/sabre-http#2.

Depends on https://github.com/bigcommerce-labs/sabre-http/pull/2
I can't get travis/composer/github to play well with a custom repository due to API limits.
Ran the tests locally.
ray.ward@syd-mbp-ward1:/Projects/sabre-dav (3.2-bc)$ bin/phpunit --configuration tests/phpunit.xml.dist tests/
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.

.............................................................   61 / 1584 (  3%)
.............................................................  122 / 1584 (  7%)
.............................................................  183 / 1584 ( 11%)
.............................................................  244 / 1584 ( 15%)
.............................................................  305 / 1584 ( 19%)
.............................................................  366 / 1584 ( 23%)
.............................................................  427 / 1584 ( 26%)
.............................................................  488 / 1584 ( 30%)
.............................................................  549 / 1584 ( 34%)
.............................................................  610 / 1584 ( 38%)
.............................................................  671 / 1584 ( 42%)
.............................................................  732 / 1584 ( 46%)
.............................................................  793 / 1584 ( 50%)
.............................................................  854 / 1584 ( 53%)
.............................................................  915 / 1584 ( 57%)
.............................................................  976 / 1584 ( 61%)
............................................................. 1037 / 1584 ( 65%)
............................................................. 1098 / 1584 ( 69%)
............................................................. 1159 / 1584 ( 73%)
............................................................. 1220 / 1584 ( 77%)
............................................................. 1281 / 1584 ( 80%)
............................................................. 1342 / 1584 ( 84%)
............................................................. 1403 / 1584 ( 88%)
............................................................. 1464 / 1584 ( 92%)
............................................................. 1525 / 1584 ( 96%)
...........................................................   1584 / 1584 (100%)

Time: 16.88 seconds, Memory: 56.00MB

OK (1584 tests, 3288 assertions)

ping @philipmuir @gwilym

I wonder if
Failed to clone the git@github.com:bigcommerce-labs/sabre-http.git repository, try running in interactive mode so that you can enter your GitHub credentials

is having issues because Composer isn't using the Travis credentials. to clone the repo. We can't add the creds to the Travis build since this is a fork of a public repo.
Is there a way to tell composer where to source git creds from?


Validate payload location

Goal
The goal of this PR is to create an extrinsic dedicated to offchain storage so users do not store large payloads onchain.
Closes #189
Discussion
This PR introduces a new extrinsic, add_offchain that includes an IPFS content address and payload length as parameters. The existence of this extrinsic makes it less likely for a user to mistaken store large payloads onchain.
Checklist

[x] Chain spec updated
[x] Tests added
[x] Benchmarks added
[x] Weights updated

looking just a couple comments.


Follow references through files. Make nested refs work

With this change it is possible to dereference a pointer that points to another file. So if file A has a pointer to another pointer in file B it works as expected.

Looks good.

I am currently not sure what the next step is to get this done. I have to admit that I did not invest much time into this. Can you help me make this work?

@ahx Sorry for late reply.
I'll think recursive loop issue later and merge this PR.
Thank you for your PR!!

0.1.7 released!
https://rubygems.org/gems/json_refs/versions/0.1.7

@tzmfreedom Thank you.


Update stream-analytics-documentdb-output.md

Complete paragraph "Cosmos DB settings for JSON output" to include the requirement of including the partition key in the output record (case sensitive), and potentially use PARTITION BY as well.

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

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

@mamccrea - I adjusted the submission per your feedback. Is the pull request ready for merge? Thank you

@GitHubber17 - yes please! #sign-off
thanks!


Version 2

After 3 years without updates, there's a little bit of cleanup to do to integrate properly with PyUp (to automate dependency handling and make sure tests are inclusive of the latest version of Python-Markdown).
While the actual code in this branch doesn't change, this branch is a new version under Semantic Versioning because I am dropping support for Python 2.6, Python 3.2, and Python-Markdown 2.4.
The goal is to improve the repository, testing infrastructure, and documentation.

Coverage remained the same at 100.0% when pulling 4cc29206a5862250ea8a4bb0bfb259f6aae130af on version-2 into 0f0d0613496a1e1173774a67507931db96b80263 on development.


Update dropwizard-core, dropwizard-forms, ... to 2.0.27

Updates

io.dropwizard:dropwizard-core
io.dropwizard:dropwizard-forms
io.dropwizard:dropwizard-testing

from 1.3.29 to 2.0.27.
GitHub Release Notes - Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.dropwizard" } ]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #1353.


Event Driven Design

Event Driven

Resource

[ ] https://martinfowler.com/articles/201701-event-driven.html
[ ] https://trello.com/c/SWtwtUNV/856-event-driven
[ ] https://www.confluent.io/designing-event-driven-systems
[ ] https://blog.bernd-ruecker.com/how-to-tame-event-driven-microservices-5b30a6b98f86
[ ] https://developer.confluent.io/podcast/event-driven-architecture-common-mistakes-and-valuable-lessons-ft-simon-aubury - Podcast

Event Driven Architecture

[ ] https://www.infoq.com/presentations/event-driven-arch-spring
[ ] https://www.infoq.com/articles/whats-the-next-step-for-data-management

Event Sourcing
Although Event Sourcing has been around for many years, it remains outside the mainstream paradigm of software development. But it is an approach to building software with a long track record of success. With Event Sourcing, we place the highest value on the simple capture of essential business events without attempting to interpret them. By placing business concepts at the heart of our code, we can decouple systems into small services that can be quickly built, changed, and replaced. The resulting systems have single responsibilities and are decoupled from each other, which makes them simple to modify. Event Sourcing can enable us to move faster by supporting rapid experimentation with new perspectives, new user interactions, and new insights into our business.

[ ] https://thenewstack.io/thanks-for-the-memories-the-power-of-event-sourcing
[ ] https://axoniq.io/resources/event-sourcing
[ ] https://saturn2017.sched.com/event/9kcg/an-in-depth-look-at-event-sourcing-with-command-query-responsibility-segregation

Event-Driven
The microservice architecture style is for creating (backend) services that are typically activated using one of these three general types of connectors:
HTTP call (to a REST service)
RPC-like call using a platform-specific component technology, such as gRPC or GraphQL
An asynchronous message that goes through a queue in a message broker
The first two are typically synchronous, HTTP calls being the most common alternative. Often, services need to call others forming a service composition, and many times the interaction in a service composition is synchronous. If instead, we create (or adapt) the participating services to connect and receive messages from a queue/topic, we’ll be creating an event-driven architecture. (One can debate the difference between message-driven and event-driven, but we’ll use the terms interchangeably to represent asynchronous communication over the network using a queue/topic provided by a message broker product, such as Apache Kafka, RabbitMQ, and Amazon SNS.)
An important benefit of an event-driven architecture is improved scalability and throughput. This benefit stems from the fact that message senders are not blocked waiting for a response, and the same message/event can be consumed in parallel by multiple receivers in a publish-subscribe fashion.
Event-driven microservice
The letter E in IDEALS is to remind us to strive for modeling event-driven microservices because they are more likely to meet the scalability and performance requirements of today’s software solutions. This kind of design also promotes loose-coupling since message senders and receivers -- the microservices -- are independent and don’t know about each other. Reliability is also improved because the design can cope with temporary outages of microservices, which later can catch up with processing the messages that got queued up.
But event-driven microservices, also known as reactive microservices, can present challenges. Processing is activated asynchronously and happens in parallel, possibly requiring synchronization points and correlation identifiers. The design needs to account for faults and lost messages -- correction events, and mechanisms for undoing data changes such as the Saga pattern are often necessary. And for user-facing transactions carried over by an event-driven architecture, the user experience should be carefully conceived to keep the end-user informed of progress and mishaps.
Availability over Consistency
The CAP theorem essentially gives you two options: availability XOR consistency. We see an enormous effort in the industry to provide mechanisms that enable you to choose availability, ergo embrace eventual consistency. The reason is simple: today’s end users will not put up with a lack of availability. Imagine a web store during Black Friday. If we enforced strong consistency between stock quantity shown when browsing products and the actual stock updated upon purchases, there would be significant overhead for data changes. If any service that updates stock were temporarily unreachable, the catalog could not show stock information and checkout would be out of service! If instead, we choose availability (accepting the risk of occasional inconsistencies), users can make purchases based on stock data that might be slightly out-of-date. One in a few hundred or thousand transactions may end up with an unlucky user later getting an email apologizing for a cancelled purchase due to incorrect stock information at checkout time. Yet, from the user (and the business) perspective, this scenario is better than having the system unavailable or super slow to all users because the system is trying to enforce strong consistency.
Some business operations do require strong consistency. However, as Pat Helland points out, when faced with the question of whether you want it right or you want it right now, humans usually want an answer right now rather than right.
Availability with eventual consistency
For microservices, the main strategy that enables the availability choice is data replication. Different design patterns can be employed, sometimes combined:
Service Data Replication pattern: this basic pattern is used when a microservice needs to access data that belongs to other applications (and API calls are not suitable to get the data). We create a replica of that data and make it readily available to the microservice. The solution also requires a data synchronization mechanism (e.g., ETL tool/program, publish-subscribe messaging, materialized views), which will periodically or trigger-based make the replica and master data consistent.
Command Query Responsibility Segregation (CQRS) pattern: here we separate the design and implementation of operations that change data (commands) from the ones that only read data (queries). CQRS typically builds on Service Data Replication for the queries for improved performance and autonomy.
Event Sourcing pattern: instead of storing the current state of an object in the database, we store the sequence of append-only, immutable events that affected that object. Current state is obtained by replaying events, and we do so to provide a "query view" of the data. Thus, Event Sourcing typically builds upon a CQRS design.

A CQRS design we often use at my workplace is shown in the figure next. HTTP requests that can change data are processed by a REST service that operates on a centralized Oracle database (this service uses the Database per Microservice pattern nonetheless). The read-only HTTP requests go to a different backend service, which reads the data from an Elasticsearch text-based data store. A Spring Batch Kubernetes cron job is executed periodically to update the Elasticsearch store based on data changes executed on the Oracle DB. This setup uses eventual consistency between the two data stores. The query service is available even if the Oracle DB or the cron job is inoperative.

https://www.infoq.com/articles/microservices-design-ideals


Revert "add xtend to address book to prevent state overwrite on extension update"

Reverts MetaMask/gaba#105

Codecov Report

Merging #109 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #109   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          21     21
  Lines        1422   1424    +2
  Branches      182    182
=====================================
+ Hits         1422   1424    +2

Impacted Files
Coverage Δ

src/user/AddressBookController.ts
100% <100%> (ø)
: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 480822e...3bfde66. Read the comment docs.


[Addition] Magnesium

Checklist

[X] I've checked the latest issues to make sure that this mod hasn't already been suggested.
[X] I've checked that my mod suggestion hasn't already been added to one of the lists.

What is your mod's name?
Magnesium
What is your mod's main version?
1.18.X (Forge)
Input a link to your suggested mod. Make sure it isn't hosted on a site listed on StopModReposts.
https://www.curseforge.com/minecraft/mc-mods/sodium-reforged
What is your reasoning for including this mod?
It was already listed for 1.16, but Magnesium is also updated to 1.18 and in the same state as Sodium's latest alpha. Please list it with forge 1.18 performance mods.
(OPTIONAL) Give some extra information about the mod.
Forge port of Sodium/

added, thanks !


Comparison method violates its general contract! error across many Android tests.

(part of https://github.com/flutter/flutter/issues/97036)
Two flakes in recent 100 commits:
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows build_tests_2_3/4557/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows build_tests_2_3/4552/overview
 > Configure project :
[        ] Evaluating root project 'android' using build file 'C:\b\s\w\ir\x\w\flutter\examples\hello_world\android\build.gradle'.
[        ] Loaded lock state for configuration ':classpath'
[+1604 ms] > Configure project :app
[        ] Evaluating project ':app' using build file 'C:\b\s\w\ir\x\w\flutter\examples\hello_world\android\app\build.gradle'.
[        ] Creating configuration androidTestUtil
[   +1 ms] FAILURE: Build failed with an exception.
[   +2 ms] * Where:
[        ] Script 'C:\b\s\w\ir\x\w\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 293
[        ] * What went wrong:
[        ] A problem occurred evaluating script.
[        ] > Failed to apply plugin class 'FlutterPlugin'.
[        ]    > Comparison method violates its general contract!
[        ] * Try:
[        ] Run with --debug option to get more log output. Run with --scan to get full insights.
[        ] * Exception is:
[        ] org.gradle.api.GradleScriptException: A problem occurred evaluating script.
[        ] 	at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:93)
[        ] 	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.lambda$apply$0(DefaultScriptPluginFactory.java:133)
[        ] 	at org.gradle.configuration.DefaultScriptTarget.addConfiguration(DefaultScriptTarget.java:74)
[        ] 	at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:136)
[        ] 	at org.gradle.configuration.BuildOperationScriptPlugin$1.run(BuildOperationScriptPlugin.java:65)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:75)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$3.execute(DefaultBuildOperationRunner.java:68)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:153)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:68)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:56)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.lambda$run$1(DefaultBuildOperationExecutor.java:71)
[        ] 	at org.gradle.internal.operations.UnmanagedBuildOperationWrapper.runWithUnmanagedSupport(UnmanagedBuildOperationWrapper.java:45)
[        ] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:71)
[        ] 	at org.gradle.configuration.BuildOperationScriptPlugin.lambda$apply$0(BuildOperationScriptPlugin.java:62)
[        ] 	at org.gradle.configuration.internal.DefaultUserCodeApplicationContext.apply(DefaultUserCodeApplicationContext.java:43)
[        ] 	at org.gradle.configuration.BuildOperationScriptPlugin.apply(BuildOperationScriptPlugin.java:62)
[        ] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyScript(DefaultObjectConfigurationAction.java:149)
[        ] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$000(DefaultObjectConfigurationAction.java:42)
[        ] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$1.run(DefaultObjectConfigurationAction.java:75)
[        ] 	at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:183)
[        ] 	at org.gradle.api.internal.project.AbstractPluginAware.apply(AbstractPluginAware.java:49)
[        ] 	at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.java:37)
[        ] 	at org.gradle.api.Script$apply.callCurrent(Unknown Source)

@blasten In https://github.com/flutter/flutter/issues/96784, you mentioned adding code to log a stack trace. Does this help?

This issue is coming from https://github.com/flutter/flutter/blob/a9ac7fb03be1d574d726e98b90743015716de7fd/packages/flutter_tools/gradle/flutter.gradle#L293.
I asked on the Android Gradle chat to see if there's a fix for this specific issue. For now, the lowest hanging fruit is to upgrade Gradle and the Android plugin to see if that fixes this issue as well.
https://github.com/flutter/flutter/issues/102183.
cc @GaryQian

From the AGP team:

it looks like a bug in Groovy's dynamic dispatch. If you invoke the method from something statically compiled (Java or Kotlin) you should be fine (or even just use @CompileStatic if you don't want to convert)
For context, we got rid of all groovy production code in AGP many years ago for performance and correctness reasons

This has caused multiple builders to be flaky with high ratios.
3 flakes today on Windows tool_integration_tests_1_6
This also cause
1 flake on Windows build_tests_1_3
1 flake on Windows tool_integration_tests_2_6
Also considering the above referenced flaky bugs, I am bumping the priority to P1.

Sounds like the best plan we have is to apply https://github.com/flutter/flutter/issues/102183?

The tests seem to be stable over past 200 runs, with one failure. This puts it well under threshold.

I have not had the bandwidth to look at this in the past week, but will try to get to it this week.

https://github.com/flutter/flutter/issues/108020 is another issue to look for to re-enable tests after this is fixed.

To programmatically bump gradle versions, https://github.com/flutter/flutter/pull/107665 and https://github.com/flutter/flutter/pull/108146 need to land to have operational migrate tool.

Is there any way to not gate this on the migrate command? It's going to take me awhile to review those PRs.

I could run this with a local version of the command, or bump gradle versions manually. I believe Emmanuel tried to do so before, but was blocked on test failures and had to roll back. Let me find the PR.

https://github.com/flutter/flutter/pull/108197 Manually performs upgrades of gradle across a subset of projects.

https://github.com/flutter/flutter/pull/108355 relands after revert.

https://github.com/flutter/flutter/pull/108355 landed July 26 4:23 PM PDT. When the flaky bot comments next week on the particular shard bugs, we should verify if there any instances of this flake after that commit.

https://github.com/flutter/flutter/pull/108510 landed again, this time it seems to have stuck. :)
There should be other sample apps/test apps that can also be version bumped as https://github.com/flutter/flutter/pull/108510 only upgraded a subset

Another instance https://ci.chromium.org/ui/p/flutter/builders/prod/Windows build_tests_1_3/5902/overview at commit https://github.com/flutter/flutter/commit/3ce2ab91598819cc31e614debf357b1c0859f56e, merged after https://github.com/flutter/flutter/pull/108510

Still getting reports of this from the flaky bot: https://github.com/flutter/flutter/issues/108890

https://github.com/flutter/flutter/pull/109211 Updates AGP used in flutter.gradle

I saw this one in CI on my PR too.

This issue doesn't seem to have triggered the threshold for 20+ days, though when it is actively flaking, it seems to flake much more consistently. Continuing to monitor.

Reducing priority as we are no longer actively seeing this

Saw this on Engine -> Framework roll presubmits here https://ci.chromium.org/ui/p/flutter/builders/try/Windows tool_integration_tests_1_6/7443/overview

Saw this on Windows module_custom_host_app_name_test

Landed https://github.com/flutter/flutter/pull/111747 to see if it helps

https://github.com/flutter/flutter/pull/113845 Removed the map literal, waiting to observe if the flake is still present.

I  upgrade flutter to 3.3.5  and it incurred this issue.  To avoid it, I  tried to downgrade to 3.3.4  , and it worked

3.3.5 vs 3.3.4 should not have made a difference as this issue predates both those versions by quite a bit. https://github.com/flutter/flutter/pull/113845 made it into 3.3.6, could you try to see if you encounter it on 3.3.6?

Just hit this on framework post-submit https://ci.chromium.org/p/flutter/builders/prod/Windows build_tests_2_3/7564

Converting this section of the code to use the Kotlin DSL should work around the problem as well as move towards using kotlin as recommended by Android.

Gary is on vacation but when you return can you give us some guidance around what the next steps should be?
@GaryQian

@GaryQian and I believe that this has slightly improved and has taken a significant amount of time (40+ engineering hours) and he is out of ideas for the remaining windows flakes.
Our current plan is to drop the priority of this bug given the stability on linux, that if this test fails a re-run succeeds so it does not block the tree, and it is set to automatically rerun. Basically the cost to the team for continuing to make unknown progress doesnt match the value. If you disagree please let me know.

We expect that the bots will continue to escalate flakes here but there no way to disable this specific line as it is used in all android builds. Please keep attaching issues to this ticket even though we will not make any progress on this in 22q4 or 23q1. Our hope is that is magically fixed by updating the versions of gradle but have no evidence to say that will work.

Yup no problem. Will keep an eye out for future failures.


RUBY_DEBUG_OPEN=true in Procfile.dev breaks running Rails app within Docker container

Symptom

macOS Sonoma 14.1
Docker version 24.0.6, build ed223b

Recently I got stuck with an issue that any newly generated Rails 7.1.x apps with tailwindcss-rails for running within a Docker container always break when running with bin/dev:
dip dev
[+] Building 0.0s (0/0)                                                                                docker:desktop-linux
[+] Creating 2/0
 ✔ Container enno_docker-chrome-1    Running                                                                           0.0s
 ✔ Container enno_docker-postgres-1  Running                                                                           0.0s
[+] Building 0.0s (0/0)                                                                                docker:desktop-linux
03:09:52 web.1  | started with pid 8
03:09:52 css.1  | started with pid 9
03:09:53 web.1  | system temporary path is world-writable: /tmp
03:09:53 web.1  | /tmp is world-writable: /tmp
03:09:53 web.1  | system temporary path is world-writable: /tmp
03:09:53 web.1  | /tmp is world-writable: /tmp
03:09:53 web.1  | DEBUGGER: Debugger can attach via UNIX domain socket (/app/ruby-debug-sock-0/ruby-debug-UnknownUser-8)
03:09:53 web.1  | => Booting Puma
03:09:53 web.1  | => Rails 7.1.2 application starting in development
03:09:53 web.1  | => Run `bin/rails server --help` for more startup options
03:09:53 web.1  | [8] Puma starting in cluster mode...
03:09:53 web.1  | [8] * Puma version: 6.4.0 (ruby 3.2.2-p53) ("The Eagle of Durango")
03:09:53 web.1  | [8] *  Min threads: 5
03:09:53 web.1  | [8] *  Max threads: 5
03:09:53 web.1  | [8] *  Environment: development
03:09:53 web.1  | [8] *   Master PID: 8
03:09:53 web.1  | [8] *      Workers: 1
03:09:53 web.1  | [8] *     Restarts: (✔) hot (✔) phased
03:09:53 web.1  | [8] * Listening on http://<IP_ADDRESS>:3000
03:09:53 web.1  | [8] Use Ctrl-C to stop
03:09:53 web.1  | [8] ! WARNING: Detected running cluster mode with 1 worker.
03:09:53 web.1  | [8] ! Running Puma in cluster mode with a single worker is often a misconfiguration.
03:09:53 web.1  | [8] ! Consider running Puma in single-mode (workers = 0) in order to reduce memory overhead.
03:09:53 web.1  | [8] ! Set the `silence_single_worker_warning` option to silence this warning message.
03:09:53 web.1  | system temporary path is world-writable: /tmp
03:09:53 web.1  | /tmp is world-writable: /tmp
03:09:53 web.1  | DEBUGGER[bin/rails#15]: Debugger can attach via UNIX domain socket (/app/ruby-debug-sock-0/ruby-debug-UnknownUser-8)
03:09:53 web.1  | [8] - Worker 0 (PID: 15) booted in 0.0s, phase: 0
03:09:53 web.1  | #<Thread:0x0000ffff97bf3e10@DEBUGGER__::Server::reader /usr/local/bundle/gems/debug-1.8.0/lib/debug/server.rb:44 run> terminated with exception (report_on_exception is true):
03:09:53 web.1  | /usr/local/lib/ruby/3.2.0/socket.rb:1112:in `lstat': Invalid argument @ rb_file_s_lstat - /app/ruby-debug-sock-0/ruby-debug-UnknownUser-8 (Errno::EINVAL)
03:09:53 web.1  | 	from /usr/local/lib/ruby/3.2.0/socket.rb:1112:in `unix_server_socket'
03:09:53 web.1  | 	from /usr/local/lib/ruby/3.2.0/socket.rb:1167:in `unix_server_loop'
03:09:53 web.1  | 	from /usr/local/bundle/gems/debug-1.8.0/lib/debug/server.rb:500:in `accept'
03:09:53 web.1  | 	from /usr/local/bundle/gems/debug-1.8.0/lib/debug/server.rb:49:in `block in activate'
03:09:53 web.1  | #<Thread:0x0000ffff97bf3460@DEBUGGER__::SESSION@server /usr/local/bundle/gems/debug-1.8.0/lib/debug/session.rb:179 aborting> terminated with exception (report_on_exception is true):
03:09:53 web.1  | /usr/local/lib/ruby/3.2.0/socket.rb:1112:in `lstat': Invalid argument @ rb_file_s_lstat - /app/ruby-debug-sock-0/ruby-debug-UnknownUser-8 (Errno::EINVAL)
03:09:53 web.1  | 	from /usr/local/lib/ruby/3.2.0/socket.rb:1112:in `unix_server_socket'
03:09:53 web.1  | 	from /usr/local/lib/ruby/3.2.0/socket.rb:1167:in `unix_server_loop'
03:09:53 web.1  | 	from /usr/local/bundle/gems/debug-1.8.0/lib/debug/server.rb:500:in `accept'
03:09:53 web.1  | 	from /usr/local/bundle/gems/debug-1.8.0/lib/debug/server.rb:49:in `block in activate'
03:09:53 web.1  | /usr/local/lib/ruby/3.2.0/socket.rb:1112:in `lstat': Invalid argument @ rb_file_s_lstat - /app/ruby-debug-sock-0/ruby-debug-UnknownUser-8 (Errno::EINVAL)
# (repeats indefinitely)

The error Invalid argument @ rb_file_s_lstat - /app/ruby-debug-sock-0/ruby-debug-UnknownUser-8 (Errno::EINVAL) loops indefinitely and creates the following redundant directory ruby-debug-sock-0 for debugging:

Note that the issue does not occur when generating a new Rails 7.1 app with no Docker container environment.

Steps to reproduce
Docker setup is required in your environment.

first gem install dip to install dip tool: https://github.com/bibendi/dip
clone https://github.com/hachi8833/rails71_tailwindcss and move to the directory
(The attached Gemfile is generated by bundle init)
dip bundle install
dip bundle exec rails new . -c tailwind, answering 'yes' to the prompt for overwriting Gemfile
dip dev (equivalent to run bin/dev)

Expected behavior: Rails starts normally.
Actual behavior: Debugger emits the errors as above indefinitely.
Survey
I finally found that at least the recent change (adding env RUBY_DEBUG_OPEN=true) in https://github.com/rails/tailwindcss-rails/pull/281 is a trigger of the issue.
# Procfile.dev
web: env RUBY_DEBUG_OPEN=true bin/rails server -p 3000
css: bin/rails tailwindcss:watch

Workaround
We can have some workarounds such as:

Remove env RUBY_DEBUG_OPEN=true from Procfile.dev
Disable debug gem in Gemfile
Add require: false to debug gem in Gemfile

Proposition
As shown above, the added env RUBY_DEBUG_OPEN=true disturbs generating new Rails app for Docker container.
While we have some workarounds as above, I think the benefit of adding env RUBY_DEBUG_OPEN=true as a default is at least limited and perhaps an overkill. I believe that purely generated Rails app with tailwindcss-rails should run normally in Docker container, without any tweaks.

In the current situation, the reason the debug gem glitched in Docker container seems complicated and is unsure for me, but it seems that https://github.com/ruby/debug/issues/982 might be relevant with it.
I think the issue should be resolved first before adding env RUBY_DEBUG_OPEN=true to Procfile.dev. At least the ruby-debug-sock-0 directory should be created under app/tmp dir.

So I hope  you'd remove env RUBY_DEBUG_OPEN=true from Procfile.dev until the issue of debug gem and Docker is resolved. I guess just adding a description to activate env RUBY_DEBUG_OPEN=true on README so that users can manually activate remote debugging is sufficient for a while.
cc @duduribeiro
Update: st0012 kindly mentioned that the relevant issue https://github.com/ruby/debug/issues/797

@elia This seems like it would impact jsbundling-rails and cssbundling-rails as well. What do you think we should do?

@flavorjones I tried a few options, looks like adding RUBY_DEBUG_LAZY=true as an export in bin/dev or as an env in Procfile.dev also fixes the issue, at least until a debugger session is started.
That to me looks like the easiest for both worlds, fixing the happy path.
I'm not sure how to fix the tmpdir permission issue in the docker environment or if exposing a port could be enough, but once someone figures out the issue I guess the solution could be built into the default.

@flavorjones @hachi8833
I just opened https://github.com/rails/tailwindcss-rails/pull/292, please let me know if anyone wants to help porting it to other bundling repos, otherwise I'll do it once it's merged.

I've merged #292. Will cut a release shortly! :heart:


Tensorflow_lite Android Demo compiled failed on Windows

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
I download the tensorflow , use the git clone today.
And when i open the android studio, and open the tensorflow_lite demo(contrib/lite/java/demo).
some errors occur.
Source code / logs
some errors occured on my android studio console:  Error:Could not find tensorflow-lite.jar (org.tensorflow:tensorflow-lite:0.1.8-rc1).
Searched in the following locations:
https://jcenter.bintray.com/org/tensorflow/tensorflow-lite/0.1.8-rc1/tensorflow-lite-0.1.8-rc1.jar
Consult IDE log for more details (Help | Show Log)

I have same error.... it worked well few days ago...weird!

+1

Same. Please fix this

the same to me

@sokunmin, do you have insight in what that does? Should we do this for all platforms and not just on Windows?

Hi @1icas, could you try again? Sorry that we had a bad push last Friday (mismatched artifact name) and this error was expected. But we immediately fixed the repo during the weekend.

@aselle I used it on Mac OS X, and encountered the same problem. I was happened to find .aar in https://jcenter.bintray.com/org/tensorflow/tensorflow-lite/0.1.7/, and it worked for me since I changed to aar. Yes, it should work for all platforms.
@isaisachen I tried and it's still not working.
Thanks.

@sokunmin Did you try on Mac for the first time today or you tried last Friday as well?
The demo app configured below
compile 'org.tensorflow:tensorflow-lite:+'
1st step Android Studio does is downloading
https://google.bintray.com/tensorflow/org/tensorflow/tensorflow-lite/maven-metadata.xml
which tells you what's the latest version.
And we once had a broken 0.1.8-rc1 published.
If you don't clear the project / gradle local cache, it will stick with 0.1.8-rc1 without re-consulting maven-metadata.xml (which is fixed now w/ all 0.1.8-rc* removed).
You can try deleting ~/.gradle/caches on Mac OS and clean / rebuild your Android project.

@isaisachen Hey, it works like a charm now since I deleted the caches folder using org.tensorflow:tensorflow-lite:+. I did try today and last week. Thanks for your great help!

I'm very sorry reply so late. I solve this problem use another method. I download the tensorflow-lite.aar and add this aar to this demo.

Sovled

I'm very sorry reply so late. I solve this problem use another method. I download the tensorflow-lite.aar and add this aar to this demo(also need modified the build.gradle).

@1icas I have the same problem, the other solutions proposed above don't work for me.
What line did you edit in the build.gradle? and after downloading the tensorflow-lite.aar, where did you add it in the project?

@sokunmin Did you try on Mac for the first time today or you tried last Friday as well?
The demo app configured below
compile 'org.tensorflow:tensorflow-lite:+'
1st step Android Studio does is downloading
https://google.bintray.com/tensorflow/org/tensorflow/tensorflow-lite/maven-metadata.xml
which tells you what's the latest version.
And we once had a broken 0.1.8-rc1 published.
If you don't clear the project / gradle local cache, it will stick with 0.1.8-rc1 without re-consulting maven-metadata.xml (which is fixed now w/ all 0.1.8-rc* removed).
You can try deleting ~/.gradle/caches on Mac OS and clean / rebuild your Android project.

I am wondering where should I palce the new xml file ?


Problem with LumiaAnalyzerDefinition

Hello Mr. Maitre,
i have an Problem with the LumiaAnalyzerDefinition class.
await capture.AddEffectAsync(MediaStreamType.VideoPreview, definition.ActivatableClassId, definition.Properties);
My App can't find any definition for "ActivatableClassId" and "Properties".
In my Package.appxmanifest is the binding for the VideoEffects:
 <Extension Category="windows.activatableClass.inProcessServer">        <InProcessServer>           <Path>VideoEffects.WindowsPhone.dll</Path>           <ActivatableClass ActivatableClassId="VideoEffects.CanvasEffect" ThreadingModel="both"/>           <ActivatableClass ActivatableClassId="VideoEffects.LumiaEffect" ThreadingModel="both"/>           <ActivatableClass ActivatableClassId="VideoEffects.LumiaAnalyzer" ThreadingModel="both"/>           <ActivatableClass ActivatableClassId="VideoEffects.ShaderEffectBgrx8" ThreadingModel="both"/>           <ActivatableClass ActivatableClassId="VideoEffects.ShaderEffectNv12" ThreadingModel="both"/>           <ActivatableClass ActivatableClassId="VideoEffects.SquareEffect" ThreadingModel="both"/>        </InProcessServer>     </Extension>   </Extensions>
Do you know where the problem is?
Best regards from germany
Peter

Could you be building a Win10 app by any chance? I haven't ported the NuGet to Win10 (Win10 offers similar functionalities built-in). Otherwise, would you have more details about what you mean by 'any definition for "Properties"'? What kind of errors do you get (build error log, exception callstack, etc.)?

No Way to build it in a W10 App, because we have just W8.1 Phones here :)
Error Code is CS1061: I'll try to translate the text in english :)
" LumiaAnalyzerDefinition " contains no definition for " ActivatableClassId " , and it was not found  ActivatableClassId extension method that takes a first argument of type ' LumiaAnalyzerDefinition " (are you missing a using directive or an assembly reference ) .
The same Text by "Properties".
But  var definition = new LumiaAnalyzerDefinition(ColorMode.Yuv420Sp, 640, AnalyzeBitmap); works, so it knows the LumiaanalyzerDefinition, or not?

Strange indeed. If you F12 on it or use Object Browser, does it show the class derive from Windows.Media.Effects.IVideoEffectDefinition? That interface is missing in Win81 so I added an extra definition there, but that should not impact WP81 (unless somehow wrong DLLs are getting picked up).
public ref class LumiaAnalyzerDefinition sealed

#if WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP
: public Windows::Media::Effects::IVideoEffectDefinition
#else
: public VideoEffects::IVideoEffectDefinition
#endif

I'm new in VS and Windows programming, so i don't understand your example right.
Shell I copy the code into:
`internal  class LumiaAnalyzerDefinition
{
    private Action<Bitmap, TimeSpan> analyzeBitmap;
    private Action<Bitmap, TimeSpan> analyzeBitmap1;
    private int v;
    private object yuv420Sp;

    public LumiaAnalyzerDefinition(ColorMode yuv420Sp, int v, Action<Bitmap, TimeSpan> analyzeBitmap1)
    {
        this.yuv420Sp = yuv420Sp;
        this.v = v;
        this.analyzeBitmap1 = analyzeBitmap1;
    }

    public LumiaAnalyzerDefinition(object yuv420Sp, int v, Action<Bitmap, TimeSpan> analyzeBitmap)
    {
        this.yuv420Sp = yuv420Sp;
        this.v = v;
        this.analyzeBitmap = analyzeBitmap;
    }

}`

?

Did you implement LumiaAnalyzerDefinition in your code? It should come from the DLLs in the NuGet package.

Hallo,
without implementating the DLL
var definition = new LumiaAnalyzerDefinition(ColorMode.Yuv420Sp, 640, AnalyzeBitmap);  won't work?
 I'm create my own LumiaAnalyzerClass.
Big thanks to you :)

Is there any way to run the VideoEffects on W10 UniversalApp?
Installed is LumiaImagingSDK.UWP and win2d.uwp/win2d.win81.

In W10 IBasicVideoEffect makes VideoEffects mostly obsolete.Otherwise copying the VS project into your solution might work.


Create feature to remove labels by their value

Description
In pipelines, it would be useful to bring labels from other contrast (e.g. from t1 to dmri) and remove them selectively (e.g., 2,3,5,6 to keep only 4). Another useful feature would be to select the label to keep.
The implementation could be:

sct_label_utils -i LABELS -remove-value 2,3,6,7
sct_label_utils -i LABELS -keep-value 4,5

Duplicate of #2247, which was addressed by #2283.


HIGH: [UX Reliability] Search isn't finding a room even though mention auto-complete can

Discussed here: https://expensify.slack.com/archives/C049HHMV9SM/p1714340401882359
Applause: Please replace this with the full bug report
If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.67-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1714340401882359
Action Performed:
Precondition: User is a member in public room #new-expensify-feedback created in the workspace Expensify chat

Go to staging.new.expensify.com and login
Click the chat finder and search for #new-expensify-feedback

Expected Result:
#new-expensify-feedback displayed in search result
Actual Result:
No search result displayed
NOTE : As a admin of the policy Expensify chatin which #new-expensify-feedback created could not find it by searching. but able to find the same in #mention it in the private room
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

Can't reproduce anymore; will reopen when I can.


add py3 compatibility to pyethapp

Make pyethapp work both on py2/py3.

In Python3, if we restart the daemon, the type of network_id in the DB is Python2 str so it raises an exception.
Traceback (most recent call last):
  File "/usr/local/bin/pyethapp", line 11, in <module>
    load_entry_point('pyethapp==1.5.0', 'console_scripts', 'pyethapp')()
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click-6.7-py3.6.egg/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pyethapp-1.5.0-py3.6.egg/pyethapp/app.py", line 232, in run
    service.register_with_app(app)
  File "/usr/local/lib/python3.6/site-packages/devp2p-0.9.2-py3.6.egg/devp2p/service.py", line 47, in register_with_app
    s = klass(app)
  File "/usr/local/lib/python3.6/site-packages/pyethapp-1.5.0-py3.6.egg/pyethapp/eth_service.py", line 150, in __init__
    self.config['data_dir'], db_network_id, sce['network_id']
RuntimeError: The database in '/root/.config/pyethapp' was initialized with network id bytearray(b'1') and can not be used when connecting to network id 1. Please choose a different data directory.

I think we can use ethereum.utils.to_string to fix it.
--- a/pyethapp/eth_service.py
+++ b/pyethapp/eth_service.py
@@ -34,7 +34,10 @@ from ethereum.slogging import get_logger
 from ethereum.exceptions import InvalidTransaction, InvalidNonce, \
     InsufficientBalance, InsufficientStartGas, VerificationFailed
 from ethereum.transactions import Transaction
-from ethereum.utils import encode_hex
+from ethereum.utils import (
+    encode_hex,
+    to_string,
+)

 from .synchronizer import Synchronizer
 from . import eth_protocol
@@ -142,8 +145,8 @@ class ChainService(WiredService):
             self.db.put("I am not pruning", "1")

         if 'network_id' in self.db:
-            db_network_id = self.db.get('network_id')
-            if db_network_id != str(sce['network_id']):
+            db_network_id = self.db.get(b'network_id')
+            if db_network_id != to_string(sce['network_id']):
                 raise RuntimeError(
                     "The database in '{}' was initialized with network id {} and can not be used "
                     "when connecting to network id {}. Please choose a different data directory.".format(
@@ -152,7 +155,7 @@ class ChainService(WiredService):
                 )

         else:
-            self.db.put('network_id', str(sce['network_id']))
+            self.db.put(b'network_id', to_string(sce['network_id']))
             self.db.commit()


Which version of kuberenetes will have this project included?

Hi,
We have the Kubernetes running on AWS EKS infrastructure and the version is 1.12. we got in to situation where we had to add a new worker node to our existing cluster, but after adding the node the load ( i mean pods) are not getting distributed in an automated fashion to this newly added node until I re-create the pods. So I have been searching for the automated mechanism which can distribute the running pods across the nodes and I came across this project but I see this is still in incubator state so I cannot use this on my AWS EKS infrastructure until it is released, so my questions are:

When is this project set to release? and in which version can we expect this?
Until it is released, is there any alternative way we could achieve this, pods distribution to the new nodes?(cluster version is 1.12)

Any inputs are very much appreciated. Thank you.

Descheduler is an add-on for kubernetes, so there is no plan to add it to core kubernetes project. See the README file that tells how to deploy it with k8s clusters.

Thank you @aveshagarwal for the response.
But my cluster is running on AWS EKS and the master nodes are managed by AWS. so in this scenario can i use these add-on or Do i have to put request to AWS to add these to master?


Fix race condition of lzma import when using threads

Fix a race condition of the import lzma that occurs when this is executed inside threads. Refer to similar issue in the python tar library Python issue 39430: tarfile.open(mode="r") race condition when importing lzma.
This fixes #353.

Thank you!


AppWindow.TitleBar returns null on Windows 10, version 2004

Describe the bug
Microsoft.UI.Windowing.AppWindow.TitleBar is null on some versions of Windows 10.
Steps to reproduce the bug

Install the Windows App SDK 1.0 Preview 2 extension for Visual Studio 2022.
Create a Blank App, Packaged with WAP (WinUI 3 in Desktop) project.
Modify MainWindow's constructor to get the AppWindow and its TitleBar.
Deploy and run.

using Microsoft.UI;
using Microsoft.UI.Windowing;
using Microsoft.UI.Xaml;
using WinRT.Interop;

namespace SampleApp
{
    public sealed partial class MainWindow : Window
    {
        public MainWindow()
        {
            this.InitializeComponent();

            AppWindow appWindow = this.GetAppWindowForCurrentWindow();
            appWindow.TitleBar.ExtendsContentIntoTitleBar = true;
        }

        private AppWindow GetAppWindowForCurrentWindow()
        {
            IntPtr hWnd = WindowNative.GetWindowHandle(window);
            WindowId myWndId = Win32Interop.GetWindowIdFromWindow(hWnd);
            return AppWindow.GetFromWindowId(myWndId);
        }
   }
}

Expected behavior
AppWindow.TitleBar is not null.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.0 Preview 2: 1.0.0-preview2
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
May 2020 Update (19041)
Additional context
No response

https://docs.microsoft.com/en-us/windows/apps/windows-app-sdk/preview-channel

https://github.com/MicrosoftDocs/windows-uwp/pull/3404

Window title bar customization works only on Windows 11. Use the IsCustomizationSupported method to check for title bar customization feature support. We intend to bring this functionality down-level.

Any update on when title bar customization will be supported on Windows 10?

@pratikone Do we have any new updates on this?

@ojhad  this is about appwindow titlebar. WinUI custom titlebar is already supported in Windows 10.


Key Management Service

@OR13 In the key management service diagram, would you mind adding the some features to it

Key alias (tag): This will help the holder or admin in enterprise to organise/search the key easily
Key type: sign | encryption | authentication
Master key: The master key will be used to generate or encrypt other keys that are in turn used to encrypt the actual data the users want to protect.

https://github.com/openwallet-foundation/architecture-task-force/pull/27
^ added tagging / description.


yarn run mirrorful didn't work in monorepo

Log:
yarn run v1.22.18
$ /Users/shyamswaroop/projects/cruxcode/atrilabs-engine/node_modules/.bin/mirrorful
Running Mirrorful version: 2.0.5
Starting Mirrorful in /Users/shyamswaroop/projects/cruxcode/atrilabs-engine/packages/example-atri-app.

Error: ENOENT: no such file or directory, chdir '/Users/shyamswaroop/projects/cruxcode/atrilabs-engine/packages/example-atri-app' -> 'node_modules/mirrorful/editor'
    at process.wrappedChdir [as chdir] (node:internal/bootstrap/switches/does_own_process_state:112:14)
    at /Users/shyamswaroop/projects/cruxcode/atrilabs-engine/node_modules/mirrorful/dist/init.js:35:21
    at Generator.next (<anonymous>)
    at fulfilled (/Users/shyamswaroop/projects/cruxcode/atrilabs-engine/node_modules/mirrorful/dist/init.js:5:58) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'chdir',
  path: '/Users/shyamswaroop/projects/cruxcode/atrilabs-engine/packages/example-atri-app',
  dest: 'node_modules/mirrorful/editor'
}

Thanks for making this issue! Fixed this in my last PR, will open up a PR against AtriLabs shortly!


STAKE_POOLS_JOIN_04 fails sporadically

Context
Failures:

src/Test/Integration/Scenario/API/Shelley/StakePools.hs:576:5:
  1) API Specifications, SHELLEY_STAKE_POOLS, STAKE_POOLS_JOIN_04 - Rewards accumulate
       uncaught exception: RequestException
       DecodeFailure "{\"code\":\"network_query_failed\",\"message\":\"Unable to query the ledger at the moment. This error has been logged. Trying again in a bit might work.\"}"

  To rerun use: --match "/API Specifications/SHELLEY_STAKE_POOLS/STAKE_POOLS_JOIN_04 - Rewards accumulate/"

Randomized with seed<PHONE_NUMBER>

Test Case

Failure / Counter-example

Resolution

QA

This seems to be an instance of https://github.com/input-output-hk/cardano-wallet/issues/2320. I saw that error recently also on some other tests.

This seems to be an instance of https://github.com/input-output-hk/cardano-wallet/issues/2320. I saw that error recently also on some other tests.

Re-classified. Closing as duplicate.

Re-classified. Closing as duplicate.


Location Details for SOS Sent to Nearest Police Station #239

Created a form for location to be filled by user .
Fixes #239
If there is any issue please let me know

okie wait let me make changes

I have done some changes please check

You also need to add this to the Django backend application.

okie wait let me do that

Can you guide me with the django part?

Can you guide me with the django part?

Have you ever worked on django before ?

No not any official task but i can try

No not any official task but i can try

@khanfarhan10 Can you please look into this ?

guide me if possible otherwise give me some HTML CSS task i will do.

I am a GSSOC participant

@khanfarhan10 Can you please look into this?


:man_farmer: Build regression CI Windows JointPositionController

Environment

OS Version: Windows
Source

Description

Expected behavior: CI builds ign-gazebo properly
Actual behavior: It's failing.

Steps to reproduce
Attempt to build Windows from source.
Reference CI Job: https://build.osrfoundation.org/job/ign_gazebo-ci-win/134/
Output

This section of the error is red:
`ign-gazebo\src\systems\joint_position_controller\JointPositionController.cc(74,5): error C2143: syntax error: missing '}' before 'constant'`

I think this one was introduced with this PR: https://github.com/ignitionrobotics/ign-gazebo/pull/1003.
Probably the defined enum variable defined ABSOLUTE is also a windows compiler keyword. See: https://stackoverflow.com/questions/8139738/visual-studio-compiler-errors-at-enum

Closed with #1033, Thanks @chapulina !


The PAWCS take too long，about 0.8 second per frame

the image origina size is 1920 x 1080,I make it risize to 320x240 (QVGA),the it about 0.8 second per frame at Intel i7 CPU,the paper said that the speed is 22 frames per second Intel i5 CPU,can you help me to enhance the processing speed?

Hi @Adwardyang ,
Thanks for reporting this issue.
Yes, 0.8 second per frame is too much for a Intel i7 CPU.
It's difficult to see what it could be, several things could increase or decrease the processing speed.
Do you have compiled the OpenCV by yourself ?

i have same problem with multicue algorithm
it take time 0.8 to 0.22 per frame
profiling cpu refer to free memories
ho shuld i fix it
opencv 4.2
win10


[shaped-scripts] spell import casting time

There is an inconsistency with the casting time field based on how spells are imported (via the script vs. imported via compendium).  For example a 1 action spell imported via the script has a casting time of "action"; the same spell from the compendium has "1 action".  It is also the case with bonus actions and reactions.
This wouldn't be a big deal except it will break the sheets ability to filter based on the action types.  I am not sure this is more of a sheet issue or an importer issue though tbh...

I think this is an issue with the data, to be honest - the value is just being pulled straight from the JSON and I see no reason for it to be different to the way it's expressed in the compendium. Rather than putting another transformer into the script I'm inclined to change the data to match the compendium and then get people to copy the data over again. I'll talk to Mark about changing it when I have some time.

Ok, this is fixed with the latest version of the data from Mark's github and the latest script. Let me know if you have any more problems


Upgrade highline dependency to the current version.

Hi there,
First of all, thanks for this awesome gem.
Is it ok if we upgrade the highline dependency to the current version or maybe to '~> 1.6.0' ? Specs run through with no failure.
Thanks for all your work!
Maik

Merged, thanks for checking this out!

Many thanks!
Do you know when you'll release a new version?
Have a great day.

I'll aim for releasing a new version within the next week - going to look at the outstanding issues and see if there's anything else I can work into the next release.


How do I "enabled in a read only capacity"?

I want to be able to view user sessions for debugging purposes. I am attempting to follow the setup instructions for the History tab located here. I am not clear how I enable glimpse in a read only capacity, and my google-fu is failing me. Can someone point me in the right direction?

Hi @NotMyself , I answered your SO question so that I might be easier to find for others searching for similar things. I hope it is what you were asking for

@CGijbels exactly what I was looking for, thanks. I added your response to the wiki page that caused the confusion for me. Hopefully it will help others.


Add unit tests for utils package

Add missing tests from the utils package.

Codecov Report
Base: 25.64% // Head: 26.25% // Increases project coverage by +0.60% :tada:

Coverage data is based on head (c2f9903) compared to base (3718deb).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #247      +/-   ##
==========================================
+ Coverage   25.64%   26.25%   +0.60%
==========================================
  Files          45       45
  Lines        2476     2476
==========================================
+ Hits          635      650      +15
+ Misses       1752     1738      -14
+ Partials       89       88       -1

Impacted Files
Coverage Δ

pkg/util/util.go
35.82% <0.00%> (+22.38%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add filters in DID search

This PR addresses issue https://github.com/rucio/jupyterlab-extension/issues/36.

There's a problem with the latest version of jupyterlab==4.3.3. See: https://github.com/ftorradeflot/rucio-jupyterlab/actions/runs/12359038185/job/34490892597
It doesn't happen with 4.3.2 and it doesn't seem to be related to the rucio jupyterlab extension

I managed to fix the CI/CD in a dedicated branch. I created a PR to your branch @GeorgySk . Can you take a look? Once this is fixed I will merge into the official branch and release it.

@ftorradeflot Done!


Dropdown Menu Component must be without React.StrictMode?

[x] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Browser: chrome102.0.5005.63

Extra info
If within React.StrictMode, there is an error:

And , can't trigger the droplist

React Version is 18

And , can't trigger the droplist

在 2.38.0  修复


elements-angular: New Angular Version 12 not compatible

Describe the bug
Angular has recently released a new major version. This new version does not work with our current elements-angular package built with Angular V11.
The following error occurs for each icon when you try to launch the Angular V12 application:
./node_modules/@inovex.de/elements/dist/inovex-elements/ino-icon/web.svg:1:0 - Error: Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <!-- Generated by IcoMoon.io -->
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
| <title>web</title>

To Reproduce
Steps to reproduce the behavior:

Pull https://github.com/janivo/elements-angular-v12-error
Run yarn install
Run yarn serve
See error

Maybe this happens due to Angular's v12 webpack v5 support


Not receiving votes (likely set up issue)

Config files generated, but the server doesn't seem to pick up any votes sent off by any vote site I tried. @Obydux also had the same issue and never managed to figure out. It's likely cause we just don't know how to use the mod, but there really isn't any documentation to go off of :/

i see, even with the readme i still can't manage to make it work...


add prowler v4 parser

add prowler v4 parser

It seems that only 1 unit test in alpine and also in debian failed:
FAIL: test_delete_preview (unittests.test_rest_framework.TestsTest.test_delete_preview)
However, I don't know how my code contribution could have any effect to make this unit test fail.
Any hints on this?

@kagahd We've had issues with those tests failing somewhat randomly. Give is a day or so to look into what's up with those tests before spending more time on this PR to try to make them pass.
Thanks for the contribution and your patience as we sort out those misbehaving tests.

It seems it's not a good idea to have multiple parsers for the same scanner even though the same scanner may have different report formats (e.g. csv, json-asff, json-ocsf, etc.) wich would require different parsers.
It seems that DefectDojo is not designed to allow multiple parsers, called "tools", for the same scanner because deduplication and closing of findings that are missing in a report are bound to the "tool", hence the parser.
For example, if you import a prowler v3 report and then import a semantically identical prowler v4 report, DefectDojo would not detect any duplicates because two different parsers, "tools", were used to import both reports.
The same applies for closing findings that are missing in a report: if you import a prowler v3 report and then import an empty prowler v4 report, DefectDojo would not close any of the prowler v3 findings.
So I think the only viable solution to this problem is to implement only one parser, one "tool", for one scanner. That means that we would have only one parser, one "tool", for Prowler which must be agnostic of the different report formats that Prowler may produce or may have produced in former Prowler versions.

Dear @mtesauro, @Maffooch, @manuel-sommer & all the DefectDojo team,
I have a question regarding the implementation for only one Prowler parser for several report formats.
If there is only one Prowler scanner for all report formats, how do you define the different DEDUPLICATION_ALGORITHM_PER_PARSER? For the Prowler parsers v3 and v4 it is DEDUPE_ALGO_UNIQUE_ID_FROM_TOOL which results in unique_id_from_tool but for the Prowler parser versions before that, called AWS Prowler Scan in DefectDojo, it is DEDUPE_ALGO_HASH_CODE which results in hash_code.
How about renaming the parser AWS Prowler Scan to something like AWS Prowler legacy? The current Prowler v3 and v4 parser could be merged into only one parser,  able to parse different formats of reports, i.e. json and json-ocsf, as both use the same DEDUPLICATION_ALGORITHM_PER_PARSER. We could or should call the parser for example Prowler v3 plus, without the prefix AWS because Prowler is able to create more than just AWS reports. The suffix v3 plus indicates that it can be used from Prowler version 3.
What do you think of the idea or what would you suggest as the best solution?

Hi @kagahd,
you have multiple options:

Take a look at RustyHog https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/tools/rusty_hog/parser.py --> But here the problem is that you have only one deduplication parser available. Here the right parser is automatically detected. Try it in the GUI, it is pretty nice.
Take a look at Checkmarx Scan https://github.com/DefectDojo/django-DefectDojo/blob/master/dojo/tools/checkmarx/parser.py --> Here you have one parser with 2 deduplications available.

Thus, maybe you can:

Merge Prowler, Prowler3 and Prowler4 together to "Prowler" and use the functionalities of both RustyHog and Checkmarx Scan to resolve all problems.
For this, you would have to separate the different prowler versions into multiple files (classes), like I did in multiple PRs, e.g. https://github.com/DefectDojo/django-DefectDojo/pull/9922/files (I separated here the json and csv part).

I close this PR in favor of PR #10372


PyRenew Demo Questions

This draft PR is an unorganized collection of questions and ideas I had working through the most recent changes to pyrenew_demo.qmd (#77).
I hope that veteran contributors will respond to my comments, and we can eventually arrive at some concrete changes to the demo that will improve the experience for newcomers.

Hey @cshelley, here is the PR I was talking about. It'd be great if you could go through the questions/points @damonbayer raised and create a new issue listing them. Thanks!

Closing in favor of https://github.com/CDCgov/multisignal-epi-inference/pull/191


Use emissary-ingress as Knative network layer and K8s Ingress & Gateway

Description
emissary-ingress can be used as Knative network layer, K8s Ingress and K8s gateway, we'll needn't to install two or more components like kourier and nginx controller for knative networking and K8s ingress/gateway
Additional context
https://gateway-api.sigs.k8s.io/implementations/
https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/

Ok, I will test it.

@lizzzcai What you're suggesting is very interesting and we can make it happen.

@wrongerror has created this proposal and began to write code.
@rajibmitra is also willing to work on this. so @wrongerror if you have any subtask for this, don't hesitate to create an issue and assign it to @rajibmitra


ci(appveyor): Switch off node modules cache

@okonet This was a rather trivial change and a lot of issues from greenkeeper are stemming from this. So I tried to push this commit to master:
λ git push origin master
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 319 bytes | 159.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: 3 of 3 required status checks are expected. At least one approved review is required by reviewers with write access.
To https://github.com/okonet/lint-staged
 ! [remote rejected] master -> master (protected branch hook declined)
error: failed to push some refs to 'https://github.com/okonet/lint-staged'

Is this really necessary? I can assure you that I will not ever be pushing to master without good reason and always open a PR if I think the change merits discussion.

Yes I think so. As the project grows I would like to have some insights about what's going to be merged. And since we use semantic-release to publish, this is crucial that we perceive master as the production.

Alright @okonet.

Also history reasons. Every PR has much more information than a plain commit.

Also collaboration. There is no way for me to review commits across my projects.

While I agree to and respect your opinion, I do have a nitpick. Not every proposed change merits a discussion and review. I recognise that this is very subjective though.

It's more about the process for me. I agree not every PR worth discussing but you never know when it does. Going around will make reviews and discussions impossible


Firstflight fix

Fixes the default for firstflight and adds base yaml keys for the repository location of the site as well as the production (live version) location of the site

Should be all good to go now.


Move aap_metadata.xml from res to assets and change format

Currently we put aap_metadata.xml under res/xml because the directory looked a natural fit.
However, with the latest design thoughts on https://github.com/atsushieno/android-audio-plugin-framework/issues/32, it makes more sense to use JSON than XML, then res/xml is not a good fit.
Another problem is that NDK has no API to access Android resources that are generated by aapt2 tool. Since there is Asset access API in NDK, it would make more sense to rather put the metadata under assets.
Making this change subsequently requires further changes:

android-audio-plugin-host.cpp
aap-metadata-generator in aap-juce
aap-import-lv2-metadata

I'm reminded of changing the format to JSON because JSON has no namespaces and JSON will be much more verbose than XML.

Actually I'm reminded of moving res to assets either... at this state aap_metadata.xml is retrieved in standard <meta-data> retrieval API. It is part of package manager API which is entirely missing from NDK at this state, and we depend on that Android SDK API anyways.

Reopening this with more thoughts:
(1) metadata resolution is not really an issue, we could resolve aap_metadata.xml via assets by rewriting
val xp = serviceInfo.loadXmlMetaData(context.packageManager, AAP_METADATA_NAME_PLUGINS) ?: return null
with
val xpf = org.xmlpull.v1.XmlPullParserFactory.newInstance()
val xp = xpf.newPullParser()
xpsetInput(context.assets.open(metadataXmlAssetName), "utf-8")

(2) We are using tinyxml2 which does not really support XML Namespaces either. And there are only two candidate alternatives: xerces-c and libxml2. Neither of them are cosmetic enough to be embedded in libandroidaudioplugin.
(3) Namespaces in JSON... is still a headache. So far, namespace mappings can be declared in our arbitrary object format in our header-alike:
{
  "namespaces": {
     "aap": "org.androidaudioplugin",
     "pp": "org.androidaudioplugin.port-properties"
  },
  "ports": [
    {"aap:name": "Delay Level", "pp:default": 0.5}
    , ...
  ]
}

metadata resolution is not really an issue, we could resolve aap_metadata.xml via assets by rewriting

This was not really true. Hosts can retrieve meta-data from plugins, but not assets from them. And loadXmlMetaData() is the only way to retrieve content from plugin services.

Since we cannot really change the way how metadata content can be retrieved i.e. PackageItemInfo.loadXmlMedaData() is the only way, this issue has to be closed again. We will have to use more complicated XML parser at cost.


Profile API: Return missing fields

Return missing fields from Profile API.

In addition to the missing fields current_company has been changed to company
The LinkedIn Profile URL is hard to get with the scopes we have. I have requested LinkedIn for additional scope but we need to come up with an alternative if that takes longer.

Old Response
{
    "id": "0b7101c0-a246-4ed9-8dfc-acb75a5d88e8",
    "first_name": "Subhransu",
    "last_name": "Behera",
    "current_company": "SPGroup",
    "avatar_url": "https://media-exp1.licdn.com/dms/image/C4E03AQGxSP9YsUBGPQ/profile-displayphoto-shrink_800_800/0?e=1597881600&v=beta&t=GnYnoXs-O4q3TuKPI8Ov4kgzCUhtwgq22D_cC5T-Peg",
    "profiles": {
        "linkedin": "dfds"
    }
}

New Response
{
    "id": "0b7101c0-a246-4ed9-8dfc-acb75a5d88e8",
    "first_name": "Subhransu",
    "last_name": "Behera",
    "headline": "Developer",
    "company": "SPGroup",
    "website": "spdigital.io",
    "avatar_url": "https://media-exp1.licdn.com/dms/image/C4E03AQGxSP9YsUBGPQ/profile-displayphoto-shrink_800_800/0?e=1597881600&v=beta&t=GnYnoXs-O4q3TuKPI8Ov4kgzCUhtwgq22D_cC5T-Peg",
    "email"<EMAIL_ADDRESS>    "profile_type": "Recruiter",
    "profiles": {
        "linkedin": "dfds"
    }
}

@subhransu thanks for this. I still need one extra bit of data:
Job seekers have a "title" field, eg "Senior Software Engineer". Can you return this value as well? I need it for this:

So what I'm planning is:
If profile_type is recuiter, show headline at company. Eg "Talent Hunter at ABC Company"
If profile_type is talent, show title. Eg "Senior Software Engineer"

@SheldonCheng I will have to send another PR for this as currently the JobSeeker title gets added only after a new post. So to make the API changes I need to do some changes in the DB table.

@subhransu Do you mean the job_seeker table? It gets populated on POST talent/(along with the title field), so it should already be there if there is a valid seeker profile. Unless you are talking about something else.


Ability to manually resize columns by dragging separator

Use case
On the web, we often have users would ask if they could resize the columns of our DataTables like in Google Sheets.
There is a workaround using DataTable described here: https://www.technicalfeeder.com/2023/01/flutter-resize-table-column-by-dragging/
There are also packages that provide their own implementations of tables:

(commercial) https://pub.dev/packages/syncfusion_flutter_datagrid
(MIT) https://pub.dev/packages/pluto_grid

Proposal
It would be great if we could provide a callback to the DataColumn onResize which would have a signature similar to void Function(double width).
If this callback is provided, then the user would be able to resize this column by dragging the border on the right of the column. The callback would then be fired with the new width of the column so that it can be saved for when the user comes back to the page.

Related to https://github.com/flutter/flutter/issues/64768


color output & zsh+bash autocompletion

some basic colors added by default.. no flag required.. these colors will not affect the output by the securitytrails api..
colors are only added on the haktrails usage & haktrails (examples)
Thank You
:p bounty pls (this is necessary)

Zsh & bash auto completions added

Oh, that's great! Autocomplete is really handy.

Thanks :) updating the Readme now

Love it! Thanks @Albonycal !

😃


We need Docs for "How to configure for self-hosted LLM?"

[ ] Example repository showing self-hosted llm
[ ] docs page about how to run self-hosted llm
[ ] reference at "swapping out llm" docs page to this doc

Original Text from Joseph:
on Ubuntu.

Installed poetry with pipx.
Installed python3.11 with apt. Confirmed version.
Added venv and sourced it.
Cd examples/eidolon_examples.
Run poetry install.
Run poetry eidolon-server -m local_dev hello_world.
Boots up fine.
Big nasty error after sending curl command.
Server timeout. Apparently it is trying to hit OpenAPI?
Where do you even configure what LLM API it hits? (Sdk cpu llm?)
For a tool claiming no vendor lockin, it sure feels locked into OpenAI and friends.
For what’s here there should be WAY more GitHub stars.
Please provide a way to utilize a self-hosted LLM.
For example, am running llama3:70b locally on Ollama.

On new doc page, reference:

https://www.eidolonai.com/docs/howto/swap_llm
https://www.eidolonai.com/docs/howto/authenticate_llm


Null pointer exceptions in KustoResultSetTable

The primitive getXXX methods in KustoResultSetTable throw NPEs when the column value is null. This is caused by casting the nullable Object to the different primitive types without checking for nullability. For example:
@Override
public int getInt(int i)  {
    return (int) get(i);
}

@Override
public long getLong(int i)  {
    Object obj = get(i);
    if(obj instanceof Integer){
        return ((Integer)obj).longValue();
    }
    return (long) obj;
}

@Override
public float getFloat(int i)  {
    return (float) get(i); }

@Override
public double getDouble(int i)  {
    return (double) get(i);
}

CLosing, per your contributions to the code.

@yihezkel
Again, my contribution to the code has little to do with issue. The ResultSet still throws NPEs when this code is executed. My PR just works around this problem by using getObject() on everything.

My mistake. We'll take a look at this and resolve when we can fit it in.

We'll add new methods that return the object version of these primitives, and if the underlying value is null, we'll return null.

#176


[ME-77] Marks artworks as recently viewed

I checked and the existing code uses a slug, and tested that this works 👍

:rocket: PR was released in v1.18.15 :rocket:


Mathjax load from cdn makes Piggydb unusable without internet connetction

The Mathjax JS library is loaded via CDN. This makes Piggydb (6.18-supporters) unusable without a connection to the internet.
I suggest to either include Mathjax to the package or check if it is loaded before using it.
GET http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML net::ERR_INTERNET_DISCONNECTED fragment.htm:60
Uncaught ReferenceError: MathJax is not defined piggydb.widget.Fragment.js?6.18-supporters:41
Uncaught ReferenceError: MathJax is not defined piggydb.widget.Fragment.js?6.18-supporters:38

Fixed by including MathJax in the package. Will be released in v7.0


MF cell end marker

I wonder whether we also need a function term to describe the molecular function as a
"medial ring marker"
Anillin is part of the border process of ring positioning, and it acts as an adaptor to connect other ring components and signalling molecules to the cell division site. However, the adaptor annotation does not capture its function to  act as a spatial cue for these events. I  also always want to annotation the "cell end marker" tea1 to such a term. @hattrill I'll open a ticket to discuss  how to capture this activity and tag you.
Originally posted by @ValWood in https://github.com/geneontology/go-ontology/issues/25071#issuecomment-1461764069

@thomaspd  @pgaudet
Is this in scope for MF
CC @hattrill

MAybe it's. bit abstract and it probably applies to all adaptors. Closing

The activity of acting as a spatial marker is overlapping with the anchoring activity. However, it is a separate activity because the first proteins to arrive at a location are not themselves being recruited by another protein. Something (probably a membrane composition) specifies their location, and they somehow act as 'sensors' of the  mark the site for subsequent molecules, for which they then act as adaptors).
Adding this comment to the ticket for future reference in case we ever decide to add such a term.
It would apply to proteins like anillin (cytokinesis) and Tea3 (the cell end marker protein).


[Suggestion] enable dendrocoil with opencomputers

As OC is now out for 1.12.1, it would be nice to use the dendrocoil with this mod too.

It would be nice.  I'll put it on the TODO list.
Did you actually use the Dendrocoil?  Nobody has even said anything about it yet.

Yeah. atm i mainly use getSoilLife for automating a tree farm with dynamic trees.
btw should growPulse do the same as a potion of swiftness? i put growPulse in a loop, but it seems to not affect the tree. or are there parameters needed?

It should effect the tree growth as long as the rooty dirt block in on top of the Dendrocoil and a tree is planted there.  It will force an age cycle for the entire tree but it doesn't do it evenly.  Although it ages the entire tree(leaves and branches) every pulse, It will only cause a growth event approximately 1 in 8 times.  Even when the rooty dirt block is pulsed each species may react differently.  Some of the slower growing trees will ignore the growth signal more often than the faster growing ones.  But it should definitely grow the tree way faster.  I use it for rapidly growing tree models for worldgen in "growing chambers".  Try doing a side by side comparison with 2 trees (one on a coil and the other natural) and if you don't notice a difference let me know.  You might have found a bug.

ahh ok. thanks for the answer. I will compare those and write again.

OpenComputers features an adapter that should do the trick nicely.  I haven't tested it myself though.

This peripheral is going to be removed from the Dynamic Trees mod and placed into the "Magic Cracker Factory" mod.  Very few people understand what the block is for and even fewer know how to use it.  99% of the players don't use it and that's a good enough reason to remove it from the mod.


Trying to get viewer.html working in iframe

I am trying to implement PDF.js into an .  When I use a link it works fine but when I use an iFrame I get javascipt errors in compatibility.js / debugger.js / viewer.js and the document does not show.  I have the link in one line of code and the iframe in the other.  both reference the same file through the same path.  Is there anyplace or anyone that can tell me what may be going wrong (I am presuming on my side).
Configuration:
Visual Studio 2013
IE 11
PDF.js v1.3.91
Pertinent Code:
View

Thank you.

Works for me at http://output.jsbin.com/zihixufubi/ . Provide all information as requested at https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md and link to your web site.

I don't think PDF.js matters much, however mode in which IE11 runs can break iframe display.

I see.  The mode was set to 7.  Once I set it to 10 or above it works fine.  Thank you for the info :)


feat(theme customization): Add Support to extend the Theme for shared components

Description
As shared components is a benchmark of components that are used as a base in other apps as well.
Why
to be able to modify the theme styles in Portal frontend and business apps, so that we don't have to styles in the shared components and release a separate repo/ npm package repo
Issue
Link to Github issue.
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x]  I have checked it with Portal FE branch for the fallback and implementation

@oyo  the version bump and changelog is updated.


Hack The Box - Zetta | 4rt3mis

https://0x4rt3mis.github.io/hackthebox/2020/08/31/HTB-Zetta/

Teste

aaaaaa


test: fix MaintainContext spec

Summary by CodeRabbit

Bug Fixes

Improved the reliability of context and focus tests within the IDE by ensuring the correct element is targeted during interactions.

Chores

Updated the configuration for limited tests to prioritize testing for maintaining context and focus in the IDE.

/ci-test-limit

/ci-test-limit-count run_count=25

/ci-test-limit


Why do I have /data being populated when I use MySQL?

I have 1321 user files in the /data folder thats being updated every time an event happens, but I am using MySQL, so why is this data being populated?

That's data about which fish each user has caught, the mysql should store number data like competitions won and the first time a fish was caught etc, having a column for every fish x a row for each user would be a pretty big database so I opted for a flatfile version instead, where each user has a list of fish and other data stored. If you look in one of the files in the /data/ folder you'll see a list of all the fish that user has caught and more data. Eventually, there'll be a front-end for this in-game with a command like /emf fish or something (it's probably unlikely to be that since /emf admin fish is too similar)

having a column for every fish x a row for each user would be a pretty big database

You wouldnt design it like this! You make a new table so that rows are fish and one of the columns is the users ID.
Its common practise to have a table for users with ID, UUID, Username so then you can just store ID 5 for a user instaed of their entire UUID.
Using flatfiles will take up more space!
I pick MySQL for many reasons, backups, all data in a database in one place, searcahble data, queryable data, being able to make a web frontend to dispaly infomration. All of this gets 1000x harder with flatfiles that can be easily corrupted, hard to load when you have thousands of users.
To put this into context ive used this plugin a week? two weeks? and I already have 1740 flatfiles, this will not sustain over the long term. What makes it worse is if you ever do move to MySQL fully, importing these will be much harder later the more there are.

Apologies I thought I'd replied to this,
This is how I'm going to do it in the 1.6 update, thank you ever so much for your advice, it would've stayed in flatfile forever without you. x)

Super!

Oh don't worry, there'll be an /emf migrate command. I intend to start working on the re-write at some point later today.

Nope!
You already have a users table, so no need to store UUID twice! First you add a column to your Users table (Which youre going to re-name I hope!) that adds ID auto increment for each user.
So columns would be id (Auto increment and indexed), uuid, competitions_won, fish_sold
You then update your Fish2 database (again needs rename and prefix) and first_fisher and largest_fisher gets the id of the user instead of their UUID.
Now for the /data folder, you wouldn't want each column as a fish name, because new fish can be added! You would want each fish as a row.
For example you have a UUID of each user, then you have a JSON file with say
  {
    "r": "Uncommon",
    "n": "Nemo",
    "c": 35,
    "t":<PHONE_NUMBER>,
    "l": 149.7
  },
  {
    "r": "Uncommon",
    "n": "Starfish",
    "c": 19,
    "t":<PHONE_NUMBER>,
    "l": 146.2
  },

You do the same in a table, where r, n, c, t, l are all column names, im going to try and guess what these stand for.
So it would be like this;
ID, Rarity, Name, C (not sure what this is), Time, Length
Then each row would be the same as you do with JSON, but the ID is the ID of the player from the other table, and you just index the ID's in mysql so you can join them fast!
2, Uncommon, Nemo, 35,<PHONE_NUMBER>, 149.7
2, Uncommon, Nemo, 35,<PHONE_NUMBER>, 149.7
2, Uncommon, Nemo, 35,<PHONE_NUMBER>, 149.7
50, Uncommon, Nemo, 35,<PHONE_NUMBER>, 149.7
50, Uncommon, Nemo, 35,<PHONE_NUMBER>, 149.7
29, Uncommon, Nemo, 35,<PHONE_NUMBER>, 149.7

Hopefully this makes sense.
Im not sure if you want a separate competitions table to record each competition too?

Thank you ever so much for your help, I've started work on it now and it'll be available in the next spigot release :)

This has been fully implemented with the pull request on the latest commit for the master branch, set to appear in the latest v1.6 update. There won't be any way of viewing this data in-game yet though.

Fixed via #185


[BUG] Tooltip issues with defpoll

Checklist before submitting an issue

[X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
[X] I have specifically verified that this bug is not a common user error
[X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug
When using a defpoll variable in the tooltip property, the tooltip doesn't appear after hovering, and also blocks other widgets' tooltips to appear. However, when using a defvar variable, everything works fine.
Reproducing the issue
Attached is a small file containing only a couple lines of yuck, demonstrating the issue. A small bash script, which could also be the problem, is attached as well.
;; eww.yuck

(defwindow bar
  (box
    (label :text brightness :tooltip brightness
      )
    (label :text "This should have a tooltip..." :tooltip "...but it doesn't."
      )
    )
  )

;; uncomment one of these
;;
;;
;; (defpoll brightness :interval "1s"
;;                 :initial  "??"
;;   `./bar_info.sh brightness`)                            ;; bash script
;;   `cat /sys/class/backlight/intel_backlight/brightness`) ;; just some output of a command
;;
(defvar brightness 50)

#!/bin/sh
# bar_info.sh

case $1 in
	brightness)
		echo $(($(cat /sys/class/backlight/intel_backlight/brightness) * 100 / $(cat /sys/class/backlight/intel_backlight/max_brightness)))
	;;
esac

With these two files in the same directory, uncomment one of the variable definitions. For convenience, I defined two script calls that you can use (afaik there is no difference), after that you can call eww open bar --debug --config ./path/to/dir (safe to eww kill first), and you should get a bar that looks similar to the attached screenshot.

With defvar, both tooltips work normally, but with defpoll, none of them work at all.
Expected behaviour
Working tooltips with both defvar and defpoll.
Additional context
No response

I played some more with this issue, and discovered it sometimes appears and sometimes doesn't. It either takes some time after hovering, or simply hovering and unhovering a couple times fixes the issue.

It's kinda late but if you want to display defpolls you can use the custom tooltip widget and set the 1st child as a label whose text is the defpoll, this seems to work for some reason


Tool.ts steals resource path initilization

Hi,
This line from the task.ts file will steal the resource initialization.
tl.setResourcePath(path.join(__dirname, 'lib.json'));
This  is how the resource file is initialized in the task lib:
export function _setResourcePath(path: string): void {
    if (process.env['TASKLIB_INPROC_UNITS']) {
        _resourceFile = null;
        _libResourceFileLoaded = false;
        _locStringCache = {};
        _resourceCulture = 'en-US';
    }

    if (!_resourceFile) {
        _checkPath(path, 'resource file path');
        _resourceFile = path;
        _debug('set resource file to: ' + _resourceFile);

        _resourceCulture = _getVariable('system.culture') || _resourceCulture;
        var locStrs = _loadLocStrings(_resourceFile, _resourceCulture);
        for (var key in locStrs) {
            //cache loc string
            _locStringCache[key] = locStrs[key];
        }

    }
    else {
        _warning(_loc('LIB_ResourceFileAlreadySet', _resourceFile));
    }
}

As you can see the resource path can be set only once and the tool is setting very early it before the task is invoked.

Should be resolved by the pr to allow multiple resource files.


[Deploy] Ringcentral Glip

Dear Admin,
Please add the Ring Central Glip service recipe to Franz.
Repository: https://github.com/sathish804/franz-ringcentralglip
This service gives the option for the users to access the Glip Teams and chat from the Franz app.
I have tested this recipe in my local and its working great!!
Thanks and Regards,
Sathish.

That would be really nice !