cart total

needs further work to dissapear badge on views that are not the cart page

and prevent view on checkout and success page


Use SDL_IOStream for inter-process communication

Hey, this is how I envision using SDL_IOStreams for communicating with processes.

I also added a Windows backend and a small minitest (which should be expanded).
I removed SDL_PROCESS_ERRORS_TO_STDERR, and added SDL_PROCESS_STDERR_TO_STDOUT (which forwards stderr to stdout).
But did not hook the latter up for unix.

I found the issue with Windows (I forgot to disable inherit on the write end of stdin).

@madebr Is this ready for merge? It'll be easier to discuss the PR with all the changes at the same place :)

Yeah, the main goal of this pr was to get rid of the SDL_(Read|Write)*Process functions, which it does.


AsyncStorage.multiGet does not forward errors from native

Issue Description
AsyncStorage.js#multiGet does not forward errors from native
Steps to Reproduce / Code Snippets
Check it out:
https://github.com/facebook/react-native/blob/0.32-stable/Libraries/Storage/AsyncStorage.js#L259-L277
Expected Results
The multiGet operation should forward errors via callback(errors) and reject([errors, result])
(reject should be passed a tuple of the errors and the result. This is because the operation may be  partially successful)
Additional Information

React Native version: 0.32
Platform(s) (iOS, Android, or both?): both
Operating System (macOS, Linux, or Windows?): all

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/asyncstoragemultiget-does-not-forward-errors-from-native
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub.
Also, if this issue is a bug, please consider sending a PR with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.

@facebook-github-bot label Icebox

@facebook-github-bot close


Add methods to overwrite or delete SubcommandGroups/Subcommands/Options from SlashCommandData.

General Troubleshooting

[X] I have checked for similar issues on the Issue-tracker.
[X] I have updated to the latest JDA version
[x] I have checked the branches or the maintainers' PRs for upcoming features.

Feature Request
There are no ways to overwrite or delete SubcommandGroups/Subcommands/Options from SlashCommandData.
Since other fields (name, description, default permission, etc...) are modifiable, I consider adding clear methods to SlashCommandData a good solution for consistency.
If I use SlashCommandData.addOptions to overwrite an option, the exception has thrown.
Exception in thread "main" java.lang.IllegalArgumentException: Cannot have multiple options with the same name. Name: "test" appeared 2 times!
	at net.dv8tion.jda.internal.utils.Checks.checkUnique(Checks.java:222)
	at net.dv8tion.jda.api.interactions.commands.build.SubcommandData.addOptions(SubcommandData.java:253)

Example Use-Case
SlashCommandData command = Commands.slash("test", "This command is for test")
    .addOption(OptionType.BOOLEAN, "option", "description1")
    .clearOptions();

I don't really see how this is a valid use case tbh

I didn't have a simple example, sorry.
I'd like to modify options after creation like this.
public SlashCommandData setOptionsDefaultDescription(SlashCommandData command, LocalizationFunction function) {
  List<OptionData> options = command.getOptions().stream()
      .map(option -> option.setDescription(function.apply("command." + option.getName() + ".description").get(DiscordLocale.ENGLISH_US)))
      .toList();
  return command.clearOptions().addOptions(options);
}

Why not have the options right on the first time ? you could do this with an intermediate list

I'd like to create an option data with dummy description text first because I'd like to get the default description from a resource bundle but the parent command name is unknown at that moment.
I know this is a rare use case, however, there are setName or setDescription, which are also not so useful.

Well honestly i've been able to do without it
Also you can use the native localization support in JDA instead of doing it when building commands, look in LocalizationFunction

I have checked LocalizationFunction but it seemed there is no support for the default locale.
I'd like to get a Japanese description from command_ja.properties and a default description, I mean for all other languages, from command.properties. Is this possible with LocalizationFunction?

The "default" description is the one you set on #setDescription, for any other languages (i.e other than english) you put them in the resource bundle

I'm sorry for my unclear comments.
I mean, I'd like to use ResourceBundleLocalizationFunction for the default description too like the following.
var command = Commands.slash("name", "empty").setLocalizationFunction(resourceBundleLocalization);

where,
commands.properties contains name.description="This is the default description." and
commands.ja_properties contains name.description="This is the Japanese description."

I've added something to remove options and the likes in #2258

Thank you both so much. That looks good.


Set AllowDeviceNameInTelemetry with Intune

Is there a way other than PowerShell to set the value for AllowDeviceNameInTelemetry to enabled using Intune?
It is listed in the DM Client CSP as an option - https://docs.microsoft.com/en-gb/windows/client-management/mdm/dmclient-csp

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

ID: 4273a259-c3c7-dca7-6353-954068d740a7
Version Independent ID: 1084ea77-95c4-4e4a-da6c-f4d8668f9ebf
Content: Enrolling devices in Windows Analytics (Windows 10)
Content Source: windows/deployment/update/windows-analytics-get-started.md
Product: w10
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@jaimeo, can you take a look at this one?

Same.  What is the CSP and the value so my device names are not "#"?

Policy CSP has an option to configure it but only starting with 1809 devices. When using Intune, 1803 devices must be configured by PowerShell script for example and with 1809 you can configure the CSP.
https://docs.microsoft.com/en-us/windows/client-management/mdm/policy-csp-system#system-allowdevicenameindiagnosticdata
./Vendor/MSFT/Policy/Config/System/AllowDeviceNameInDiagnosticData

@officedocsbot assign @mypil

@mtwelve -  Thank you for submitting feedback.
From our understanding, the issue you raised has been answered by okieselbach. If you feel it hasn't been answered, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


fix: implement fixes for projex

What new features does this PR implement?

Implements changes into projex patch site for behavior and styles.

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


Filter-by-pattern (watch mode) no longer displays as-you-type feedback

Do you want to request a feature or report a bug?
Bug
What is the current behavior?

Before Jest 21, it displayed useful as-you-type feedback showing which files match your pattern:

Please provide your exact Jest configuration
None
Run npx envinfo --preset jest in your project directory and paste the
results here
  System:
    OS: macOS Sierra 10.12.6
    CPU: x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  Binaries:
    Node: 8.9.4 - ~/.nvm/versions/node/v8.9.4/bin/node
    Yarn: 1.3.2 - /usr/local/bin/yarn
    npm: 5.6.0 - ~/.nvm/versions/node/v8.9.4/bin/npm
  npmPackages:
    jest: 21 => 21.2.1

NB problem exists in Jest 21 and Jest 22.

+1

Duplicate of #4931


HiveCPQ Product Configurator (certified connector)

Fix redirect security issue

[x] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

This addresses the following warning found on the custom connector page on power automate


ZEPPELIN-1773. Remove method destroy() in Interpreter

What is this PR for?
 And it seems currently only cassandra use destroy and it just calls close() https://github.com/apache/zeppelin/blob/master/cassandra/src/main/java/org/apache/zeppelin/cassandra/CassandraInterpreter.java#L231.   Besides, I move the terminate remoteInterpreterProcess in close.
What type of PR is it?
[Improvement]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-1773

How should this be tested?
Just remove something so the existing test pass should be sufficient.
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

LGTM. CI failure looks irrelevant.
Merge to master if there're no further discussions.


Upgrade react-tether to 0.3.3

Fixes #352, fixes #354, fixes #357

Figured out the problem.  Submitted a fix to souporserious/react-tether#12

Current coverage is 92.51%

Merging #359 into master will not affect coverage as of f37e635

@@            master    #359   diff @@
======================================
  Files            9       9
  Stmts          187     187
  Branches        38      38
  Methods         88      88
======================================
  Hit            173     173
  Partial          4       4
  Missed          10      10

Review entire Coverage Diff as of f37e635

Powered by Codecov. Updated on successful CI builds.

@martijnrusschen, this should fix everyone because the new version of react-tether should be picked up, but it would probably be a good idea to make a patch release anyway


Add a list of known friend codes and blacklist them

This imports a list of friend codes currently blacklisted on Bruteforce Movable.
The list of friend codes seen in blacklist.py are shown often in video guides or viewed when a friendbot's friend code appears somewhere. In neither of these cases should these be allowed to be mined, as it is known for a fact that these are not the end user's friend code.

I haven't tested this change at all; please verify.
A separate message for this case should be displayed; for now it returns the same error message as an invalid FC.


Application mode: Manage cover buttons overlay top menu

It still overlaps left menu when on small screen left menu is expanded:

It still overlaps "Apps" popup menu


build: update kube dependency to v1.19.0

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>Note for reviewer: We could either update to the latest version of 1.18 or I can adopt 1.19 as soon as the release is out.  Let me know the choice accordingly I will update the PR.

@Madhu-1 sure. will get on 1.19.

/retest

/retest all

@Madhu-1 sure. will get on 1.19.

Please also add CI jobs for 1.19 when it is out.

go test -tags=octopus -mod=vendor -c ./e2e

k8s.io/kubernetes/pkg/serviceaccount
vendor/k8s.io/kubernetes/pkg/serviceaccount/claims.go:93:27: cannot use jwt.NewNumericDate(now.Add(time.Duration(warnafter) * time.Second)) (type *jwt.NumericDate) as type jwt.NumericDate in assignment
CI failure


Fail to parse Bus Services data

Due to this issue in lta-rs, we cannot go on with the endpoints for all the bus data in 0.3.0. We will stick to just bus timings for now. Will add those in 0.4.0 when lta-rs fixes the bug

This has been fixed in lta-rs


Dev test: Energy Skate Park Basics 1.4.0-dev.1

@samreid @zepumph @ariel-phet @kathy-phet, Energy Skate Park Basics 1.4.0-dev.1 is ready for dev testing. The sim has gone through significant changes since the last publication so it would be good to do a thorough dev test before republishing for LoL and PhET-iO. In particular, this sim hasn't been tested since the transition from PropertySet to Property, and that was complicated enough to deserve its own issue (https://github.com/phetsims/energy-skate-park-basics/issues/371). But there have been other miscelaneous changes for bugs and memory leaks.
Both PhET and PhET-iO brands will need to be tested, but this issue is just for the PhET brand. It was recommended that I wait to create a task for testing PhET-iO until learning more in https://github.com/phetsims/QA/issues/19.
Link to sim
@ariel-phet please assign and prioritize

Marking as low priority for the moment since EqEx and BASE need to get done first

@ariel-phet, moving this to top since there are no other testing tasks in the repo other than Java EF&C.

@ariel-phet, moving down to medium B/C EqEx.

Issue is also present on iOS 9.3.5 on the iPad Air 2.

Moving back to top for the moment, @ariel-phet.

Moving to high priority since #153 takes precedence

Great, thanks @KatieWoe. A number of issues came out of this test, so I think we should fix or resolve those issues and then proceed with a PhET-io dev test at thata time. Closing this issue, thanks for the good work team.


RemoveRedundantDependencyVersions for Plugins

What problem are you trying to solve?

Like dependencies, plugins can also have redundant versions when compared to the pluginManagement. But, RemoveRedundantDependencyVersions only touches dependencies.
What precondition(s) should be checked before applying this recipe?

Can't think of any
Describe the situation before applying the recipe

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.sample</groupId>
    <artifactId>sample</artifactId>
    <version>1.0.0</version>
    <packaging>jar</packaging>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.18</version>
        <relativePath/>
    </parent>
    <build>
        <plugins>
            <plugin>
                <groupId>pl.project13.maven</groupId>
                <artifactId>git-commit-id-plugin</artifactId>
                <version>4.9.10</version>
            </plugin>
        </plugins>
    </build>
</project>

Describe the situation after applying the recipe

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.sample</groupId>
    <artifactId>sample</artifactId>
    <version>1.0.0</version>
    <packaging>jar</packaging>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.18</version>
        <relativePath/>
    </parent>
    <build>
        <plugins>
            <plugin>
                <groupId>pl.project13.maven</groupId>
                <artifactId>git-commit-id-plugin</artifactId>
            </plugin>
        </plugins>
    </build>
</project>

Have you considered any alternatives or workarounds?

Implementation options could include:

Add this to RemoveRedundantDependencyVersions
Same as above, but with an arg to control the plugin-handling behavior

Choice about whether to default the behavior to on or off

Create a new, separate RemoveRedundantPluginVersions

I'd vote for adding it to RemoveRedundantDependencyVersions, active by default, with a new optional arg to disable checking plugins.
Any additional context

Are you interested in contributing this recipe to OpenRewrite?

I might; priority TBA. This might also be a good first issue for someone else.

Good suggestion indeed! I'd also opt to add it to the existing RemoveRedundantDependencyVersions.


[Automation] #570 | Add Preset Phrase Tests

closes #570
Description of Work
PresetPhraseTests class created and new tests are added to test these scenarios:

testAddNewPhrase()
testEditPresetPhrase()
testDeletePresetPhrase()
testEditPhrasesButtonIsDisabledForNumberPadCategory()
testEditPhrasesButtonIsDisabledForRecentsCategory()
testAddDuplicatePhrasesToMySayings()

Notes to Test (Optional)
PresetPhraseTests test suite should pass on an iPhone and iPad

Ran the tests locally and they all passed! 🎉

I have run all of the tests 3 times:

Locally using Xcode
Locally using fastlane ios test
Remotely from CircleCI

The new tests, and all of the others, ran and passed each time. 💵  💰 💸


TRP3 Nameplates ARE NOT working on one character but are for another character...

I've looked through every nook and cranny for everything setting that could possibly effect my nameplates. I have Kui, I have ElvUI. I'm a roleplayer so of course I have TRP3.
TRP3 apparently integrated Kui into the main addon which is great, but I just cant seem to figure out why my nameplates just refuse to show up. Please I need help, it's been really frustrating me lately.
I can provide screenshots and images to help out with visuals. I've mocked my settings from the WORKING account over to the NOT WORKING account and nothing changed still. I just want to roleplay in peace and be able to read my fellow roleplayers ACTUAL IC names and not their forced usernames.

To see RP nameplates, you need to have friendly nameplates enabled. If names above players heads are blue with no shadow (see left), you do not have friendly nameplates enabled. By default, Shift-V is the shortcut to enable them. You also need to enable "Always show nameplates" in Interface > Names to see more than your target's nameplate.
Without any addon, once enabled, friendly nameplates should look like a blue name with shadow, as well as a health bar (see middle).
If you have the TRP nameplates module enabled, nameplates will display RP name with the selected color (see right), with options to display icon, hide healthbar... able to be found in TRP Settings > Nameplates.
(Note: Your own character does not have a nameplate. Nameplates cannot be customised in instances.)

 I had just gotten so frustrated and overwhelmed with everything I think i just started to massively overlook the simple fixes like "FriendNamePlates".
thank you so much and i really appreciate such a quick ass reply. My problem HAS BEEN FIXED! Thank you so much for helping me out. Such a tiny problem haha
I will be DEFINITELY saving this information. Thanks again Solanya! <3


Refactor detection for PK under NOT predicate

tests: Remove unnecessary hasSize assertions
Use the existing visitor for EqualityExtractor and avoid traversing the query with an extra visitor.

I think it would be nice to also backport to 5.6 to be able to easily backport any future bug fixes in the area.

Seems okay to me. Does the approach with just a flag work if there's additional nesting? E.g. not/or/and interleaved over multiple levels?

I've added one more test with multiple levels to cover that. The logic is the same though, we have one flag but we store it in a temp variable and restore the value when exiting a function visit.


Slack notification: add channel

Currently a failure is logged as:
msg="Sent Slack notification:<PHONE_NUMBER>9685976206: HTTP 500: Invalid channel specified"
Add the actual channel in there to aid in debugging.

Sure, thanks.


wtfnode doesn't work if cwd is not inside wtfnode package

Recently tried to use new version of wtfnode and ran into this issue. It seems that proxy.js assumes that the wtfnode index.js is in the cwd at https://github.com/myndzi/wtfnode/blob/cec4e3706157aeacc2a6598d534af09834d38518/proxy.js#L11
It produces the following error output:
$ wtfnode main.js
module.js:442
    throw err;
    ^

Error: Cannot find module 'C:\dev\node\http-echo\index.js'
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.runMain (module.js:575:10)
    at run (bootstrap_node.js:352:7)
    at startup (bootstrap_node.js:144:9)
    at bootstrap_node.js:467:3

PR with fix incoming.

Ah, silly of me. Nice catch, thanks.

Published 0.5.2


:seedling: Add lifecycle field to probes

What kind of change does this PR introduce?
structured results update

[X] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
There is no indication around whether a probe can be depended on or not. And there are examples of probes being removed (#3666 and https://github.com/ossf/scorecard/issues/3559#issuecomment-1771443542)
What is the new behavior (if this is a feature change)?**
Clearly mark if a probe is:

experimental (the semantics of the probe may change)
stable (the probe behavior and semantics should remain stable, there may be bug fixes as needed)
deprecated (the probe doesn't receive further updates)

[X] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes
NONE

Special notes for your reviewer
Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

NONE

This PR marks all probes as stable, except for the following:

codeReviewOneReviewers: Because it's not being used by a check and hasn't been thoroughly viewed.
All of the token permission probes, as the semantics may not be final

topLevelPermissions:
jobLevelPermissions
hasNoGitHubWorkflowPermissionUnknown

probes which are still in active development or belong to experimental checks:

hasReleaseSBOM
hasSBOM
releasesHaveVerifiedProvenance
webhooksUseSecrets

probes which may have significant bugs in their behavior

contributorsFromOrgOrCompany


Fix non nvidia controllers returning undefined

Accidentally introduced a bug that makes non-Nvidia controllers undefined. Adding an else that returns the non-Nvidia controller fixes it.

@cconley717 fixed. Version 4.34.3 just released. Related bug to #461 which should be fixed now.

@cconley717 fixed. Version 4.34.3 just released. Related bug to #461 which should be fixed now.


Master Algorithm Container

Currently the central part of the algorithm is now executed on the clients machine. This has a number of disadvatages:

The central (or master) part of the algorithm is written in a specific language (and therefore having local dependencies)
The clients machine needs to keep running the entire time.
A web-interface to ppDLI would not be able to run the central part (at least not out of the box)

A solution would be to also encapsulate the central part of the algorithm into a docker container. Thereby removing the need for local dependencies, and the need to keep the client machine running.
Current situation

9dc8e9a8fc4332ae813ae6cfe9152372662d0eac


right clicking when settings icon is visible shifts all favicon up too high

at least on Mojave, need to test on older versions of macOS.  toggling the settings icon fixes this.

Same issue. Closing browser and reopening seems to fix it temporarily.


Create BondGraph class

Move code from ResidueType.assignBondReferenceAtomIndices and propagateSearch into a BondGraph class.

there is now ResidueType.getBondGraph and Structure.bondHash and AtomProxy.eachBondedAtom and AtomProxy.eachBond


fix(testing-helpers): correct type declaration for oneEvent

What I did

Corrected the type declaration for oneEvent and oneDefaultPreventedEvent functions

fixes #2746

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


No calculations for 95KBPS in the source

I am interested in the speed of 95kbps for the 16MHZ and 8MHZ quartz crystal resonator.
Can you show how to calculate CFG1, CFG2, CFG3 for this speed?
BR CS

I found a solution for 95kbps with 16Mhz
Insert in:
mcp2515.h
#define MCP_16MHz_95kBPS_CFG1 (0x03)
#define MCP_16MHz_95kBPS_CFG2 (0xBE)
#define MCP_16MHz_95kBPS_CFG3 (0x04)
mcp2515.cpp
case (CAN_95KBPS):                                             // 95Kbps
cfg1 = MCP_16MHz_95kBPS_CFG1;
cfg2 = MCP_16MHz_95kBPS_CFG2;
cfg3 = MCP_16MHz_95kBPS_CFG3;
break;


Catalyst audit: L-03 deploying royalty splitter instance may emit incorrect recipient in event

Description
Catalyst and dependencies audit report fixes

Link to Jira Issue or relevant doc
Dev
Any explanation for the devs that will review your implementation/code.
Qa
Any guidance or important information for the team that will be testing your solution.

Note: you can add any additional information you think is important for giving context to your PR.

Checklist and Markdown

[ ] Remember you could add any type of formatting to enhance your PR.
[ ] Like this checklist
[ ] And with this markdown format

We agreed to add the splitter address to the event according to the notes in the spreadsheet? emit TokenRoyaltySet(tokenId, splitterAddress, recipient);

Yes, But during refactoring, we started refactoring the code and had an internal function set the splitter, and the royalties are set if a splitter is deployed so I made these 2 events.


Sourcemaps doesn't work.

Hi @ben-eb, i having hard time getting this to work with gulp-sourcemaps. If i don't use cssNano() sourcemaps work fine.
gulp.task('css', () => {
  return gulp.src('./src/**/*.scss')
    .pipe(sourcemaps.init())
    .pipe(sass({ includePaths: ['./node_modules/'] }).on('error', sass.logError))
    .pipe(gulpIf(config.isProd, cssNano()))
    .pipe(sourcemaps.write('.'))
    .pipe(gulp.dest(paths.dest))
});

I can see this in the end of the generated css file /*# sourceMappingURL=main.css.map */ and the map file is generated also, i don't understand why it doesn't work.
I could spot a difference between the generated .map file, the working one starts like this: {"version":3,"file":"stylesheets/main.css","sources":["stylesheets/main.scss", ...  and the non working one: {"version":3,"sources":["main.css"],"names":[],"mappings":"A ...

Hi @tsm91,
Could you try using gulp-postcss to wrap cssnano? Our code varies a little bit, so I want to check if that works for you and if I need to update the source here. You can do so with this task:
const postcss = require('gulp-postcss');
const cssnano = require('cssnano');

gulp.task('css', () => {
  return gulp.src('./src/**/*.scss')
    .pipe(sourcemaps.init())
    .pipe(sass({ includePaths: ['./node_modules/'] }).on('error', sass.logError))
    .pipe(postcss([cssnano()]))
    .pipe(sourcemaps.write('.'))
    .pipe(gulp.dest(paths.dest))
});

@ben-eb :+1: it works perfectly, i was already using gulp-postcss for autoprefixer so it was easy to implement.
const paths = {
  src: path.join(config.SRC_DIR, config.css.src, config.css.glob),
  dest: path.join(config.DEST_DIR, config.css.dest)
};

let processors = [
  autoprefixer({
    browsers: [
      'ie >= 10',
      'ie_mob >= 10',
      'ff >= 30',
      'chrome >= 34',
      'safari >= 7',
      'opera >= 23',
      'ios >= 7',
      'android >= 4.4',
      'bb >= 10'
    ]
  })
];

if (config.isProd) processors.push(cssnano());

// because there is no ide integration (WebStorm) i have to run the linter before each stylesheets task
// https://github.com/sasstools/sass-lint/issues/460
const preTasks = (!config.sassLint.ideSupport && config.isDev) ? ['sass-lint'] : [];

gulp.task('css', preTasks, () => {
  return gulp.src(paths.src)
    .pipe(gulpIf(config.isDev, cache(config.css.cacheName)))
    .pipe(gulpIf(config.isDev, progeny()))
    .pipe(sourcemaps.init())
    .pipe(sass({ includePaths: ['./node_modules/'] }).on('error', sass.logError))
    .pipe(postcss(processors))
    .pipe(sourcemaps.write(config.isProd ? '.' : ''))
    .pipe(gulp.dest(paths.dest))
    // If you generate source maps to a separate `.map` file you need to add `{match: '**/*.css'}` option to stream.
    // These files end up being sent down stream and when browserSync.stream() receives them, it will attempt
    // a full page reload (as it will not find any .map files in the DOM).
    .pipe(gulpIf(config.isDev, bs.stream()));
});


Rename cenk repository to cenkalty on client.go

@dave-tucker Please, take a look.
The repository below changed the canonical name and currently the libovsdb is not compiling if you create your environment from scratch:
old:
"github.com/cenk/rpc2"
new:
"github.com/cenkalti/rpc2"

Thanks @vandewilly - LGTM


Softmax/Sigmoid required?

I am confused as to whether or not I need to retain the softmax/sigmoid layers at the output for my model or remove them. I see several applications where these were retained but the paper suggests that the outputs need to come "before the softmax". Kindly clarify

Typically you would not use softmax/sigmoid at all with grad-cam.
The reason is then you are selecting features that maximize the response for a certain category, but you care less about features that also minimize the response of other categories.
Once you add softmax, features that minimize the response from other categories might contribute at all.
Having said that - it's probably worth experimenting with both.

Closing for now, please reopen if you have more questions.


Watermarking photos with ImageMagick, Vapor 3 and Swift on macOS and Linux

Project Name: Blog post
Project URL: https://mikemikina.com/blog/watermarking-photos-with-imagemagick-vapor-3-and-swift-on-macos-and-linux/
Project Description: Watermarking photos with ImageMagick, Vapor 3 and Swift on macOS and Linux
Why it should be added to awesome-vapor: It is a tutorial on how to use the ImageMagick library in Vapor 3 and Swift.
[ ] Project has at least 15 stars (if it's a GitHub project)
[x] Project supports Swift 4
[x] Project supports at least Vapor 2
[x] I used correctly sized dash and ended the entry with a full stop 🤓

          1 Warning

:warning:
Please rebase to get rid of the merge commits in this Pull Request

  Generated by :no_entry_sign: Danger

Thank you for the contribution! 🙇♂


Garbled Japanese Titles

Hello,
I upgraded the launcher from 4.x to the latest 5.0.2 version and I noticed all Japanese (hiragana/katakana) titles are not displaying correctly. Chinese (kanji) texts seems to be fine. I think 4.x versions did not have this issue.
Thank you!

Hi, is it just for PSP and PlayStation 1 titles? Or Vita game titles too?
Trying to figure out if the font is the problem, or the title scanning.
Thanks

Both PSP and PSV titles. I don't have PSX titles so I can't test.
On Wed, Dec 28, 2022, 12:11 PM jimbob4000 @.***> wrote:

Hi, is it just for PSP and PlayStation 1 titles? Or Vita game titles too?
Trying to figure out if the font is the problem, or the title scanning.
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/jimbob4000/RetroFlow-Launcher/issues/98#issuecomment-1366833224,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7BSZSSVOTGRGH66OYV7BLWPR7GPANCNFSM6AAAAAATLNJ7TQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Okay, what language are you using in the app?
Also do the app titles look correct when the language is changed to English?
Thanks

I'm using it in English. I tried to switch it to Japan but it has the same garbled text.
Here are some pics with the garbled titles. It looks like an encoding/decoding issue (for example, "の" is consistently mapped to "ã").
https://i.imgur.com/RsjbE1w.jpg
https://i.imgur.com/3V3PtsN.jpg
https://i.imgur.com/z0t7aQE.jpg

Thanks for the photos, they were very helpful.
I've updated the pre-release to fix the issue, installing it should fix the problem.
https://github.com/jimbob4000/RetroFlow-Launcher/releases/tag/v5.0.2
I'll close the issue for now, but let me know if there's still a problem.
Thanks for your help.

Thanks a lot. I can confirm that this issue was fixed. (A rescan was needed to correctly populate the names)


add optional ms2rescore step

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/quantms branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nf-test test main.nf.test -profile test,docker).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Really cool! Have you tried allowing mokapot as rescoring engine as well?
Currently seems to be unsupported since the mokapot option is missing in the "posterior probabilities" parameter.

Really cool! Have you tried allowing mokapot as rescoring engine as well? Currently seems to be unsupported since the mokapot option is missing in the "posterior probabilities" parameter.

mokapot was also allowed.

@daichengxin can you add here some of the details of the current benchmark?

Hi all, we did some benchmark for PXD006675 and immunopeptide dataset PXD020620 after adding rescore steps. I tested 4 strategies. search engine is comet

percolator for individual run without extra feature
percolator for all experiments without extra feature
percolator for all experiments with ms2pip feature
percolator for all experiments with deeplc and ms2pip feature

The statistics values of figures are from percolator output dir. The figure 1 is from PXD006675. The legend NoMs2rescore_percolator_individual_run is strategy 1, legend NoMs2rescore_percolator_exp_all is strategy 2,  legend percolator_ms2pip_all_exp is strategy 3 and ms2rescore_all_exp is  strategy 4. There was no significant difference in re-scoring between the entire experiment and individual runs at 0.01 FDR. But PSM decreased by 0.6% after re-scoring with ms2pip and deeplc feature for whole experiments compared to without extra feature. Then PSM increased by 0.4% after re-scoring without ms2pip and deeplc feature for whole experiments at 0.05 FDR compared to individual run. But PSM decreased by 0.6% after re-scoring with ms2pip and deeplc feature for whole experiments compared to without extra feature.

Soure data of the figure:
PXD006675_ms2rescore_pc_comet.csv
For PXD020620 (A small immunopeptide dataset).
There was no significant difference in re-scoring with/without extra feature between the entire experiment and individual runs. One reason could be that the dataset is too small. Trying to test on PXD019643 larger immunopeptide dataset.

Great stuff! That is what we see as well 😎

LuciPhor2 was not able to provide an output. Please set debug >= 4 for additional information.
Error: File not found (the file 'SF_200217_pPeptideLibrary_pool1_HCDnlETcaD_OT_rep2_consensus_fdr_filter_pep_luciphor.idXML' could not be found)
What's going wrong with the failing tests here?

LuciPhor2 was not able to provide an output. Please set debug >= 4 for additional information.
Error: File not found (the file 'SF_200217_pPeptideLibrary_pool1_HCDnlETcaD_OT_rep2_consensus_fdr_filter_pep_luciphor.idXML' could not be found)
What's going wrong with the failing tests here?

Not enough PSM to accurately model the data in minimal example(<50 PSM). Readjusted pre-filter levels

And no big improvement for rescoring over all files, right? Good for speed.
Very well done guys.

And no big improvement for rescoring over all files (vs. per run) right? Good for speed/parallel processing. Very well done guys.

Yes. No major differences between rescoring for independent msrun and the entire experiment in these benchmarking datasets.

Ideally we should check at some point on a ground truth dataset that both rescoring or rescoring per ms run does not underestimate the FDR.

Actually, this trigger a nice discussion @daichengxin Did you tested if it will work everything with pmultiqc.


Fix the dashboard page on random nested routes.

Issue

I tried to visit https://dashboard.realdevsquad.com/[A-Z0-9a-z]/[A-Z0-9a-z]. i.e. a path within some path and the page broke.

Please check why is this happening and fix it.

Now on this random page try clicking on the buttons more than twice, you can see the URL Growing.

Please check why is this happening and fix it.
Pointers

The page is hosted on Cloudflare pages.
Stack used here is basic HTML CSS and Vanilla JS

Following outcomes is come from my side for the issue

Error message is related to the server not being configured properly to handle the assets, specifically scripts and stylesheets
Server is responding with a MIME type of "text/html" for these assets, which is not a supported MIME type for scripts and stylesheets
Browser is rejecting these assets because strict MIME type checking is enabled
Issue is possibly related to the path configuration, specifically the use of wildcard characters in the URL

Suggestions:

[ ] Double-check the path to the script
[ ] Ensure that the file exists and is accessible
[ ] Ensure that the server is configured to serve the asset with the correct MIME type
[ ] Make sure that the path provided is correct and that the assets are accessible on the server, whether it's relative or absolute path.

issue merged in #295 PR


Onehem may stuck

Description
Hi, I running onehem as external service.
oned is running in three instances with RAFT enabled.
When leader is changed virtual IP might be moved to another server or even be unreachable during leader election.
Afterwards hem is doing nothing and just stuck
To Reproduce

Run oned in RAFT
Run hem as external service with endpoint to single virtual IP address
Change the leader

Expected behavior
When connection is lost hem will try to reconnect or even die, but do not stuck forever,
Details

Affected Component: Hem
Hypervisor: KVM
Version: 5.10.3

Additional context
Add any other context about the problem here.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Hello @kvaps,
I've been trying to reproduce the issue and it seems to work for me. Is this something that's happens to you always or just sporadically?
Let me provide some info on the test I've done, as maybe I'm losing something.
I have three frontend nodes with OpenNebula 5.10.1 installed, the HA cluster looks like this:
[root@localhost ~]# onezone show 0
ZONE 0 INFORMATION
ID                : 0
NAME              : OpenNebula

ZONE SERVERS
ID NAME            ENDPOINT
 0 server-0        http://<IP_ADDRESS>:2633/RPC2
 1 server-1        http://<IP_ADDRESS>:2633/RPC2
 2 server-2        http://<IP_ADDRESS>:2633/RPC2

HA & FEDERATION SYNC STATUS
ID NAME            STATE      TERM       INDEX      COMMIT     VOTE  FED_INDEX
 0 server-0        leader     8          117        117        0     -1
 1 server-1        error      -          -          -          -     -
 2 server-2        follower   8          117        117        0     -1

Only opennebula.service is running in this nodes.
Also I have another node with opennebula-hem.service running inside. I've perform the following configuration changes:

Hello @kvaps,
I've been trying to reproduce the issue and it seems to work for me. Is this something that's happens to you always or just sporadically?
Let me provide some info on the test I've done, as maybe I'm losing something.
I have three frontend nodes with OpenNebula 5.10.1 installed, the HA cluster looks like this:
[root@localhost ~]# onezone show 0
ZONE 0 INFORMATION
ID                : 0
NAME              : OpenNebula

ZONE SERVERS
ID NAME            ENDPOINT
 0 server-0        http://<IP_ADDRESS>:2633/RPC2
 1 server-1        http://<IP_ADDRESS>:2633/RPC2
 2 server-2        http://<IP_ADDRESS>:2633/RPC2

HA & FEDERATION SYNC STATUS
ID NAME            STATE      TERM       INDEX      COMMIT     VOTE  FED_INDEX
 0 server-0        leader     8          128        128        0     -1
 1 server-1        follower   8          128        128        -1    -1
 2 server-2        follower   8          128        128        0     -1

Only opennebula.service is running in those nodes.
Also I have another node with opennebula-hem.service running inside. I've perform the following configuration changes:

:subscriber_endpoint and :replier_endpoint onehem-server.conf attributes point to the VIP.
I've defined one_auth and one_endpoint at /var/lib/one/.one:grep -R . /var/lib/one/.one/
/var/lib/one/.one/one_endpoint:http://<vip>:2633/RPC2
/var/lib/one/.one/one_auth:<user>:<password>

It seems that hooks are correctly executed except for those executed during election period, which makes sense as during this period the VIP is not configured in any of the hosts.

Hi, it seems you have pretty same configuration like me, the only difference is that I was running all the components inside Kubernetes.
Right now I'm running onehem-server on sameplace with oned due this bug, before that the problem was happening not every time but quite often.
I'm going to prepare new release soon, and I'll try to reproduce it again.

WE'll close this for now. Thanks for the feedback!

I just tried hem on <IP_ADDRESS>, unfortunately the problem still persist.
# ps aux
oneadmin  259448  2.3  0.3 3062500 261608 ?      Ssl  00:25  23:50 /usr/bin/ruby /usr/lib/one/onehem/onehem-server.rb
oneadmin  611917  0.0  0.0      0     0 ?        Z    02:21   0:00 [vps_task_write_] <defunct>

# strace -p 259448
strace: Process 259448 attached
ppoll([{fd=3, events=POLLIN}], 1, NULL, NULL, 8

# pstree -p 259448
ruby(259448)─┬─vps_task_write_(611917)
             ├─{ruby}(259784)
             ├─{ruby}(259785)
             ├─{ruby}(259786)
             ├─{ruby}(683853)
             ├─{ruby}(683859)
             ├─{ruby}(683871)
             ├─{ruby}(683882)
             ├─{ruby}(683896)
             ├─{ruby}(683897)
             ├─{ruby}(683905)
             ├─{ruby}(683935)
             ├─{ruby}(683949)
             └─{ruby}(923869)

the running hook process can't be killed even with SIGKILL:
# kill -9 611917
# ps aux | grep 611917
oneadmin  611917  0.0  0.0      0     0 ?        Z    02:21   0:00 [vps_task_write_] <defunct>

@rsmontero any ideas?


Set a name for generated hooks

Sorry, my bad. It needs to be camelName instead of kebabName.

Thank you! Will go out with the next release.


NewConnectionError on all payloads (100% fail rate)

Hello,
Seems to be a really interesting tool though I couldn't make it work.
Not with python, nor with docker image.
I'm getting following errors on all test cases (with 100% failed):
An error occurred while processing payload XSS/134.json in REFERER: WBHTTPConnectionPool(host='<IP_ADDRESS>', port=8080): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f92f83d9e50>: Failed to establish a new connection: [Errno 111] Connection refused'))
I'm attaching scan results.

The site is available on <IP_ADDRESS> and other WAF test tools (e.g. identyWaf, WhatWaf) were able to reach it.
Kind regards,
Alex.
P.S.:
It would be nice to reword headings. For new user they feel confusing PASS/FAIL/BYPASS especially considering false-positive and false-negative context. I understand it's using QA naming (PASS/FAIL) but it may not be obvious for people who are not familiar with testing.
Can I propose something like this?
False-negative: BLOCKED (or similar that indicates that attack was prevented, instead of PASSED) | BYPASSED |  TEST CASES FAILED (or TESTING FAILED).
False-positive: PASSED | FALSELY BLOCKED (instead of FALSED) | TEST CASES FAILED.
Thank you for this cool tool!
It looks really interesting.

Pls, create the new topic in discussion (https://github.com/nemesida-waf/waf-bypass/discussions)

I think this is the reason in bypass.py:
result = s.request(method, self.host, headers=headers, proxies=self.proxy, timeout=self.timeout, verify=False)
It looks like request doesn't set port.
I'm not a Python developer but following change resolved the issue:
if method.upper() == "GET":
result = requests.get("http://<IP_ADDRESS>:8080", headers=headers, proxies=self.proxy, timeout=self.timeout, verify=False)
elif method.upper() == "POST":
result = requests.post("http://<IP_ADDRESS>:8080", headers=headers, proxies=self.proxy, timeout=self.timeout, verify=False)

You were right about creating discussion.
It seems to be my environment issue. Without any changes it started working today.
There are still some fails but they are marginal comparing to overall number of tests.

Thank you for this cool tool!


⚠ ClamAV has degraded performance

In e4f336c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 211 ms

Resolved: ClamAV performance has improved in 35d9ddc.


[BUG] runtime: goroutine stack exceeds<PHONE_NUMBER>-byte limit

This could be a https://github.com/shurcooL/graphql issue but its a big blocker for me.
I can't do any mutation.
Example:
	var m struct {
		AddPerson struct {
			Input  []*model.AddPersonInput
			Upsert *bool
		} `graphql:"addPerson(input: $input, upsert: $upsert)"`
	}

	variables := map[string]interface{}{
		"input":  input,
		"upsert": &upsert,
	}

	err := r.client.Mutate(context.Background(), &m, variables)
	if err != nil {
		return nil, err
	}

runtime: goroutine stack exceeds<PHONE_NUMBER>-byte limit
runtime: sp=0xc020700388 stack=[0xc020700000, 0xc040700000]
fatal error: stack overflow

@NoriSte Can you check it?

Example to replicate
package main

import (
	"context"
	"fmt"
	"log"

	graphql "github.com/hasura/go-graphql-client"
)

type Person struct {
	ID           int          `json:"id,omitempty"`
	Name         string       `json:"name,omitempty"`
	Address      string       `json:"address,omitempty"`
	Organization Organization `json:"organization,omitempty"`
}

type Organization struct {
	ID        int      `json:"id,omitempty"`
	Name      string   `json:"name,omitempty"`
	Employees []Person `json:"employees,omitempty"`
}

func main() {
	client := graphql.NewClient("http://whatever", nil)

	var m struct {
		AddOrganization struct {
			Input Organization
		} `graphql:"addOrganization(input: $input)"`
	}

	input := Organization{
		Name: "Test ORG",
	}

	variables := map[string]interface{}{
		"input": input,
	}

	err := client.Mutate(context.TODO(), &m, variables)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Printf("m: %#v\n", m)
}

@droslean Organization and Person structures that your define causes the circular dependency issue. The graphql client uses reflection and recursive to construct the GraphQL query. It keeps inferring Organization -> Person -> Organization -> ...  and doesn't know when to stop the loop.
I don't think this issue can be fixed. To solve this you should get rid of one relationship.
type PersonWithoutOrg struct {
	ID           int          `json:"id,omitempty"`
	Name         string       `json:"name,omitempty"`
	Address      string       `json:"address,omitempty"`
}

type Organization struct {
	ID        int      `json:"id,omitempty"`
	Name      string   `json:"name,omitempty"`
	Employees []PersonWithOrg `json:"employees,omitempty"`
}

@hgiasac It can be solved actually. The issue is in github.com/shurcooL/graphql. I opened https://github.com/shurcooL/graphql/issues/100.
I won't change my schema because this library has a bug. Either way, I am using https://github.com/Khan/genqlient/ which works like a charm.


Aira Separator Update

Brief Information
This pull request is in the type of:

[ ] bug fixing
[ ] new feature
[x] others

What does this PR do?
Changed the separator of generating description of the chart.
Fixed issues

Details
Before: What was the problem?
There are no space after comma in the description of the chart (only in english version).
After: How is it fixed in this PR?
Change
separator: {
                middle: ',',
                end: '.'
            }

to
separator: {
                middle: ', ',
                end: '.'
            }

Are there any API changes?
No.
Merging options

[ ] Please squash the commits into a single one when merge.

Other information

Please modify the source file instead of distribution file


please add cs-229.html

Please add https://stanford.edu/~shervine/teaching/cs-229.html to the repo for translation

Thank you @reza1615 for your suggestion! However, we do not plan on translating this page for now.
Links to related cheatsheets have been directly put inside them so that navigating around can hopefully already be smooth enough.


Needs updating for Android Things 0.7 dev preview

It's been refactored, and this project no longer builds.
The changes don't seem too drastic: https://stackoverflow.com/questions/49141634/peripheralmanagerservice-throws-noclassdeffounderror

@otamate
Thank you for your feedback. I will fix it.


New Docs Setup

Description
This PR fixes #202

@aryasoni98 , how do I run this for preview?

@aryasoni98 , how do I run this for preview?

cd /docs/new-docs/robyn
run hugo server

@sansyrox Any review !

Hi @aryasoni98 ,
Apologies. I am moving houses right now(and hating adulting in parallel).
I will review this PR by Saturday/Sunday eod.

@aryasoni98 , I installed hugo from homebrew and I tried to follow the steps you shared with me.
I am getting this error:
Error: Unable to locate config file or config directory. Perhaps you need to create a new site.

@aryasoni98 , I installed hugo from homebrew and I tried to follow the steps you shared with me.
I am getting this error:
Error: Unable to locate config file or config directory. Perhaps you need to create a new site.

Okay, I will check and update the code shortly .

@sansyrox i try to push the cd /docs/new-docs/robyn folder but i didn’t.

@aryasoni98 , looks like git is treating robyn folder like a submodule.

treating robyn folder like a submodule.

@sansyrox Any suggestion how to fix this issue .

Closing as this a stale PR.


fix: timeout and warn if browser fails to render

:tada: This PR is included in version 8.2.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Can't use a local model in Crew

Hi, I want to use Phi3 model with the Crew, but it requires an Open AI key.
crew = Crew(

    agents=[agent],
    tasks=[task],
    process=Process.hierarchical,
    manager_llm=ChatOllama(model="phi3"),
)

result = crew.kickoff()
print(result)

The Error:

ValidationError                           Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_14684\2191676005.py in <cell line: 9>()
7 )
8
----> 9 result = crew.kickoff()
10 print(result)
~\miniconda3\envs\webscraping\lib\site-packages\crewai\crew.py in kickoff(self)
145             return self._run_sequential_process()
146         if self.process == Process.hierarchical:
--> 147             return self._run_hierarchical_process()
148
149         raise NotImplementedError(
~\miniconda3\envs\webscraping\lib\site-packages\crewai\crew.py in _run_hierarchical_process(self)
181
182         i18n = I18N(language=self.language)
--> 183         manager = Agent(
184             role=i18n.retrieve("hierarchical_manager_agent", "role"),
185             goal=i18n.retrieve("hierarchical_manager_agent", "goal"),
[... skipping hidden 1 frame]

~\miniconda3\envs\webscraping\lib\site-packages\crewai\agent.py in ()
93     i18n: I18N = Field(default=I18N(), description="Internationalization settings.")
94     llm: Any = Field(
---> 95         default_factory=lambda: ChatOpenAI(
96             model="gpt-4",
97         ),
~\miniconda3\envs\webscraping\lib\site-packages\langchain_core\load\serializable.py in init(self, **kwargs)
105
106     def init(self, **kwargs: Any) -> None:
--> 107         super().init(**kwargs)
108         self._lc_kwargs = kwargs
109
~\miniconda3\envs\webscraping\lib\site-packages\pydantic\v1\main.py in init(pydantic_self, **data)
339         values, fields_set, validation_error = validate_model(pydantic_self.class, data)
340         if validation_error:
--> 341             raise validation_error
342         try:
343             object_setattr(pydantic_self, 'dict', values)
ValidationError: 1 validation error for ChatOpenAI
root
Did not find openai_api_key, please add an environment variable OPENAI_API_KEY which contains it, or pass openai_api_key as a named parameter. (type=value_error)

Hi phi3 does work with ollama. You can set up a dummy key in the code or .env.  If you have access to the crewai discord, there are some examples on there. Thanks

Hi phi3 does work with ollama. You can set up a dummy key in the code or .env. If you have access to the crewai discord, there are some examples on there. Thanks

@gadgethome Hi, thanks for your responce, I don't have access to the discord channel. I did create a .env file and set a dummy OPENAI_API_KEY key, but there is an issue:

Incorrect API key provided

You can do this in a few different ways. I'm using ollama but should work with lmstudio as well.
os.environ["OPENAI_API_BASE"]='http://localhost:11434/v1'
os.environ["OPENAI_MODEL_NAME"]='openhermes'
os.environ["OPENAI_API_KEY"]='ollama'
or
llm = ChatOpenAI(
model="phi3",
#base_url="http://localhost:11434/v1",
api_key="ollama",  # something random
temperature=0,
)

Hi, I tried this as well, but it shows this error:

{'error': {'message': "model 'gpt-4' not found, try pulling it first", 'type': 'api_error', 'param': None, 'code': None}}

I don't know why it is still calling the OPENAI model! because I did specify that I want to use Phi3 model.
when I create agents I don't find this problem:
agent= Agent(
    role='Maths Specialist',
    goal='Perform multiplication and addition operations on numbers',
    llm=ChatOllama(model="phi3"),
    tools=Math_tools.tools(), # array with tools
    backstory="""As a Math Expert, your mission is to provide the result of
        multiplication and addition operations. The results that you
        provide will help resolving math problems accurately.""",
    verbose=True
  )

The issue occurs only when I try to define the manager_llm when creating a Crew.

You can do this in a few different ways. I'm using ollama but should work with lmstudio as well.
os.environ["OPENAI_API_BASE"]='http://localhost:11434/v1' os.environ["OPENAI_MODEL_NAME"]='openhermes' os.environ["OPENAI_API_KEY"]='ollama'
or
llm = ChatOpenAI( model="phi3", #base_url="http://localhost:11434/v1", api_key="ollama", # something random temperature=0, )

THANKS FOR THIS
It got me out of the weeds.
Cheers!


Amend Views

HI
I am new to rails and wanted to know how could i amend the layout of the form, ie add name, change size of message box etc

Thanks so much for your help
Sent from my iPhone
On 14 Nov 2011, at 23:57, Jeff<EMAIL_ADDRESS>wrote:

If you would like to add new fields to the form you should fork the repository, and can make customizations to the contact model, mailer, and views as you see fit within your own repository.
Then rather than pointing your Gemfile to use my copy of the gem you could change it to point to your fork like:
gem 'contact_us', :git => 'git://github.com/richlewis14/contact_us.git'
As for making the message box larger you can use css to manipulate it.

Reply to this email directly or view it on GitHub:
https://github.com/jdutil/contact_us/issues/6#issuecomment-2738822

FYI v0.2.0 now supports optional name and subject form fields.  See README for further details.


⚠ Bofrost.fr has degraded performance

In 6e00f71, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1555 ms

Resolved: Bofrost.fr performance has improved in 3913e15 after 22 minutes.


huggingface token

Is there any way to use this without a hugging face token, or to change the SD model to something besides 1.5? Or is it part of the docker script?
Could you possibly edit the docker script so that it no longer requires a HF download?

Yes this is definitely doable but currently it requires you to set the -e MODEL_ID <model_name> environment variable before starting the container to load a different model. Currently the version on master defaults to stabilityai/stable-diffusion-2-base.
I will look into making this more user-friendly.

Could you possibly edit the docker script so that it no longer requires a HF download?
This can be done already by mounting hf cache directory, see here https://github.com/NickLucche/stable-diffusion-nvidia-docker/tree/master#about-model-versions.

Yes this is definitely doable but currently it requires you to set the -e MODEL_ID <model_name> environment variable before starting the container to load a different model. Currently the version on master defaults to stabilityai/stable-diffusion-2-base. I will look into making this more user-friendly.

Could you possibly edit the docker script so that it no longer requires a HF download?
This can be done already by mounting hf cache directory, see here https://github.com/NickLucche/stable-diffusion-nvidia-docker/tree/master#about-model-versions.

Hi, Thank you for this and I have a problem loading other models
can you please make a detailed instruction because am really lost
Thanks again


Table renders blank rows if data does not exist

What version of React-Table are you using?
v6.5.3 (latest as of writing this).
What bug are you experiencing, or what feature are you proposing?
When rendering a table with pageSize > number-of-rows-in-table, additional blank rows are rendered.
Use https://codesandbox.io/s/10j8k608l3 to reproduce the issue.
Total data = 5 rows, but table renders 5 blank rows.  I would expect the table to render the min(NumData, pageSize)
What are the steps to reproduce the issue?

Set total data < number of rows in table
View blank rows.

Btw, I really appreciate you creating this component. It has helped us a lot. 👍 Great work!

I think that this #191  issue solve your problem

Indeed :)

Thanks a lot!


Disable time trigger function

not sure how to test it but sounds good... thought it was disabled already

@fernandolucchesi , this sets AzureWebJobs. <FUNCTION_NAME>. Disabled = 1 in the app settings of the function app. This is the standard setting to diable a function in a function app for all runtime envs... the disabled attribute in function.json does not work for Azure functions > 1

approved! you forgot to create the PR =p


fix shouldScroll logic Fixes #220"

Fixes #220
I've been trying the library and had the same problem. I started to dig in and it turned out that shouldScroll was always true.
This fixes it

Whats up with this? Why is this not merged?

Confirmed fix

@sroze

@p4bloch @nmccready please include a test with this change.

@p4bloch your commit message should be "fix shouldScroll logic Fixes #220"

@graingert can you give some guidance on the test? I mean ngInfiniteScroll just doesn't work right without this change. Is there similar existing test that can be modified slightly to confirm this change?

@nmccready currently the tests's loadMore function is:
return [].push.apply($rootScope.items, new Array(100));

So if shouldScroll is always true, the tests would go into an infinite loop

@nmccready can you try out 1.3.0?

scrollDistance can be 0, in which case you have a nice division by 0...


fix(ember-concurrency): conditionally include the v1 hax

The extra code needed for ember-concurrency v1 will not be included if you're using ember-concurrency-v2

Closing as v5 is around the corner


Add active class to flash messages upon DOM insertion

In order to make the CSS animation work properly, some style has to change after inserting the flash message into the DOM. Setting active to true doesn't have the desired effect, so (I think) progress bars have never worked.

:+1: Thanks Mike!


Support @angular/form 2.0.0-rc.6

Upgrading to @angular/form 2.0.0-rc.6 causes following issues

[ ] disable attribute binding is not supported (see https://github.com/angular/angular/issues/11324)
[ ] Field with validation error cannot be added during ngOnInit (see https://github.com/angular/angular/issues/10131)

Work In Progress as following branch.
https://github.com/divyakumarjain/ng2-formly/tree/2.0.0-beta.6

based on your initial work, see #101


Sql Proj VS Code fixes

Using correct extension name based on context. Not the most elegant but I wanted to avoid having to do a runtime check for these
Fix build tools path so we'll copy over the build DLLs and targets file correctly

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 7 (57.14%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 42.478%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-database-projects/src/tools/buildHelper.ts
2
5
40.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
26788

Relevant Lines:
57123

💛  - Coveralls


Can I configure a sampling rate?

I used jaeger-collector --sampling.strategies-file=/home/sakura/Desktop/jaeger-1.13.0-linux-amd64/strategies.json ,it worked but no effective.
Then,Running the test file strategy_store_test.go,I can see it loaded the sample configuration and I changed the sample.type to remote,it didn't work.
cfg := jaegerCfg.Configuration{
Sampler: &jaegerCfg.SamplerConfig{
Type:  "remote",
},
Reporter: &jaegerCfg.ReporterConfig{
LogSpans:            true,
BufferFlushInterval: 1 * time.Second,
LocalAgentHostPort:  "<IP_ADDRESS>:6831",
},
}

Hi, You will have to pass a sampling strategy file as parameter when starting collector as now it only supports reading from static file.
See plugin/sampling/strategystore/static/factory_test.go for an example. Let me know if there's anything unclear to you

Thanks,I write the strategies.json like this,is right?
{
"service_strategies": [
{
"service": "ContextMakeHappyEnding",
"type": "probabilistic",
"param": 1,
"operation_strategies": [
{
"operation": "transporter",
"type": "probabilistic",
"param": 0.2
},
{
"operation": "op2",
"type": "probabilistic",
"param": 0.4
}
]
},
{
"service": "ContextUnpackKafkaItem",
"type": "probabilistic",
"param": 1
}
],
"default_strategy": [
{
"type": "probabilistic",
"param": 1
},
{
"type": "probabilistic",
"param": 1
}
]
}

If I'm not mistaken, it should already be overridden by defaultSamplingRefreshInterval() which is one minute. Could you elaborate what you mean by param=1 it can't report to the collector? maybe a screenshot would be helpful?

If i use defaultSamplingRefreshInterval ,I found that it wasn't get the Sampling config immediately.After 1 min,it will get config from sever,so it cound't update Samplie.param immediately.Although it gets the config after 1min,it cound't update Samplie.param too.Why?What should i do?

What does your strategy json file look like? Take a look at fixtures/strategies.json and keep in mind that it's required to have a field default_strategy set there.(This is the default strategy if somehow adaptive sampling doesn't compute probability for your service/operationName) Maybe you are missing this field?

I found the client need a ticker to get strategies.json.It means I will get the config after 1 min.So I changed the code in client,So when I craete a new tracer,I will getthe config immediately,I will updata my Samplie.param immediately.
func NewRemotelyControlledSampler(
	serviceName string,
	opts ...SamplerOption,
) *RemotelyControlledSampler {
	options := applySamplerOptions(opts...)
	sampler := &RemotelyControlledSampler{
		samplerOptions: options,
		serviceName:    serviceName,
		manager:        &httpSamplingManager{serverURL: options.samplingServerURL},
		doneChan:       make(chan *sync.WaitGroup),
	}
	sampler.updateSampler()
	go sampler.pollController()
	return sampler
}


Not generating unique keys for the nodes

I got this error (https://github.com/embraceitmobile/animated_tree_view/blob/3e7ec1e132a54a07d5ae9e711cce98cc3721bdc5/lib/node/node.dart#L54) when I have a Node with a lot of children.
In my case it happens (sometimes) when I open this tree location (/bin/), where there are a lot of children.
I bypass this error by providing a String key to every node.
I suggest that maybe you can provide an int instead of String (2^64 unique keys is enough).
Also I tried to use int keys like this: '$keyIndex++', but I got same error: (0 key is yet used, 1 key is yet used, ...).

I can make the key to generic type K Node, that way any key type could be used.
But I am a little concerned about making the API complicated, as starting from the TreeView, which also has the generic data type Data the key type K will also need to be specified. Every other class that inherits or composes the Node will also need to specify the K type.
It is definitely doable, but is it a good enough compromise over complexity?

Do you get the DuplicateKeyException if you do not use custom keys?

I looked into this issue, and apparently, if the child count is more than 10,000, then the duplicate keys started to appear at a rate of 0.3-0.4%. I have replaced the UniqueKey with Uuid for generating the keys, and now the issue has been resolved.
There are no duplicate keys even at 100,000 children.
https://github.com/jawwad-hassan89/animated_tree_view/blob/d71497b6e6107a2ab356d54d38d3f24a3b4c6f0a/test/node/node_test.dart#L50

Yeah, it was happening when opening large directories multiple times. The best solution would be with no limit.

Uuids are guaranteed to be unique within a system. As we are only concerned with uniqueness within the local system that is generating the Uuids, so they will be unique. Theoretically, there is no limit to how many Uuids can be generated, however I have only tested upto 100,000 entries.

Relevant ancillary documentation:
[1][2]
Identifier uniqueness considerations:
This document specifies three algorithms to generate UUIDs: the
first leverages the unique values of 802 MAC addresses to
guarantee uniqueness, the second uses pseudo-random number
generators, and the third uses cryptographic hashing and
application-provided text strings.  As a result, the UUIDs
generated according to the mechanisms here will be unique from all
other UUIDs that have been or will be assigned.

A Universally Unique IDentifier (UUID) URN Namespace


Provide .NET SDK

What would you like to be added:
Provide .NET SDK
Why is this needed:
To support customers building .NET applications.

Hi @tomkerkhove! Do you have plans to work on it?

Building the SDK you mean or? If so, unfortunately I don't have the bandwidth for that.

Will close this issue for now. It can be re-opened when we start working on this sdk.


The "Under Contract" link gives edit access to the document.

Replace with this link to avoid it getting griefed https://docs.google.com/document/d/1K1Cr1F1MABw8h-Hm-YL7DH4V9VLmq2Ezn9PEcOsuw-o/edit?usp=sharing

I believe edit vs view permissions for google doc general access are controlled at the document level, rather than allowing edit vs view-only links.
Have you requested edit access to the document already? I don't have edit access, for instance.

I hadn't requested edit access. I just checked though and I no longer have edit access. I guess the owner changed something.


vmq-passwd -U command does not take colon in password

To help us save time and help you faster
Before opening a new issue, please make sure that isn't already an open (or
closed/resolved) issue concerning the problem. If unsure if older issues are
about the exact same thing, just open a new issue rather than posting in the old
one - but please reference the possibly related issues in the new issue.
Please do not insert images of text, but insert the text instead.
Environment

VerneMQ Version: 1.6.2
OS: Ubuntu 16
Erlang/OTP version (if building from source): NA
VerneMQ configuration (vernemq.conf) or the changes from the default: File Auth enabled
Cluster size/standalone: Standalone

Expected behavior
When ':' colon character is specified in password file and vmq-passwd -U option is used, then authentication does not work. If same password is entered using vmq-passwd -c option, it works.
Following are the traces:
$ cat vmq.passwd
user1::password
$ vim vmq.passwd
$ cat vmq.passwd
user1::password
$ vmq-passwd -U vmq.passwd
$ cat vmq.passwd
user1:$6$JvCpgOIadlgYwVGl$LIw2ZiZvVZcf83cmzmzp8z1JwoUz6vkNBLOn48YUXk6uTKS+epqTCHzq0eng4Xk7SLmwFkAVH+i4PYIPPTI1mw==
$ sudo cp vmq.passwd /etc/vernemq/vmq.passwd
$ sudo vernemq stop
ok
$ sudo vernemq start
$ ./mosquitto_sub.exe -d -h <broker_ip> -p 1883 -u user1 -P :password -t '/hello'
Connection Refused: bad user name or password.
Connection Refused: bad user name or password.
vernemq logs:
2019-02-22 10:28:58.428 [warning] <0.1422.0>@vmq_mqtt_fsm:check_user:542 can't authenticate client {[],<<"mosqsub|36484-DESKTOP-Q">>} due to
invalid_credentials
Actual behaviour
The behavior should be consistent with both vmq-passwd options (-c and -U), i.e. ':' colon character should be allowed in password field.

I quickly looked into this and this and the problems seems to be that strtok is used to scan the password entries for :s: https://github.com/vernemq/vernemq/blob/master/apps/vmq_passwd/c_src/vmq_passwd.c#L205
In the first call to strtok the username is retrieved, the second time for retrieving the password the empty string is returned. I'm sure we could work around this by using something else than strtok, but do we want to or should we simply document that updating files with : in the password doesn't work (exactly as we have with usernames)? What do you think @dergraf ?

But password as empty string will open a authentication security hole if it allows any password for that user.

As I understand it the problem is that if one uses a : in the plaintext password and upgrades the password file, then the password hash becomes whatever is between the username password : delimiter on the : in the password - and if : is the first character of the password the resulting password is the empty string - but it doesn't mean that any password is accepted.
Anyway, we're considering what to do about this.

I don't think we'll spend time trying to improve vmq-passwd -U but will rather deprecate that feature and remove it completely in VerneMQ 2.0 - I'll add a note in the docs about this pitfall.

Does 'vmq-passwd -c' is removed  as well in 2.0? We are using this feature to add/edit passwords at run-time.

vmq-passwd -c will remain.


Send Command to Alexa

Hi,
I am struggling to send a simple command to Alexa.
Like the same command as I would tell it by voice to Alexa (Alexa, set XXX to inactive)
Is this possible? Because I cant find any node which would fit for that case.
I tried something like with the Alexa Smarthome node, and the Action task, I can find the device within - but I am not sure what to send with the msg.payload to fill the action with info how to set the task.
Thanks for any help.

As I mentioned on #162 there may be a roundabout way of doing this with the new custom actions allowed at the end of routines (https://www.reddit.com/r/alexa/comments/jejjsi/alex_routine_custom_commands/)
It's currently only available in the US but you could create a routine with the custom command and then run that through this package.

I do have the Custom Command option in routines, was now wondering if this can be done "directly" via node-red, i.e. without the need to create a custom routine and trigger the routine via node-red?


Outdated documentation

A number of places in the documentation refer to "AddTemporarySigningCredential()" within the start up file however this method no longer exists and seems to be renamed to "AddDeveloperSigningCredential()"
As seen in http://docs.identityserver.io/en/aspnetcore1/quickstarts/2_resource_owner_passwords.html
FYI: I am willing to go an modify the docs.

I screwed up and didn't notice I was looking at the old docs for aspnetcore1. Sorry for wasting your time.


JsonMapperLoaderImpl class not found. Have you included the steps needed for LoganSquare to process your annotations?

Hi,
I am using your convert to retrofit 2.0. However, I am getting a RuntimeException when retrofit attempts to parse. Any idea why?
@JsonObject
public class LoginVO implements Serializable {
private static final long serialVersionUID =<PHONE_NUMBER>137474070L;
@JsonField(name = "success")
private boolean status;
@JsonField(name = "message")
private String message;
@JsonField(name = "token")
private String token;
@JsonField(name = "user")
private UserVO userVO;
public LoginVO() {
}

public LoginVO(boolean status, String message, String token, UserVO userVO) {
    this.status = status;
    this.message = message;
    this.token = token;
    this.userVO = userVO;
}

public boolean isStatus() {
    return status;
}

public void setStatus(boolean status) {
    this.status = status;
}

public String getMessage() {
    return message;
}

public void setMessage(String message) {
    this.message = message;
}

public String getToken() {
    return token;
}

public void setToken(String token) {
    this.token = token;
}

public UserVO getUserVO() {
    return userVO;
}

public void setUserVO(UserVO userVO) {
    this.userVO = userVO;
}

}

First things first, does serialization and parsing of this class work outside of the Retrofit context? Your exception hints at a misconfiguration of LoganSquare, not the converter itself.

I added .addConverter Factory (LoganSquareConverter Factory.create ()), compile "com.github.aurae.retrofit: convert logansquare: 1.1.0" and wrote the fields with JSONObject and JsonField. When I change to Gson, everything works normally! Any idea what could be the problem?

How are you pulling in the dependency on LoganSquare? As it relies on annotation processing to do its job, you need to add both the library and the processor to your build.gradle alongside the converter! Check out LoganSquare's docs forbmore of that. I will extend the readme to include some information on the configuration as well.

I will perform the test and I will tell you. I was thinking, if you already import dependence logan square on your converter, the user would not need to add too?

The library has an intrinsic dependency on LoganSquare, that's true. However, it doesn't include the annotation processing part, which is provided by external plugins (in this case, Hugo Visser's android-apt). Last time I checked, his plugin wasn't triggering annotation processing in transitive dependencies, which is another reason why you should add that yourself.


Second test does not run on Mac

What is your Scenario?
The first test has been completed successfully.
However, when I run the same test again, Testcafe does not start the test.
What is the Current behavior?
The browser starts, but the test page does not load.
What is the Expected behavior?
The same test ends again.
What is your public website URL? (or attach your complete example)
I have tried https://www.google.com/
What is your TestCafe test code?
import "testcafe";

fixture("simple test").page("https://www.google.com/")

test("test a", async (t) => {
});

Your complete configuration file
No response
Your complete test report
Using locally installed version of TestCafe.
Running tests in:

Chrome 97.0.4692.99 / macOS 10.15.7

simple test
ERROR The Chrome 97.0.4692.99 / macOS 10.15.7 browser disconnected. If you did not close the browser yourself, browser performance or network issues may be at fault.
Screenshots

Steps to Reproduce

Start Testcafe and make sure that Testcafe is terminated successfully.
Start Testcafe again with the same test code.
The browser starts, but the test page is not displayed.

TestCafe version
1.18.2
Node.js version
v12.9.0
Command-line arguments
testcafe chrome tests/simple.js
Browser name(s) and version(s)
chrome 97.0.4692.99
Platform(s) and version(s)
macOS 10.15.7
Other
Reload the page and the test will proceed.

Hello,
Unfortunately, we could not reproduce this behavior. Please send us your system overview as in the attached screenshot so we can investigate it further.

Also, please try running your example on a different browser and let us know if the problem persists in this case.

Hi.
This is my system overview.

I have tried safari/firefox, but the problem persists...

Hello,
We could not reproduce this behavior even with your configuration.
The issue can be related to third-party software. Please follow instructions outlined in the following issue. As a workaround, you can try setting the --hostname flag to localhost, e.g.,
testcafe chrome tests/simple.js --hostname localhost

I have tried what you suggested,  but
--hostname localhost -> not working

Created a node server -> the page opens with my IP address

Btw, I also investigated the state of the page in Developer Tools:

document.readyState is 'loading'
document.body is 'null'

and the state of the Network tab is as below:

Thank you for the additional information.
Please also try a different Node.js version (for instance, the latest LTS version 16.13) and see if this fixes the issue. If the issue persists, provide the following details:

Clarify if you see the same behavior with --hostname localhost or you are unable to run tests with this option at all?
Do you have any errors in the console?
After a problematic run, when are you able to run the same test successfully again (as during the first attempt)? After a certain time passes, after you restart the Mac, or after you run a different test?
Collect and send us a browser's HAR report. To do this, run TestCafe (the second attempt, when the issue manifests) in the remote mode (testcafe remote tests/simple.js) and copy the provided URL from the console. In Chrome, open the Network tab in the Developer tools, paste the URL in the address bar, then collect and share an HAR report.

@ozawakei did u find the solution?

Thank you for the follow up.
@GOPIRAJU11
I may have solved the issue by rebooting my Mac (unchecking "Reopen windows when logging back in").
@AlexanderMoiseev  and @VasilyStrelyaev
I appreciated and thank you for the support.
I have also tried

Node.js v16.3
"--hostname localhost" option.
I checked the developer console, but there was no error but the loading status of some js was "pending".


Simplify complex to quaternion

Current method transforms to angles which adds too much error in the computations.

The other option necessitates too many square root operations. Won't be changing this.


[Bug]: unable to load Wallet 2 when Wallet 1 is unused

Issue description
It´s not possible to add Wallet 2 to a Profile when Wallet 1 is unused. This is stated by the error message.
When funds are on Wallet 2 you are not able to access them and need some third address to get IOTA´s from there to get your Wallet running.
Expected behaviour
Add as many Wallets as you want, without the need to use the other Wallets.
Actual behaviour
As described
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue

Added new Profile to Firefly
Restore Wallet from Crysalis Ledger Backup
Try to add Wallet

Diagnostics
No response
Errors
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Tue, 15 Feb 2022 12:01:51 GMT
JsonError: invalid type: integer 14, expected struct AccountIndexation at line 1 column 3
Tue, 15 Feb 2022 11:57:27 GMT
JsonError: invalid type: integer 14, expected struct AccountIndexation at line 1 column 3
Tue, 15 Feb 2022 11:57:19 GMT
StrongholdError: failed to perform action: Engine Error: Crypto Error: error in algorithm XCHACHA20-POLY1305, Unable to read snapshot. Please try another password.``
Tue, 15 Feb 2022 11:57:11 GMT
JsonError: invalid type: integer 14, expected struct AccountIndexation at line 1 column 3
Tue, 15 Feb 2022 11:56:52 GMT
JsonError: invalid type: integer 14, expected struct AccountIndexation at line 1 column 3

Hi @trimat1, I am not able to reproduce your issue. Firefly should automatically find wallets with balances on your profile when you migrate from an existing Ledger or non-Ledger profile and add those wallets to your newly restored profile.
You might need to wait a bit for the profile to sync, but in your case, if you have a balance on Wallet 2 and not on Wallet 1 in the profile you are restoring, Wallet 2 will automatically be added to your profile as a wallet named Account 2 once Firefly finishes syncing.
If you are not experiencing this expected behavior, could you breakdown the steps more clearly on this issue? Your Firefly version and operation system would also be helpful.

Hi, is this still an issue in the latest version?

Closing due to inactivity, please reopen if the issue persists in the latest version


Job builder html templates

These shouldn't be visible on the site anywhere yet, but they can be used as a starting point for development of the final Job Poster Builder pages.

I want to merge this in, to make the changes in other pull requests, like #971, clearer


Exception when satisfying optional type parameter

Following statement raises an exception.
Integer bugTest<T>(T t) given T satisfies T? =>1; // error: the 'TypeHierarchyVisitor' caused an exception visiting a 'TypeConstraint' node: '"java.lang.UnsupportedOperationException: union types don't have well-defined equality"' at 'com.redhat.ceylon.model.typechecker.model.UnionType.equals(UnionType.java:176)'

This seems to be caused by a tricky situation:

Union types are disallowed by grammar , but de-sugaring T? into T|Nulloccurs after that, hence UnionType leaks.
Satisfying a TypeParameter is disallowed, but do not halt visitors to try to create the type hierarchy
TypeHierarchyVisitoradds TypeDeclarations into a Set, in order to perform a Topological Sort. But equality is undefined for union types, hence UnionType equalsmethod raises the exception

Fixed. Thanks for reporting @someth2say.


Access build-tools

I'd like to use apksigner, which is in the build-tools folder. How can I do this?

In the end, I had this in my pipeline:
- run: echo "$ANDROID_HOME/build-tools/34.0.0" >> $GITHUB_PATH"

Could be nice to have it in setup-android.


Missed Features

Hi,
The app is very nice but there are some major features missed. I mean something like favorite wallpapers, when I click on "favorite" shape (the heart) nothing happens and the same thing with saved image tab, it's unclickable.
The second thing is downloading the wallpaper, it's missed too.
So I hope you add these features soon. Thank you :)

Hi,
The app is very nice but there are some major features missed. I mean something like favorite wallpapers, when I click on "favorite" shape (the heart) nothing happens and the same thing with saved image tab, it's unclickable.
The second thing is downloading the wallpaper, it's missed too.
So I hope you add these features soon. Thank you :)

I will try to solve these issues as currently i don't have time so that's why i am not able to focus on this repositories

Otherwise you have a nice profile picture 📸

@Developer-Harsh , Bro can I message you please

@Developer-Harsh , Bro can I message you please

About what?

Something very important about this app only you can answer me. It's not about adding or editing something to it, but when I used it to upload a copy to Play Store, something happened. So please give me your email to explain more or here it is my email if you like<EMAIL_ADDRESS>I promise it won't take so much of you time.

Something very important about this app only you can answer me. It's not about adding or editing something to it, but when I used it to upload a copy to Play Store, something happened. So please give me your email to explain more or here it is my email if you like<EMAIL_ADDRESS>I promise it won't take so much of your time.

Okay, you can contact me through my social handles


Improve documentation of PKCS1 decryption functions

Changes: Document preconditions on the input and output buffers for the PKCS1 decryption functions

mbedtls_rsa_pkcs1_decrypt,
mbedtls_rsa_rsaes_pkcs1_v15_decrypt, and
mbedtls_rsa_rsaes_oaep_decrypt.

Internal reference: IOTSSL-638
Backports: Backports to mbed TLS 1.3 and 2.1 needed. Ready for current PR.

Update: Rebased on top of development, no changes.

Reviewed, approved and merged with development.


Automator: update ztunnel@master in istio/istio@master

Generated by Automator - 2023-12-15T15:13:30+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
4366f196acd1d4d7b657d7929caa6cf9eedc4646
link
true
/test integ-telemetry

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Tests pass with incorrect html layout

Challenge http://www.freecodecamp.org/challenges/waypoint-create-a-set-of-radio-buttons has an issue. Please describe how to reproduce it, and include links to screen shots if possible.
The following will pass the tests:
  <label>
    <input type="radio" name="indoor-outdoor">indoor
  <input type="radio" name="indoor-outdoor">outdoor
    <label> </label></label>

I think the test on this one need to be redone somehow differently perhaps?

Found this assert on another page (issue #1018 if you want to look what page it is) that works better for the label issue mentioned:
"assert($('label:has(input[type="checkbox"])').length > 2, 'Each of your three checkbox elements should be wrapped in its own label element.')",

Hey @digitaldak thanks for posting this.
Your code above wasn't formatted correctly so I edited it to use Code Formatting.
I've replicated this.

Update to this Challenge

 indoor
outdoor


Fractional pickup index

https://github.com/Canjie-Luo/MORAN_v2/blob/be56705c1e0c2fa960f443d77049903f37ce8251/models/fracPickup.py#L24
Shouldn't it be:
if idx <= 0 or idx >= x_shape[3]:

Have you tried picking idx using the maximum of x instead of randomly?
Is fractional pickup also used at inference time? Wouldn't the random nature of the function be a problem?

Emm, you are right. It's a bug. But I guess the "EOS" is near the x_shape[3] and your change may not bring improvement.
Actually, the fractional pickup is only used in the training. Thanks.


How to forward mail. Not an alias.

For example, postfix-accounts.cf defines 3 accounts.
<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS><EMAIL_ADDRESS>is used to receive all mail from other accounts.
If defined in postfix-virtual.cf
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Then, when sent to<EMAIL_ADDRESS>or<EMAIL_ADDRESS><EMAIL_ADDRESS>can receive mail.
However, there is no mail at<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Maybe this is the role of the alias.
But the function I want is to forward the mail. This means that when sent to<EMAIL_ADDRESS>both<EMAIL_ADDRESS>and<EMAIL_ADDRESS>have mail.
Forwarding and aliasing should be two different functions.
So how do you set up forwarding?

The alias/forward rule is first and after the rule the email is not valid anymore for A and B. You can use a sieve rule for forward the email on the A and B mailbox.

Can this be closed, or do we need to do something?

@erik-wramner sounds like a resolved question to me


Update WebAPI docs on new JSON writer and changelogs

Added changelog entry for Web API 8.0.11
Added changelog entry for Web API 7.5.16
Added new article under ASP.NET Web API/How-to section: Using Utf8JsonWriter to improve serialization performance

Docs Build status updates of commit ce24a23:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Odata-docs/changelog/aspnetcoreodata-8x.md
:white_check_mark:Succeeded
View

Odata-docs/changelog/webapi-7x.md
:white_check_mark:Succeeded
View

Odata-docs/TOC.yml
:white_check_mark:Succeeded
View

Odata-docs/webapi/using-utf8jsonwriter-to-improve-serialization-performance.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 673965c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Odata-docs/changelog/aspnetcoreodata-8x.md
:white_check_mark:Succeeded
View

Odata-docs/changelog/webapi-7x.md
:white_check_mark:Succeeded
View

Odata-docs/TOC.yml
:white_check_mark:Succeeded
View

Odata-docs/webapi/using-utf8jsonwriter-to-improve-serialization-performance.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit ea01308:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Odata-docs/changelog/aspnetcoreodata-8x.md
:white_check_mark:Succeeded
View

Odata-docs/changelog/webapi-7x.md
:white_check_mark:Succeeded
View

Odata-docs/TOC.yml
:white_check_mark:Succeeded
View

Odata-docs/webapi/using-utf8jsonwriter-to-improve-serialization-performance.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[WIP] Undo sequence pk assignement on ActiveRecord insert rolled back

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
?

Tests pass?
waiting ci

Fixed issues
#15788

It's more like a idea/draft.
I will try to improve it and make more tests. And need some feedback to know if it's suitable.


Retronas fails to start after install

output as follows:
Config file exists, not creating it
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package jq
Press [Enter] to continue...
After pressing enter, the program terminates.

what distro is this happening on?

debian 11

I installed the package and it's dependencies manually.
Now I am getting:  "Failed to select item for /opt/retronas/lib/common.sh:"

are you running retronas as root/sudo?

Yes.

common.sh uses jq to select menu items based from retronas.json i expect we're not finding whatever jq was manually installed
https://github.com/danmons/retronas/blob/c383aa9b1e3f6b9bb5e1b2a63215396ef99d5035/lib/common.sh#L166

I don't understand why it didn't install to begin with. I tried to use apt but it said the package was not found. I had to go hunt down the individual .deb files for the package and it's dependencies.
Well, okay... Now what?

need to work out why the debian11 install is broken, how was it installed iso etc? and which one?

Fresh install from debian website. I had to go to the archive to get a copy of 11, like I said it isn't just right there anymore.

Re-installing from scratch again, can't select a network mirror. None of them support debian 11.

Back to square one.
Re-installed from scratch. output of retronas follows:
Config file missing, creating it
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package jq
Press [Enter] to continue...

Followed instructions from this page: https://github.com/danmons/retronas/wiki/Installing-RetroNAS
as root:
apt update
apt full-upgrade
apt install -y curl
curl -O https://raw.githubusercontent.com/danmons/retronas/main/install_retronas.sh
chmod a+x ./install_retronas.sh
./install_retronas.sh
retronas

Debian 11 DVD iso was downloaded from here : https://cdimage.debian.org/cdimage/archive/11.7.0/amd64/iso-dvd/

Flashed to USB stick using rufus - mbr mode

To be clear, I've used dd if=/dev/zero of=/dev/nvmen01 (or whatever the drive was to wipe the drive.
Re-installed debian 11 from the dvd link I gave, followed the instructions I listed and got the results I copy/pasted.

i've just built a VM with 11.7.0 and installed retronas without any issues
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

i did however use debian-11.7.0-amd64-netinst.iso your issue might be down to an incomplete mirror or sources list
i have tried your DVD now, the apt sources list is incomplete on install, i suggest you try to fix this or use the netinst image
a working sources.list
root@testronas:~# cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 NETINST 20211218-11:12]/ bullseye main

#deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 NETINST 20211218-11:12]/ bullseye main

deb http://deb.debian.org/debian/ bullseye main
deb-src http://deb.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bullseye-updates main
deb-src http://deb.debian.org/debian/ bullseye-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
root@testronas:~#

this is however an OS issue not a retronas one, so i'm converting to from an issue to a discussion


unable to encode latest metadata with metadata codec

Given https://gist.github.com/ryanleecode/c0d2b7322f2252378dc50a969bd88772 as the latest metadata. Using metadata from substrate codec to encode it fails with:
file:///home/ryan/Documents/Repositories/capi/node_modules/scale-ts/dist/scale-ts.mjs:350
var VectorEnc = (inner, size) => size >= 0 ? (value) => mergeUint8(...value.map(inner)) : (value) => mergeUint8(compact.enc(value.length), ...value.map(inner));
                                                                                ^

TypeError: Cannot read properties of undefined (reading 'length')
    at Array.<anonymous> (file:///home/ryan/Documents/Repositories/capi/node_modules/scale-ts/dist/scale-ts.mjs:350:131)
    at file:///home/ryan/Documents/Repositories/capi/node_modules/scale-ts/dist/scale-ts.mjs:331:99
    at Array.map (<anonymous>)
    at file:///home/ryan/Documents/Repositories/capi/node_modules/scale-ts/dist/scale-ts.mjs:331:66
    at file:///home/ryan/Documents/Repositories/capi/node_modules/scale-ts/dist/scale-ts.mjs:93:54
    at Array.map (<anonymous>)
    at Array.<anonymous> (file:///home/ryan/Documents/Repositories/capi/node_modules/scale-ts/dist/scale-ts.mjs:350:149)
    at file:///home/ryan/Documents/Repositories/capi/node_modules/scale-ts/dist/scale-ts.mjs:331:99
    at Array.map (<anonymous>)
    at file:///home/ryan/Documents/Repositories/capi/node_modules/scale-ts/dist/scale-ts.mjs:331:66

Node.js v20.3.1

I've tried to reproduce the issue and everything seems to be working fine 🤔.
Please have a look at the test-broken-meta branch, that branch was created after the current main branch and basically what it has is a new package named experiments, which is what I've been using for running different sorts of experiments... Since I already had some code for getting the latest metadata from smoldot, the only thing that I had to do was to try to re-encoded, and everything seems to be working well.
In order to reproduce it, do this: checkout the test-broken-meta branch, run npm i from the root, then run npm run build (also from the root), and then go to packages/experimets and from inside that path run npm start.
Please fee free to make the necessary changes to reproduce the issue.
If I had to make a guess about what could have happened here, is that perhaps that latest-metadata.json file was generated with an old version of the metadata codec. Please keep in mind that the metadata codec has recently changed. So, if that file was created with the prior codec, then it wont work with the current one.
PS: I will be creating a PR later today to add the experiments package into the repo, so that we have a common playground for testing things. That should make everything easier: not just to test stuff, but also to show issues and/or ideas.

If I had to make a guess about what could have happened here, is that perhaps that latest-metadata.json file was generated with an old version of the metadata codec. Please keep in mind that the metadata codec https://github.com/paritytech/capi/pull/20. So, if that file was created with the prior codec, then it wont work with the current one.

Yeah, that's what happened: https://gist.github.com/ryanleecode/c0d2b7322f2252378dc50a969bd88772#file-latest_metadata-json-L9-L24

Yup that was indeed the issue. thx for investigating


GRID-272: Zoom-out clear canvas completely

@Dwaynekj Resolved. Issue was clearRect call was using the wrong dimensions.

@joneit As with Hypergrid we should fork.

👍

We'll get there.