Bukkit has default server commands after installing Multiverse

When I made my other world a Multiverse one it now uses vanilla server commands and Im afraid to make my main world a Multiverse one too because of that.
I do have backups but what's the solution to my problem?
Plugins I have:
Multiverse core+portal
World Edit
Essentials
FalseBook
and Citizens
bukkit [1240]

Please provide more information. This makes no sense " it now uses vanilla server commands".

I installed Multiverse, then used the import command to my other world, teleported there, found out I was stuck with the orginal Minecraft server commands: http://www.minecraftwiki.net/wiki/SMP_Server_commands
and no /spawn /mv etc. that come from bukkit and plugins.
I have understood I can use the bukkit commands but at the moment I have only the acess to those commands I linked and
have no trace about bukkit in the Multiverse world.

Please post the following info (as I'm treating this as a bug report):
https://github.com/Multiverse/Multiverse-Core/wiki/Submitting-a-Bug

Got my problem fixed, not your flaw, I didn't save my Essentials config file as a UTF-8 file type :I
Have a good day :P


Support from imjoy import api for python plugins

add a fake module called imjoy in web-python plugins (and also https://github.com/oeway/ImJoy-Engine/commit/3fa495ab2b72f509840f951fbc759edbef0a96c7 )
add docs for the import syntax

@MartinHjelmare please review this PR and merge it when you finished.


Reland fix custom task shell doesn't work without manually passing in "run command" arg/flag

This PR relands #181760
Fix https://github.com/microsoft/vscode/issues/181302
Fix https://github.com/microsoft/vscode/issues/169821

Tested various repos - this causes the default build task to fail in xterm.js for example

I just tested the change in the https://github.com/xtermjs/xterm.js repo but I don't see any differences between with this change and without, do you mind adding some more details about how it failed?

Tested various repos - this causes the default build task to fail in xterm.js for example

I just tested the change in the https://github.com/xtermjs/xterm.js repo but I don't see any differences between with this change and without, do you mi

nd adding some more details about how it failed?

Yep, my bad 🤦🏼♀ 😄


Support Bootstrap 5

Hi!
It would be great if your plugin would also support the new Bootstrap 5.
All the best from Vienna,
-D.R.

Really looking forward to this support! 👀

me too

Looking forward to using this with Bootstrap 5!


Create Profile for Bouge Alex Yusto

Name
Bouge Alex Yusto
Profile Image

Country
South Sudan
Region
Central Equatoria
Organisation
Spirit FM Yei
Languages
English (Good), Juba Arabic (Good), Keliko (Good), Kakwa (Good)
Skill 1
Media & Art
Qualifications for Skill 1
Diploma in Journalism and Mass Communication
Broadcast journalist in Spirit Fm Yei
Skill 2
Organizational Development
Qualifications for Skill 2
Station Manager
Skill 3
None
Qualifications for Skill 3
No response
Skill 4
None
Qualifications for Skill 4
No response
describe yourself
Buge Alex YUSTO is a talented broadcast journalist from South Sudan who worked with Spirit FM Yei, a local radio station based in the town of Yei. He is known for his commitment to delivering accurate and timely news and information to his listeners, and for his engaging and entertaining on-air personality. Buge Alex YUSTO has covered a range of topics during his career, including politics, social issues, and human rights, and has been recognized for his excellence in journalism by various organizations. He is passionate about using the power of the media to raise awareness and promote positive change in his community, and has played an important role in informing and educating his listeners on important issues affecting their lives. Overall, Buge Alex YUSTO is a highly respected journalist who has made significant contributions to the media industry in South Sudan.
E-Mail
<EMAIL_ADDRESS>Phone
+211925100062
WhatsApp
+211925100062
Website
No response
Telegram
No response
GitHub
No response
LinkedIn
No response
Twitter
No response
Facebook
https://www.facebook.com/buge.alexyusto.5
Instagram
No response
Mastodon
No response
WikiFab
No response
Other
No response

profile created


Commands are obsolete

Getting below error.
az ad signed-in-user show
This command or command group has been migrated to Microsoft Graph API. Please carefully review all breaking changes introduced during this migration: https://docs.microsoft.com/cli/azure/microsoft-graph-migration
/me request is only valid with delegated authentication flow.

@jiasli for awareness


Cascading case

There is a way to make a Cascading case changing the parameters within the turncontext.?

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

ID: 79129724-5f90-ac8d-6918-d5801a4e2001
Version Independent ID: 08e19b7b-2ec6-95da-2f5a-d534e761f5da
Content: Create your own prompts to gather user input - Bot Service
Content Source: articles/v4sdk/bot-builder-primitive-prompts.md
Service: bot-service
GitHub Login: @JonathanFingold
Microsoft Alias: v-jofing

@Diro92, What is the scenario you are trying to address?

You can cascade within a switch statement using the goto keyword?
You can change some of the properties of the activity in the current turn context, such as its Text property.

@Diro92 Please reopen this issue with more information if your problem still exists.

When passing the turncontext parametre through the methods it keeps the same values in the process.
The question is how to change the values that turncontext as an object has in any point.
For example:
turncontext.activity.text is something that remains the same. I have been able to manipulate this value.


Where to edit the css for the portal

Hi, Im looking to remove a few items from the portal display:
Remove bar at the top of the page with icon and client name
Remove powered by
Remove BullHorn logo
Which file should I use to edit this?
Thanks

Hello, if you are looking to customize the release version of the career portal, you are able to update the static/custom.css file.


Bug: VSCode v1.78.2 does not show badge/color for modified files in explorer

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.78
OS Version: Apple M1 Ventura 13.4

Steps to Reproduce:

Changed files show up in source control tabs; however, they dont show up in the explorer tab while I have the followings in my settings

    "explorer.decorations.badges": true,
    "explorer.decorations.colors": true,

I did see similar issues but none of them has a real solution. I am wondering if y'all can help me to figure out what should I do?

The image below shows the current behavior

I did also ran extension bisecting to see whether this is an issue with some extensions; however, it was not

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I have installed 1.78.2; the issue still remains

git@github.com:amirhessam88/my-dv-pal.git

similar issues without any resolutions:

https://github.com/microsoft/vscode/issues/176749

this seems related to this PR https://github.com/microsoft/vscode/pull/105656

CC @joaomoreno

Did this work in previous versions? Is there something special about your file structure?

@lramos15 Thanks for the response; I had an old version of vscode (prolly ~Sep2021 release) and upgraded my system and installed the latest one. I noticed the issue is related to the way code . works. Apparently, I did not have the code command installed on my path and I was getting away with code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;};
I learned this when I open the project via folder rather the command line. After that everything is working as expected.


Some questions about the training on the Kitti official datasets

Hi, thanks for your excellent work.
Could you share the training scripts on the Kitti official dataset, including the validation and test settings?

Thanks for your attention. We will add these details in an update as suggested. Perhaps you can refer to the official newcrfs github to modify the settings for urgent need.

Hi, the training, validation and test settings on the KITTI official dataset has been added.


Version 0.2.1 not resolving from maven central

For what ever reason
 testImplementation 'io.hosuaby:inject-resources-junit-jupiter:0.2.1'
 testImplementation 'io.hosuaby:inject-resources-core:0.2.1'

does not resolve locally for me, but changing to version 0.2.0 does (yet has a bug resolved in 0.2.1).
It's clearly in Maven https://repo1.maven.org/maven2/io/hosuaby/inject-resources-junit-jupiter/0.2.1/
This may resolve itself in time and/or simply a local issue to me, but I thought I'd give you a heads up in case it's an issue with the pom generation at build time.
fyi Gradle 6.8.3
also, moving to maven central after bintray abandoning open source projects is a pita.

Hello, @cwensel
I cleared the local gradle cache and downloaded 0.2.1 again.
Did you not forgot to add mavenCentral as you gradle repository:
repositories {
    mavenCentral()
}


Include boost::format in MathToolkit_impl.hpp.

Without this include, compilation fails on macOS Sierra with the following
error:
In file included from /tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/BoostIntegration.hpp:25:
/tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/MathToolkit_impl.hpp:56:22: error: no member named 'io' in
      namespace 'boost'
            % boost::io::group(std::setprecision(prec), inVal)
              ~~~~~~~^
/tmp/incubator-madlib-e1c99c1/src/dbal/BoostIntegration/MathToolkit_impl.hpp:55:31: error: no member named 'format' in
      namespace 'boost'
    std::string msg = (boost::format(inMessage)
                       ~~~~~~~^
2 errors generated.
make[2]: *** [src/ports/postgres/9.6/CMakeFiles/madlib_postgresql_9_6.dir/__/__/__/modules/assoc_rules/assoc_rules.cpp.o] Error 1
make[1]: *** [src/ports/postgres/9.6/CMakeFiles/madlib_postgresql_9_6.dir/all] Error 2
make: *** [all] Error 2

Thanks for the PR.  Part of:
Support for PostgreSQL 9.6 on all supported platforms incl macOS Sierra
https://issues.apache.org/jira/browse/MADLIB-1046

Merged with 0e00a27. Need to close this PR (either by @lifepillar or via a future commit message)


Decide what new features from ESRI will be incorporated into the UI.

ESRI may have new feature types or requirements for our UI to support the new data types they've been working on. We need to sync with them and make any determinations.

I think it's ok to close this as stale/completed.. We do include tree features now and I don't think there are any limitations to the kinds of data we can accept through the interface.


[PE-D][Tester D] Wrong title for User Guide & Developer Guide

Steps to reproduce:

Check the pdf file attached to the v1.5 release

Suggested behavior: may need to change to F.A.R.T to prevent confusion to reader

Labels: type.DocumentationBug severity.Low
original: SamsonChew/ped#13

Will unassign myself as this is same as #218


Register the Queue as singleton

Bullmanager can be cached this way to prevent recreating Queue at each import

Thanks!

it would be awesome to have a release with this one soon.


Any npm test randomly freezes

Hi all,
When i use the default install from:
npm init @open-wc

Any test randomly freezes, when i put on the debug log for karma i see that is freezes at the following line:
21 10 2019 11:22:02.372:DEBUG [middleware:karma]: Serving customContextFile<EMAIL_ADDRESS>21 10 2019 11:22:02.376:DEBUG [web-server]: serving<EMAIL_ADDRESS>21 10 2019 11:22:02.392:DEBUG [web-server]: serving: /open-wc-test/node_modules/karma/static/context.js

It doesn't give any warning or error message. When i interrupt the command i don't know what went wrong. Had anyone else this experience and maybe have a solution to how to fix karma not working all the time.
Environment Details

Karma version is 4.3.0
OSX version 10.14.6
Open-wc version ^2.3.4
karma.config.js file:

const { createDefaultConfig } = require('@open-wc/testing-karma');
const merge = require('webpack-merge');

module.exports = config => {
  config.set(
    merge(createDefaultConfig(config), {
      logLevel: config.LOG_DEBUG,
      files: [
        // runs all files ending with .test in the test folder,
        // can be overwritten by passing a --grep flag. examples:
        //
        // npm run test -- --grep test/foo/bar.test.js
        // npm run test -- --grep test/bar/*
        { pattern: config.grep ? config.grep : '/**/*.test.js', type: 'module' },
      ],

      esm: {
        nodeResolve: true,
      },
      // you can overwrite/extend the config further
    }),
  );
  return config;
};

Steps to reproduce the behaviour

"test:watch": "karma start --auto-watch=true --single-run=false --no-cache"

I tried this with a clean install, and I'm not getting any errors. Can you think of any specifics that might cause this? What options did you choose in the init?

It was my fault, i searched al the files in my project folder with:
**/*.test.ts
So it wouldn't exclude node_modules thats why it was idle and wouldn't run instant or fast.
I've changed it to:
src/**/*.test.ts


Export data to database connection issue

DBeaver  <IP_ADDRESS>201221033, win10x64.
Oracle Database.
Hi!
I am performing the following scenario - export from one database to another. First step - I choose export, go to field select.
See pic 1. I checked "create new table", then "create every field except one, not needed (i set "skip").
Then I go further to final confirmation. I got an connection error, ok. I press ok, then again, it reconnects and tries to repeat.
But somehow columns settings became again to "create" state, even that first, marked as "skip". I go back to columns, set "skip", go further, everything works.

@plotn Can you please explain what exactly you did after connection error? Have you finished the export or you closed the export wizard and opened it again after reconnect to retry?

I try to continue.
Oracle says, that he cannot create column "RowId", because it is system for him.
I go back to column settings and set [skip] AGAIN (I surely did it once).
Then it works (I press next, next, and so on).
NB: During all of this I do not close thr wizard

seems the issue is fixed in the scope of #15365


First npc

Added first a bit of randomized NPC.
You can talk to him a bit, not ideal, but still fun experience ^^

@Sal3k co to za jakieś .tmp pliki?


[iOS] ShowCardWizard.json: VoiceOver focus is not moving to the control under 'Name' button after activating 'Name' button.

Target Platforms
iOS
SDK Version
App Version: Version 1.0 (2.3.1-beta.20210823.1)
Application Name
Visualizer
Problem Description
ADO 35690892
Repro Steps:

Launch Adaptive Cards iOS application.
Home screen will appear.
Navigate to "V1.3" control and select it.
Navigate on  "V1.3" screen and select "Scenarios" button.
'Scenario' screen will appear.
Navigate to "ShowCardWizard.json" control and select it.
Navigate the 'ShowCardWizard.json' screen and eanble Voiceover for the ease of access.
Navigate to 'Name' button and activate it.
Try to navigate to the newly opened card and controls using swipe gesture and observe the issue.

Actual Result:
VoiceOver focus is not moving to the control under 'Name' button after activating 'Name' button. Voiceover focus remains stuck on 'Name' button.
Expected Result:
Voiceover focus should not stuck anywhere and all the content and controls should be accessible using swipe gestures with voiceover.
Screenshots
No response
Card JSON
ShowCardWizard.json

Sample Code Language
No response
Sample Code
No response

Reactivating this issue as this issue is still repro on the below environment.
Test Environment:
Device: iPhone 11
iOS: 15.5
Application: Adaptive Cards
App Version: 1.0 (2.4.0-beta.20220612.1)
Screen Reader: Voice Over
App Version: Version 1.0 (2.3.1-beta.20220620.1)
https://user-images.githubusercontent.com/95913748/176501726-8c1e8a56-a8ca-4ce0-9709-486c74860501.MP4

can you try this build?
https://appcenter.ms/orgs/Adaptive-Cards/apps/Adaptive-Cards-iOS-Visualizer/distribute/releases/141

Issue is fixed and closed already.
Verified in latest adaptive card build Version 1.0 (2.4.0-beta.20220718.1)


Document read visibility of mutable globals across goroutines

Globals in WebAssembly 1.0 (MVP) are alllowed to be mutable, and stored internally as a uint64. We need to internally guarantee visibility of writes across goroutines for these, or document that any module that uses a global mutable is not goroutine safe. The jist of the problem is in https://go.dev/ref/mem that there is "no guarantee that the write to done will ever be observed"
Details:
This recent comment from go underscores the existing memory model guarantee, that in a single goroutine writer model, ordering is preserved. It also vaguely mentions there are no shearing of machine-size words, which is good for our current and planned supported archs (64bit).
However, that same issue mentions and re-iterates the "possibly never" conditions on a write from another goroutine. Delayed reads of a mutable global are likely to be understood, but the "possibly never" would invalidate the point in having it mutable, unless you are guaranteed that these are pinned to a goroutine or all access is externally synchronized. I mention "all access" because global writes can also be done in wasm by global.set.

Another aspect related would be memory imports, though I suspect these are more likely to be understood as unsafe as they are always multi-word (page size is 64K)

Current Status:
Current thinking for globals is to leave mutability supported at scope of goroutine. This means any number of modules can share a global as long as they don't leave a goroutine.
Next Action:
To share mutable across goroutines requires end-user demand, as it is tricky to implement. Concretely, someone needs to ask for this, on this issue.
Details:
It is possible to implement mutable globals in such a way that writes are eventually visible to other goroutines. The simpler implementation of this is to use a go function to manage each mutable shared global (on config). A more sophisticated one would share a mutex compiled in JIT. The key is that both the host and wasm can mutate a global, and wasm is implemented in assembly if using JIT. This means implementation is trickier than a simple lock. Hence, end user demand needs to justify the effort!

I'm not really even sure mutable global import/export is a WebAssembly 1.0 (MVP) feature or not. I think it is, but raised https://github.com/WebAssembly/spec/issues/1425 to qualify

actually it is supported as looking at the diff, the following like was removed, and the published spec doesn't have this line:

In the current version of WebAssembly, only immutable globals may be exported.

Mutable globals are enabled by default, but can be disabled by RuntimeConfig now


Improving Data Analysis with Detailed Documentation and Security Measures

Description
This pull request includes various contributions aimed to enhance the Ontrack DAP. It includes enhancements to the student performance analysis code, the upload of an OnTrack DAP Ethical Report, a comprehensive Cybersecurity Plan Document, and detailed markdown files containing an analysis of various data visualization techniques.
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Documentation (update)

How Has This Been Tested?
The contributions were reviewed and tested locally. The Python code was tested in Python 3.8 and the visualizations were verified in the latest versions of Chrome, Safari, and Firefox. The ethical and cybersecurity documents were reviewed according to industry best practices and standards.
Testing Checklist:

[x] Tested in latest Chrome
[x] Tested in latest Safari
[x] Tested in latest Firefox

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Additional Details

OnTrack DAP Ethical Report: This report serves as a comprehensive guide to the ethical development and operation of the OnTrack DAP. It demonstrates our commitment to user privacy, data security, and legal compliance.

Cybersecurity Plan Document: The document outlines the proposed cybersecurity measures to ensure data integrity, privacy, and system resilience for the OnTrack DAP.

Data Visualizations Analysis: This contribution includes markdown files that contain detailed descriptions, pros and cons, scopes, and data collection methods for five different types of data visualizations.

/usr/bin/docker run --name ed866e4881fdcd2b234d9e876775017ea60522_b81e43 --label ed866e --workdir /github/workspace --rm -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/documentation/documentation":"/github/workspace" ed866e:4881fdcd2b234d9e876775017ea60522
No configuration file found at ./.linelint.yml (will use default configuration)
[EOF Rule] File "docs/OnTrack/Data Analytics Platform/Comprehensive Ethical Analysis of the OnTrack Data Analytics Platform.md" has lint errors
[EOF Rule] File "docs/OnTrack/Data Analytics Platform/Cybersecurity Planning Report for the OnTrack Data Analytics Platform.md" has lint errors
[EOF Rule] File "docs/OnTrack/Data Analytics Platform/ONTRACK Data Visualization.md" has lint errors
[EOF Rule] File "docs/OnTrack/Data Analytics Platform/analysis_and_visualization_student_performance.ipynb" has lint errors


Use case for rewind

Why do rewind / rewindLines exist? They have no effect on the token stream other than truncating it, and it seems like the following is semantically identical to the current implementation:
Lexer.prototype.rewind = function(index) {
  if (index > this.buffer.length) {
    throw new Error("Can't seek forwards")
  }
  this.re.lastIndex = 0
  this.buffer = ''
  return this
}

That passes all the tests other than checks against lexer.buffer, which seems like it should not be part of the public API anyway.

Interesting point! I guess that is currently true.
The idea is so moo can be used as part of a syntax highlighting framework (e.g. a custom CodeMirror mode). You can feed() a line at a time; when the input changes, CodeMirror restarts syntax highlighting from the first changed line.
I suppose if we had a way to save / get a handle to the current internal state (line number, state stack), rewind() wouldn't be needed? I'm not sure.

Perhaps we could allow passing a previous Token to reset()? The lexer could copy the line number off of the Token. This shifts the responsibility for keeping track of past tokens / line numbers onto the user, and avoids the need for rewind().
It would, however, mean keeping a reference to the state stack on the Token.

From #14:

a better API would be explicit saveState() and reset([input][, state]); the return value of saveState() would keep track of the state stack, line/column number, etc. That way the operations are reset(), which (re)sets all state and abandons the current stream, and feed(), which adds data to the end of the stream, and the token stream only includes information about the tokens themselves.


Labeling round objects

Hi,
Marking round objects is quite hard. After creating an label I always have to correct it.
Idea for enhancement is simple. Before creating the bounding box, vertical and horizontal line across the image will be displayed. After creating the starting point the lines will disappear. It will speed up labeling! See example below:

@szymonk92
Thanks to @jaewchoi , he has implemented it.

Great! Thanks for implementing the feature.


Needs a better explanation of when to use datatypes and dataFormats

Its unclear what exactly are the semantics of using dataformats vs datatypes vs dataformat traits and when to use them. .  It's clear for obviously novel datatypes like firstName, but not clear for more elementary types/formats like dateTime (is that a datatype or a dataFormat?).  A complete list of the standard datatypes dataformats and dataformat traits should be provided.

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

ID: 01f765fe-c882-24fc-19e3-79d800ddb030
Version Independent ID: 1029ed07-dac1-00d3-fff1-33af6c1c579d
Content: The Common Data Model logical definitions - Common Data Model
Content Source: common-data-model/sdk/logical-definitions.md
Service: common-data-model
GitHub Login: @MSFTMan
Microsoft Alias: Deonhe

@billgib Thanks for reporting this issue. We'll look into it and update the docs as necessary.


Fixing Docker Machine Cerficiation Generation

Description
Fixing Docker Machine Certification Generation (fixing #143 )
Migrations required
NO
Verification
Verified using public example
Documentation
N/A

@roock thanks, will check in the next days

@roock I have ported the change also for Terraform 0.12 #145


Updates endpoint pkg to use netip.Addr

Updates the endpoint pkg to use netip.Addr type instead of net.IP.
Partially Fixes: #24246

@christarazi thanks for the review. I've updated the PR based on your feedback, PTAL.

/test

@christarazi it looks like this PR is hitting a test flake. Is there anything I can do to help move this PR forward?

The job failing is not a required job. CI was complaining about the labels not being set properly, and I've fixed that. Now it's ready to merge. Merging, thanks for the PR!


Add OWASP Scan to CI/CD Pipeline

Set up rule sets to mirror NCC OWASP scans
Dependency: Need NCC scan requirements before this can be done. See action items for tracking this dependency.  Resolved, see reqs in Teams

Scanned the following three URLs and the results are below:
https://easey-dev.app.cloud.gov/api/facility-mgmt/swagger/
https://easey-dev.app.cloud.gov/api/monitor-plan-mgmt/swagger/
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/
Results at the following URL:
https://github.com/US-EPA-CAMD/easey-facilities-api/runs/1699853907?check_suite_focus=true

Scanned the following three URLs and the results are below:
https://easey-dev.app.cloud.gov/api/facility-mgmt/swagger/
https://easey-dev.app.cloud.gov/api/monitor-plan-mgmt/swagger/
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/
Results at the following URL:
https://github.com/US-EPA-CAMD/easey-facilities-api/runs/1699853907?check_suite_focus=true

Scanned the following three URLs and the results are below:
https://easey-dev.app.cloud.gov/api/facility-mgmt/swagger/
https://easey-dev.app.cloud.gov/api/monitor-plan-mgmt/swagger/
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/
Results at the following URL:
https://github.com/US-EPA-CAMD/easey-facilities-api/runs/1699853907?check_suite_focus=true

Scanned the following three URLs and the results are below:
https://easey-dev.app.cloud.gov/api/facility-mgmt/swagger/
https://easey-dev.app.cloud.gov/api/monitor-plan-mgmt/swagger/
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/
Results at the following URL:
https://github.com/US-EPA-CAMD/easey-facilities-api/runs/1699853907?check_suite_focus=true

WARN-NEW: Directory Browsing [0] x 1
131
https://easey-dev.app.cloud.gov/static/js/1.chunk.js/ (200 OK)
132
WARN-NEW: Incomplete or No Cache-control and Pragma HTTP Header Set [10015] x 4
133
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
134
https://easey-dev.app.cloud.gov/ (200 OK)
135
https://easey-dev.app.cloud.gov/robots.txt (200 OK)
136
https://easey-dev.app.cloud.gov/manifest.json (200 OK)
137
WARN-NEW: Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) [10037] x 12
138
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
139
https://easey-dev.app.cloud.gov/ (200 OK)
140
https://easey-dev.app.cloud.gov/robots.txt (200 OK)
141
https://easey-dev.app.cloud.gov/sitemap.xml (404 Not Found)
142
https://easey-dev.app.cloud.gov/favicon.ico (200 OK)
143
WARN-NEW: Content Security Policy (CSP) Header Not Set [10038] x 2
144
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
145
https://easey-dev.app.cloud.gov/ (200 OK)
146
WARN-NEW: Apache Range Header DoS (CVE-2011-3192) [10053] x 4
147
https://easey-dev.app.cloud.gov/favicon.ico (206 Partial Content)
148
https://easey-dev.app.cloud.gov/logo192.png (206 Partial Content)
149
https://easey-dev.app.cloud.gov/manifest.json (206 Partial Content)
150
https://easey-dev.app.cloud.gov/robots.txt (206 Partial Content)
151
WARN-NEW: CSP: Wildcard Directive [10055] x 1
152
https://easey-dev.app.cloud.gov/sitemap.xml (404 Not Found)
153
WARN-NEW: Cross-Domain Misconfiguration [10098] x 3
154
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
155
https://easey-dev.app.cloud.gov/api/facility-mgmt (404 Not Found)
156
https://easey-dev.app.cloud.gov/api/monitor-plan-mgmt (404 Not Found)
157
WARN-NEW: Absence of Anti-CSRF Tokens [10202] x 1
158
https://easey-dev.app.cloud.gov/static/js/1.chunk.js (200 OK)
159
WARN-NEW: Proxy Disclosure [40025] x 17
160
https://easey-dev.app.cloud.gov/ (200 OK)
161
https://easey-dev.app.cloud.gov/api (200 OK)
162
https://easey-dev.app.cloud.gov/api/emissions-mgmt (404 Not Found)
163
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger (301 Moved Permanently)
164
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
165
WARN-NEW: Trace.axd Information Leak [40029] x 2
166
https://easey-dev.app.cloud.gov/trace.axd (200 OK)
167
https://easey-dev.app.cloud.gov/api/trace.axd (200 OK)
168
WARN-NEW: .env Information Leak [40034] x 2
169
https://easey-dev.app.cloud.gov/.env (200 OK)
170
https://easey-dev.app.cloud.gov/api/.env (200 OK)
171
FAIL-NEW: 0	FAIL-INPROG: 0	WARN-NEW: 11	WARN-INPROG: 0	INFO: 0	IGNORE: 0	PASS: 104

WARN-NEW: Directory Browsing [0] x 1
131
https://easey-dev.app.cloud.gov/static/js/1.chunk.js/ (200 OK)
132
WARN-NEW: Incomplete or No Cache-control and Pragma HTTP Header Set [10015] x 4
133
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
134
https://easey-dev.app.cloud.gov/ (200 OK)
135
https://easey-dev.app.cloud.gov/robots.txt (200 OK)
136
https://easey-dev.app.cloud.gov/manifest.json (200 OK)
137
WARN-NEW: Server Leaks Information via "X-Powered-By" HTTP Response Header Field(s) [10037] x 12
138
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
139
https://easey-dev.app.cloud.gov/ (200 OK)
140
https://easey-dev.app.cloud.gov/robots.txt (200 OK)
141
https://easey-dev.app.cloud.gov/sitemap.xml (404 Not Found)
142
https://easey-dev.app.cloud.gov/favicon.ico (200 OK)
143
WARN-NEW: Content Security Policy (CSP) Header Not Set [10038] x 2
144
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
145
https://easey-dev.app.cloud.gov/ (200 OK)
146
WARN-NEW: Apache Range Header DoS (CVE-2011-3192) [10053] x 4
147
https://easey-dev.app.cloud.gov/favicon.ico (206 Partial Content)
148
https://easey-dev.app.cloud.gov/logo192.png (206 Partial Content)
149
https://easey-dev.app.cloud.gov/manifest.json (206 Partial Content)
150
https://easey-dev.app.cloud.gov/robots.txt (206 Partial Content)
151
WARN-NEW: CSP: Wildcard Directive [10055] x 1
152
https://easey-dev.app.cloud.gov/sitemap.xml (404 Not Found)
153
WARN-NEW: Cross-Domain Misconfiguration [10098] x 3
154
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
155
https://easey-dev.app.cloud.gov/api/facility-mgmt (404 Not Found)
156
https://easey-dev.app.cloud.gov/api/monitor-plan-mgmt (404 Not Found)
157
WARN-NEW: Absence of Anti-CSRF Tokens [10202] x 1
158
https://easey-dev.app.cloud.gov/static/js/1.chunk.js (200 OK)
159
WARN-NEW: Proxy Disclosure [40025] x 17
160
https://easey-dev.app.cloud.gov/ (200 OK)
161
https://easey-dev.app.cloud.gov/api (200 OK)
162
https://easey-dev.app.cloud.gov/api/emissions-mgmt (404 Not Found)
163
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger (301 Moved Permanently)
164
https://easey-dev.app.cloud.gov/api/emissions-mgmt/swagger/ (200 OK)
165
WARN-NEW: Trace.axd Information Leak [40029] x 2
166
https://easey-dev.app.cloud.gov/trace.axd (200 OK)
167
https://easey-dev.app.cloud.gov/api/trace.axd (200 OK)
168
WARN-NEW: .env Information Leak [40034] x 2
169
https://easey-dev.app.cloud.gov/.env (200 OK)
170
https://easey-dev.app.cloud.gov/api/.env (200 OK)
171
FAIL-NEW: 0	FAIL-INPROG: 0	WARN-NEW: 11	WARN-INPROG: 0	INFO: 0	IGNORE: 0	PASS: 104

Preliminary reports generated (no test data used)
https://drive.google.com/file/d/1zoH7IUp87uT4nFrdDWYjSmJaARFQzLXH/view?usp=sharing
https://drive.google.com/file/d/1YQ-q5Zx6LREkWxWZ94r4EPyTuOmRgL4M/view?usp=sharing
https://drive.google.com/file/d/1DMr8gmotV2Bz9VJRyQhmX64gU0q8Ant5/view?usp=sharing

ZAP Scan for APIs
https://www.zaproxy.org/docs/docker/api-scan/

OWASP ZAP Scans are scheduled to run for the following applications once a day:

Master Data Management
Monitor Plan Management
Emissions Management
Facilities Management

All the reports are uploaded to S3 bucket (s3://cg-85627a9c-7d48-446a-8cb7-5daa5c694169/zap-scan-reports/)
For every scan, there is an issue that is created under Devops repository for tracking purposes.
https://github.com/US-EPA-CAMD/devops/issues
Full reports can also be downloaded and the link is provided at the bottom of the issue that is created.

@jwhitehead77 will peer review to ensure he understands scanning & reporting


[TypeScript] iterationCount argument missing in redo/undo

Describe the bug
Type in index.d.ts:
public redo(): Promise;
public undo(): Promise;
Should be:
public redo(iterationCount: number): Promise;
public undo(iterationCount: number): Promise;
API:

@LeakAGeek
Thank you for the missing type report. PR will be reviewed soon.


Remove unused Jenkinsfiles [skip ci]

Jenkinsfile.databricks301nightly : already moved onto Blossom Gitlab repo
Jenkinsfile.merge: unused for a long time
Jenkinsfile.release: already moved onto Blossom Gitlab repo
Signed-off-by: Tim Liu<EMAIL_ADDRESS>

build

build


Add option to make config value more stricitive

Is your feature request related to a problem? Please describe.
ref: https://github.com/fluent/fluentd/issues/2607
Describe the solution you'd like
https://github.com/fluent/fluentd/pull/2615#issuecomment-530246816

We should improve this point to use Integer() or others.
This change has compatibility probolem so it will be implemented in v2 or via configuration.

Additional context

In #2685, I've implemented integer, float and bool cases.

In addition, support nil is better.
I sometimes see users use "#{ENV['SOME_ENV_VAR']}" in the configuration and they expect nil is  passed when no envvar. Currently, this is converted into "".

I'm now considering this case.
IMHO it shouldn't be treated as nil, empty string "" is the correct behavior.
I think their expectation is wrong because the document says
You can evaluate the Ruby code with #{} in " quoted string.

and #{ENV['SOME_ENV_VAR']} is evaluated as empty string in actual Ruby code.
irb(main):001:0> "#{ENV['SOME_ENV_VAR']}"
=> ""

so I don't expect nil for it.
If the literal is ENV['SOME_ENV_VAR'] (without #{}), I'll expect nil for it though:
irb(main):001:0> ENV['SOME_ENV_VAR']
=> nil

Is there any other case that nil should be supported?

In addition, support nil is better.

What does this expect in this feature?
nil can pass the validation even if the value is expected to be something type(String, Integer or whatever)?

Is there any other case that nil should be supported?

Handling for ENV['NONEXISTENT'] case?

I think their expectation is wrong because the document says

Yes but many users think it becomes nil and this is why users use username "#{ENV['XXX_USER'] || nil}" in many places. Of course, this doesn't work as expected.
Other apporch is adding <if ruby cond> approch to support ENV usecase like below.
<if ENV['XXX_USER']>
  username "#{ENV['XXX_USER']}"
</if>

Thanks for your comment.

Other apporch is adding  approch to support ENV usecase like below.
<if ENV['XXX_USER']>
  username "#{ENV['XXX_USER']}"
</if>

You mean that the parameter should be treated as "unspecified" (use the default value) if the value is 'nil', don't you? It's an interesting feature.
I think it should be treated as a different issue, it's a different feature from #2685.
We should determine the syntax for nil.
I'll file a new issue after completing #2685.

I think it should be treated as a different issue, it's a different feature from #2685.

+1
@repeatedly Could you tell me your thought?  I don't still understand what is "support nil".
https://github.com/fluent/fluentd/issues/2616#issuecomment-553729392

BTW
this is why users use username "#{ENV['XXX_USER'] || nil}" in many places. Of course, this doesn't work as expected.

Following dirty hacks may be effective for such case...
   username "#{ENV['XXX_USER'] || raise("no username")}"

   # launcher can detect it by the exit status
   username "#{ENV['XXX_USER'] || exit(123)}"

Ruby has Hash#fetch(https://apidock.com/ruby/Hash/fetch)
Isn't username "#{ENV.fetch('XX_USER')}" enough for such case?

Above works? I tested it and fluentd stopped by /path/to/lib/fluent/config/literal_parser.rb:171:in `instance_eval': key not found: "NUM" (KeyError) exception.

You mean that the parameter should be treated as "unspecified" (use the default value) if the value is 'nil', don't you? It's an interesting feature.

No. I show nil because almost plugins use nil for default value like below.
config_param :str_param, :string, :default => nil
config_param :num_param, :integer, :default => nil

Currently, str "#{ENV['STR'] || nil}" becomes '' and num "#{ENV['NUM'] || nil}" becomes 0 in plugin code but users think this becomes nil. We need to fix this gap.
I just notice helper method is also one adhoc approach like below:
 `num "#{ENV['NUM'] || use_default}"` or ``num "#{ENV['NUM'] || use_nil}"``

num_param "#{ENV['NUM'] || use_default}"  # raise specific exception to skip value processing. use default in config_param.
or
num_param "#{ENV['NUM'] || use_nil}"

I'm now confirming this concept in another branch:
https://github.com/ashie/fluentd/commit/f7b5914f5fa3a1fab240ee61508b0bf824d97b85
Implementing 'use_nil' seems possible, but 'use_default' seems difficult because default value isn't determined while parsing the config file. It's determined at Configurable::configure.

but 'use_default' seems difficult because default value isn't determined while parsing the config file. It's determined at Configurable::configure which is run after parsing config file (receives a parsed config as an argument).

Now I've noticed that it's possible by returning ":default" or something from LiteralParser and processing it at Config::STRING_TYPE.

I'm now confirming this concept in another branch:
https://github.com/ashie/fluentd/commit/f7b5914f5fa3a1fab240ee61508b0bf824d97b85

I've merged these changes to #2685, since they are based on changes in #2685.


ImportError: cannot import name 'contentviews'

The latest release and the HEAD copy are affected:
bash$ mitmproxy
#################################################
# mitmproxy only supports Python 3.5 and above! #
#################################################
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/mitmproxy", line 9, in <module>
    load_entry_point('mitmproxy==1.0.2', 'console_scripts', 'mitmproxy')()
  File "/usr/lib64/python3.4/site-packages/mitmproxy/tools/main.py", line 58, in mitmproxy
    from mitmproxy.tools import console
  File "/usr/lib64/python3.4/site-packages/mitmproxy/tools/console/__init__.py", line 1, in <module>
    from mitmproxy.tools.console import master
  File "/usr/lib64/python3.4/site-packages/mitmproxy/tools/console/master.py", line 25, in <module>
    from mitmproxy.tools.console import flowview
  File "/usr/lib64/python3.4/site-packages/mitmproxy/tools/console/flowview.py", line 9, in <module>
    from mitmproxy import contentviews
  File "/usr/lib64/python3.4/site-packages/mitmproxy/contentviews/__init__.py", line 24, in <module>
    from . import (
  File "/usr/lib64/python3.4/site-packages/mitmproxy/contentviews/auto.py", line 1, in <module>
    from mitmproxy import contentviews
ImportError: cannot import name 'contentviews'

I dont think it is a python3.4 problem.
The commit in questions is below:
https://github.com/mitmproxy/mitmproxy/commit/a7ba2f7b46b98d8d688706adf5b1d9495218a91d
mitmproxy/contentviews/auto.py
+from mitmproxy import contentviews
It must be a typo here as I don't think it makes sense to import its own module. I have commented out this line and the tool started to work.

Unfortunately, python 3.5 is not stable yet on my Linux of choice. I will try to upgrade and report back.
However, it would be sad to see that you don't "support" 3.4 because of one line (which is obviously wrong).

ok, that sounds promising. Thank you.
I have highlighted it above already. Please have a look at the following:
mitmproxy/contentviews/auto.py:
from mitmproxy import contentviews
``

I'm not python guru, but I don't think "contentviews" files need to import itself. Am I wrong?

contentviews.auto needs some stuff from contentviews/__init__.py, hence the import. I agree this is not intuitive (and can be refactored to be a bit easier to grasp), but that's valid Python code.

init is something like a constructor in python.  So it looks unorthodox then you import from it.  It has been already called during inititialisation.
And then,  you  have an another import of Auto class in it.  Looks like a recursive import to me...

Ok, I tested with python 3.5 and not able to reproduce the problem.
Just out for curiosity, I found that 3.5 started to support circular imports, see https://docs.python.org/3/whatsnew/3.5.html . The rationale behind that is to resolve potential weird parent-child relationship ( https://bugs.python.org/issue17636 )
However, I still think it is better not to create this complication intentionally.

Yes - this certainly isn't a particularly nice code structure. :)
The whole add/get etc functions scream to be moved into a class. I'd be happy for a PR that moves things around in a more sensible way.

Can I suggest to re-open the issue as it was not fixed there is some work need to be done.


Wrong width and height in viewBox when saving as SVG with window.devicePixelRatio !== 1

When saving image as SVG, the viewbox gets the wrong size in devices with window.devicePixelRatio !== 1, causing the image to be rendered in just a part of the desired space.
I was able to reproduce it here: https://jsfiddle.net/a18yLum9/1/, after downloading the 2 images, its easy to spot the difference in Inkscape.
The expected behavior is for the saved image to be the same, no matter the ratio, as in the 3.0.0-beta.3.
As far as I tested, the only difference between 3.0.0-beta.3 and 4.0.5 relating to this issue is the definition of the variable header at _toSVG, the former uses maxX and maxY in the viewBox dimensions, but this.canvas.width and this.canvas.height are used in the latter.

I think this is actually working as intended. If the dpr is 5 the resulting image should be 1/5 the size it is on the screen. This results in an image that is the same size as on the screen when displayed on a screen with dpr === 1.

#411 seems to have changed this


Haven't found where command replies

I am to create an ESL server to control FreeSWITCH calls. I try to follow an outbound socket example. So my FreeSWITCH sent an event stream to my ESL server and ESL server issued a playback command on FreeSWITCH but after this the server got stuck. Logs revealed that the server never returns from playback call. I started reading the source and found there the method send_recv of the EslConnection. The method awaits on a oneshot channel which is ok but I haven't found anywhere in the source code where any reply is sent via this channel.
Please tell me, am I doing something wrong? or is this a bug? or is this a work in progress?

Hi @akmitrich ,
Could you please share a minimal example so that I can review and check it?

The example is quite close to outbound.rs in examples folder...
pub async fn process_call(conn: freeswitch_esl::EslConnection) {
    log::info!("INCOMING {:?}", conn);
    log::trace!("[{:?}] Start Welcome", std::time::SystemTime::now());
    conn.playback("ivr/ivr-welcome.wav").await.unwrap();
    log::trace!(
        "[{:?}] Complete Welcome. Start sleeping",
        std::time::SystemTime::now()
    );
    tokio::time::sleep(tokio::time::Duration::from_secs(3)).await;
    log::trace!("[{:?}] Complete sleeping", std::time::SystemTime::now());
    conn.playback("ivr/ivr-you_entered.wav").await.unwrap();
    conn.playback("digits/5.wav").await.unwrap();
    log::trace!("[{:?}] PROCESS STOP", std::time::SystemTime::now());
}

#[tokio::main]
async fn main() {
    env_logger::init();
    let addr = "<IP_ADDRESS>:8085";
    log::info!("Wait for calls at {:?}", addr);
    let listener = freeswitch_esl::Esl::outbound(addr).await.unwrap();

    loop {
        let (socket, _) = listener.accept().await.unwrap();
        tokio::spawn(async move { nice::process_call(socket).await });
    }
}

The FreeSWITCH does play "ivr/ivr-welcome.wav" but my server never reaches "Complete Welcome. Start sleeping" line of code.

@KaranGauswami seems like I found the root of my problem.
my FreeSWITCH responds with -Err on command event json BACKGROUND_JOB CHANNEL_EXECUTE_COMPLETE which is issued by subscribe call. After that error channel in send_recv awaits forever because if let prevents from sending any command reply on line 155

Problem solved: in dialplan there must be full argument in socket app args.

Fixed the documentation in #14  to include the additional arguments.


LLaVA-NeXT-Interleave Training Details

Hello. Thanks for your excellent work!
Earlier, I reproduced LLaVA-NeXT-Image training and got the desired performance, and I am now trying to reproduce LLaVA-NeXT-Interleave training. I would like to inquire about the details of LLaVA-NeXT-Interleave's training.
What are the values of image_aspect_ratio and mm_patch_merge_type?
I notice that the config.json within lmms-lab/llava-next-interleave-qwen-7b has the setting
"image_aspect_ratio": "pad",
"mm_patch_merge_type": "flat",

Are the setting the same for training? Since the training data has some single-image data, I'm not sure whether single-image has to do AnyRes.

Hi, for image_aspect_ratio, you can set to anyres. For single-image data, we do anyres training. But do not use anyres for multi-image data to avoid excessive computation cost.

Thank you. I get it.

AnyRes provides sharing and flexible presentation between images, videos and multi-images, and I want to know exactly how to achieve it. Can you reveal some relevant codes?


Pre-training scripts should allow resuming from checkpoints

Description
Currently, the ELECTRA pre-training script can't resume from last checkpoint. It will be useful to enhance the script to resume from checkpoints.

Hi, is this issue open for contribution? If yes, I would like to work on it.

Hi @nandinib1999, contributions to GluonNLP are always welcome. Let us know if you have any questions.

Thanks a lot! I will try to set up the codebase tonight and will come back in case of any doubts.


Using displayed answer produces dissatisfying result

v2.15.9
?- X =.. "=\\", functor(X,F1,A1), functor((=(\)),F2,A2).
   X = (=(\)), F1 = (=), A1 = 1, F2 = F1, A2 = A1.

?- X =.. "=\\\\\\", functor(X,F1,A1), functor((=(\,\,\)),F2,A2).
   X = (=(\,\,\)), F1 = (=), A1 = 3, F2 = F1, A2 = A1.

?- X =.. "=\\\\", functor(X,F1,A1), functor((\=\),F2,A2).
   X = (\=\), F1 = (=), A1 = 2, F2 = \=\, A2 = 0.  % Expecting F2 = F1, A2 = A1

Flimsy excuse. Why is this false?
?- X =.. "=\\\\".
   X = (\=\).

?- X =.. "=\\\\", X = (\=\).
   false.

Trealla same(ish) as Scryer...
~/trealla (devel) $ scryer-prolog
?- X =.. "=\\", functor(X,F1,A1), functor((=),F2,A2).
X = (\ = ), F1 = (=), A1 = 2, F2 = =, A2 = 0.
?-
~/trealla (devel) $ tpl
Trealla Prolog (c) Infradig 2020-2023, v2.15.9-22-gb1a1
?- X =.. "=\\", functor(X,F1,A1), functor((=),F2,A2).
X = (=), F1 = (=), A1 = 2, F2 = =, A2 = 0.
?-
On Mon, May 8, 2023 at 6:35 AM flexoron @.***> wrote:

v2.15.9
?- X =.. "=\\", functor(X,F1,A1), functor((=),F2,A2).
X = (=), F1 = (=), A1 = 2, F2 = =, A2 = 0.  % Expecting F1 = F2, A1 = A2
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/164, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSEQGQ4MBEKBCICRRFGTXFABSDANCNFSM6AAAAAAXZDWHCA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

hmm ok, so displayed result useless(somehow):
?- X =.. "=\\\\", write_canonical(X).
=(\,\)   X = (\=\).

?- (\=\) =.. "=\\\\".
   false.

?- =(\,\) =.. "=\\\\".
   true.

?- [=,\,\] = "=\\\\".
   true.

?- X =.. [=,\,\].
   X = ((\)= (\)) .

?- X =.. "=\\\\".
   X = (\=\). % should be displayed like so:  X = ((\)= (\)) .

Sequence has unexpected influence on answer, too
?- X =.. [=,\,\], Y =.. "=\\\\".
   X = ((\)= (\)), Y = X .

?- Y =.. "=\\\\", X =.. [=,\,\].
   Y = (\=\), X = Y.

Print order is in variable encountered order. Strings have there own
printing, that it seems, that needs fixing.
On Tue, May 9, 2023 at 10:29 AM flexoron @.***> wrote:

Sequence has unexpected influence on answer, too
?- X =.. [=,,], Y =.. "=\\".
X = (()= ()), Y = X .
?- Y =.. "=\\", X =.. [=,,].
Y = (=), X = Y.
—
Reply to this email directly, view it on GitHub
https://github.com/trealla-prolog/trealla/issues/164#issuecomment-1539050686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFNKSETJGSI67E2T6C7JIJDXFGFWBANCNFSM6AAAAAAXZDWHCA
.
You are receiving this because you commented.Message ID:
@.***>


Bot does not send messages back to discord

Starting about 12 hours ago the  bot could no longer send messages it receives from irc  to discord, we have the latest version but can't seem to figure out whats blocking it.

+1 having this issue too

+1

Apparently a fix was released (see #110 ), but it hasn't resolved this problem for me.

The fix in the new patch doesn't work for me, either.

It appears that a specific version of discord.js fixes the problem. Running
npm uninstall discord.js
 npm install hydrabolt/discord.js#indev-old
fixed things for me. (found on the bot-development discord server)

Thank you @altyr - that fixed the problem for me, also

Hm, that's weird. The issue was resolved for me with the latest patch. #indev-old adds a commit that does the same thing as the patch I added, by prefixing bot tokens with Bot if they aren't already. The latest version of discord.js is 9.1.0, while we're using 8.1.0. I'm a bit hesitant to upgrade, as it requires Node.js 6 and upwards (which means discord-irc would need to do the same).

Apparently there were a few more bug fixes in #indev-old that were needed. I've replaced my previous commit with a dependency change to that version of discord.js, so the issue should be resolved in the latest version of discord-irc now (1.0.3). Let me know if it isn't, and I'll reopen this.


feat(windows): add support for individual border character highlights

Hide type warnings when using a table with character highlights:

This is supported by the neovim API, so no other code changes were required 🙂

Thanks!


don't seem to work with firefox 115 on windobz 11

New Issue Checklist (tick off like this: [x])

[X] I checked existing issues (open and closed) for possible duplicates
[X] I can reproduce the problem on the latest stable version (not nightly!)
[] If you have a problem with a specific website: adding the domain to your no-skip-urls-list does not solve the problem
[] The issue is not about adding entries to the default no-skip-urls-list

What is your browser?

[X] Firefox
[ ] Chrome

What is your operating system?

[ ] Linux
[ ] Mac
[X] Windows

Description (please include examples/screenshots where applicable)
doesn't skip redirect popup on firefox  115 .
match pattern used to test  : ://.ubuntu-fr.org/*

I get an error: Please use $(ref:runtime.getURL) because browser.extension.getURL is deprecated. But that shouldn't be an error as long as browser.extension.getURL has not been removed. So I think that's a Firefox bug.


Fade in and out for Menu commands

Since fading in and out for Say commands is a thing, it feels like Fade In should also be an option for Menu commands also.
Screenshots
Menus are always displayed instantly, no fade available:

@TheEmbracedOne  I made a pr for this, perhaps you can try them out. Thanks!

@breadnone thanks I'll try it asap!

Hey @breadnone I tried your PR but I'm running into issues with it. I triple checked the code and the only differences are as follows (these should not interfere I think):
instead of [SerializeField] protected bool autoSelectFirstButton = false;
I have [SerializeField] public bool autoSelectFirstButton = true;
I have this custom code:
        public void TurnOnAutoFirstSelect() {
            autoSelectFirstButton = true;
        }

        public void TurnOffAutoFirstSelect() {
            autoSelectFirstButton = false;
        }

and in private bool AddOption, instead of:
            button.gameObject.SetActive(true);
            button.interactable = interactable;
            if (interactable && autoSelectFirstButton && !cachedButtons.Select(x => x.gameObject).Contains(EventSystem.current.currentSelectedGameObject)) {
                EventSystem.current.SetSelectedGameObject(button.gameObject);
            }

I have:
            button.gameObject.SetActive(true);
            button.interactable = interactable;
            if (interactable && autoSelectFirstButton && !cachedButtons.Select(x => x.gameObject).Contains(EventSystem.current.currentSelectedGameObject)) {
                EventSystem.current.SetSelectedGameObject(button.gameObject);
                //custom
                button.Select();
                //custom
            }

With that out of the way, I have added a CanvasGroup to the gameobject that has the MenuDialog on it and set the fade enabled, and set the time to 0.5.
What happens is, after the first time I click a menu option, the menudialogue fades to 0 then 1, but then it gets disabled (SetActive(false)) somehow.  Any idea what might cause this? I attached a gif of the problem in action.

autoSelectFirstButton, protected is the default form fungus. As for the behavior, it fades, then set to inactive, that is also the default behavior of Fungus MenuDialog, just added fade out in between. Nothing changed other than just fading in/out before and after calling the MenuDialog.
The goal of that pr is just fade in/out in general and not for specific user use cases, sorry to say.
Seems to me you have modified/non-standard MenuDialog, it should look like this
https://user-images.githubusercontent.com/64100867/121836588-f2f70800-ccfd-11eb-9da9-d6615756a9a0.mp4

What happens in your video is what happens in my case, too, but the MenuDialog REMAINS inactive even after the next block calls for menus that use it.
None of my modifications should interfere with this however, but just to be sure, I have copypasted the entirety of your PR, overriding my changes completely. Now the code is identical and the exact same thing happens:
https://user-images.githubusercontent.com/16197906/121941994-7e44bd80-cd3f-11eb-8e60-92546b39f1a9.mp4
If I put a 1 sec wait to the next block that I navigate to via the Menu option, the fade itself works:
https://user-images.githubusercontent.com/16197906/121942402-f612e800-cd3f-11eb-8376-2d448f31b406.mp4
However the MenuDialog remains inactive so whatever Menus I have in the next block to display further options are not displayed.
as for the behavior, it fades, then set to inactive, that is also the default behavior of Fungus MenuDialog
not quite! The MenuDialog itself doesnt get deactivated, only the buttons (this is a recording with the default fungus MenuDialog) UNLESS you go to another flowchart!
These menus take you from node to node inside the same flowchart. Note the MenuDialog doesnt deactivate, only the buttons:
https://user-images.githubusercontent.com/16197906/121943686-5ce4d100-cd41-11eb-9093-be805ed9903d.mp4
Here the "Settings" menu takes you to a different flowchart. Note the MenuDialog temporarily deactivates:
https://user-images.githubusercontent.com/16197906/121944175-e399ae00-cd41-11eb-96e8-0e16429451b5.mp4

@TheEmbracedOne I see what you mean now, yeah I missed that part. Could you pls test it again? Thanks!

For logkeeping purposes, I have now taken the #991 PR and it works as a solution for this, but by hiding the canvas. This has been reverted since because it probably isnt a good longterm solution, so I wont close this issue for the time being.

As discussed on discord, hiding it would block the raycast under it. This won't be a problem for users who are well aware on how Unity's work as the can just toggle off the blockraycast, but it would cause confusions/problems for newbies...


share_uuid

I've looked everywhere.

Docs
Settings
API code

What is the share_uuid and where can I get it from?

share_uuid comes from the response of the get_share endpoint.
Please see https://developers.bringg.com/v1.0/reference#get-share-1 for more information.


Add unit tests

Using https://github.com/jbomanson/kak-spec.kak

The recent fix for v2022.10.31 simplified the code, and I don't expect it to be as difficult to maintain moving forward. I don't think unit tests are necessary anymore.


Ghost notifications

It appears as if I’m getting notifications for super basic reasons like reactions, it may be my imagination!
I’ll take an action to see if that’s true, as it might be related to removing the change which enables code changes to trigger notifications
May need a whitelist of reasons.

Bug Report Dump (Auto-generated)

Version 1.13.0 (1192)
Device: iPhone 6s Plus (iOS 11.2)
TestFlight: true

Can’t assign yet but this is mine 😂
Sent with GitHawk

Test12

Hmm will monitor, but I've tried a few different things n looks like it may have just been an event that GitHawk doesn't display 🤷♂

Or a comment that was removed after?


LICENCE

What licence is this under?

@zitterbewegung I just added a license! Sorry for the delay. I picked the MIT license since it seems to be one of the free-er and more open ones.
Thank you for pointing this out!


Type aliases for common patterns?

It is very frequent to have type signatures that look like one of the following:

Monad m => Fixture m (not using writer or state)
Fixture (TestFixture Fixture [Something] ()) (only using writer)

Would it make sense to provide type aliases for these cases, especially when paired with mkFixture? What could they be called?

Some suggestions:
type Fixture' = Fixture (TestFixture Fixture () ())
type FixtureW w = Fixture (TestFixture Fixture w ())
type FixtureS s = Fixture (TestFixture Fixture () s)
type FixtureWS w s = Fixture (TestFixture Fixture w s)


Error formatting document

Hey there! I'm getting this error in the VS code output console when trying to format a rather large .vue file. (SFC with script setup). I tried a bunch of files and this one isn't formatting properly, all others work super smooth. I can't share the exact file but I can provide some more details if necessary.
prettier version: 2.5.1
prettier-plugin-tailwindcss version: 0.1.3
tailwindcss version: 3.0.16
["ERROR" - 8:15:05 AM] Error formatting document.
TypeError: Cannot read property 'includes' of null
    at Lr (/Users/.../node_modules/prettier-plugin-tailwindcss/dist/index.js:145:943)
    at n (/Users/.../node_modules/prettier-plugin-tailwindcss/dist/index.js:145:2520)
    at n (/Users/.../node_modules/prettier-plugin-tailwindcss/dist/index.js:145:2956)
    at n (/Users/.../node_modules/prettier-plugin-tailwindcss/dist/index.js:145:2956)
    at n (/Users/.../node_modules/prettier-plugin-tailwindcss/dist/index.js:145:2956)
    at n (/Users/.../node_modules/prettier-plugin-tailwindcss/dist/index.js:145:2956)
    at Object.parse (/Users/.../node_modules/prettier-plugin-tailwindcss/dist/index.js:145:2363)
    at Object.parse$d [as parse] (/Users/.../node_modules/prettier/index.js:12975:19)
    at coreFormat (/Users/.../node_modules/prettier/index.js:14525:16)
    at formatWithCursor$1 (/Users/.../node_modules/prettier/index.js:14765:14)
    at /Users/.../node_modules/prettier/index.js:60959:12
    at Object.Success [as format] (/Users/.../node_modules/prettier/index.js:60979:12)
    at t.default.<anonymous> (/Users/.../.vscode/extensions/esbenp.prettier-vscode-9.1.0/src/PrettierEditService.ts:435:45)
    at Generator.next (<anonymous>)
    at s (/Users/.../.vscode/extensions/esbenp.prettier-vscode-9.1.0/dist/extension.js:1:7872)

@rbluethl Are you able to provide the full source code of the file in question so that we're able to reproduce this?

@reinink sure - sent you an email! Thanks for looking into it.

@rbluethl Got it, thanks 👍

Hey @rbluethl. I was able to reproduce the error you were seeing by using an empty class attribute (e.g. <div class>), and this has been fixed in v0.1.4 👍 Thanks for reporting!

Hey @bradlc! That's nice - thank you very much! Just updated to 1.0.4 and noticed that my file is still not formatting. I digged a bit and found that this expression: :class="getPayableFolioAmount(item.folios![0].id!) > 0 ? 'text-red-700' : 'text-gray-900'" causes the formatter to fail.

@rbluethl Are you certain that you're on 0.1.4? You may need to run the Developer: Restart Extension Host command in VS Code to get the Prettier extension to pick up the new version

Ah, snap! That was it... sorry for that! Thank you for the awesome plugin & quick help/fix! 👍


Machete Pouch

https://cm-ss13.com/wiki/Marine_Equipment#Machete_Pouch

https://github.com/CM-14/CM-14/pull/762


Fix minor typo

Tiny typo in README.md (is this really worth a note in the changelog? I can update)

Good call, thanks!


calico-node init failed with pod error Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused

I am trying to build a lastest k8s cluster in production environment,following the Official documentation Install using Helm to install calico without values.yaml. After installation，the calico-node pod can't be healthly
Your Environment

Calico version v3.27.3
Orchestrator version (e.g. kubernetes, mesos, rkt):  k8s 1.30.0
Operating System and version: Alibaba Cloud Linux 3.2104
$kubectl describe pod calico-node-ttkpm -n calico-system
`Name:                 calico-node-wpght
Namespace:            calico-system
Priority:<PHONE_NUMBER>
Priority Class Name:  system-node-critical
Service Account:      calico-node
Node:                 node/<IP_ADDRESS>
Start Time:           Tue, 23 Apr 2024 00:59:53 +0800
Labels:               app.kubernetes.io/name=calico-node
controller-revision-hash=759f6bdfdd
k8s-app=calico-node
pod-template-generation=1
Annotations:          hash.operator.tigera.io/cni-config: 7c3d4f43aed6c9f83376215a5e9a368bef0902a0
hash.operator.tigera.io/system: fdde45054a8ae4f629960ce37570929502e59449
tigera-operator.hash.operator.tigera.io/tigera-ca-private: 6a3b26e24035401f2a37e6910a29c987244ab792
Status:               Running
IP:                   <IP_ADDRESS>
IPs:
IP:           <IP_ADDRESS>
Controlled By:  DaemonSet/calico-node
Init Containers:
flexvol-driver:
Container ID:    containerd://ec434aa491dcb113c9cc1efa70f950e7e7d58c4bb0435d2e400bbd597a4198ea
Image:           docker.io/calico/pod2daemon-flexvol:v3.27.3
Image ID:        docker.io/calico/pod2daemon-flexvol@sha256:7c559ca2c1f476caee87c8db6140d017e8bc2f1f1b0b57103c33dba172c09097
Port:
Host Port:
SeccompProfile:  RuntimeDefault
State:           Terminated
Reason:        Completed
Exit Code:     0
Started:       Tue, 23 Apr 2024 00:59:54 +0800
Finished:      Tue, 23 Apr 2024 00:59:54 +0800
Ready:           True
Restart Count:   0
Environment:
Mounts:
/host/driver from flexvol-driver-host (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-fv4c7 (ro)
install-cni:
Container ID:    containerd://ce4ad7b7869b4f9fc6c5be4d69b285251c37210f9b820c01aa8e33a7ac20f922
Image:           docker.io/calico/cni:v3.27.3
Image ID:        docker.io/calico/cni@sha256:1f2c6a13d436b2ae056edd46552d23279d3aaf5d79152fb88cd959b634acfd6f
Port:
Host Port:
SeccompProfile:  RuntimeDefault
Command:
/opt/cni/bin/install
State:          Terminated
Reason:       Completed
Exit Code:    0
Started:      Tue, 23 Apr 2024 00:59:55 +0800
Finished:     Tue, 23 Apr 2024 00:59:57 +0800
Ready:          True
Restart Count:  0
Environment:
CNI_CONF_NAME:            10-calico.conflist
SLEEP:                    false
CNI_NET_DIR:              /etc/cni/net.d
CNI_NETWORK_CONFIG:       <set to the key 'config' of config map 'cni-config'>  Optional: false
KUBERNETES_SERVICE_HOST:  <IP_ADDRESS>
KUBERNETES_SERVICE_PORT:  443
Mounts:
/host/etc/cni/net.d from cni-net-dir (rw)
/host/opt/cni/bin from cni-bin-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-fv4c7 (ro)
Containers:
calico-node:
Container ID:    containerd://74c570c3236a302657261a903401a2eccde6f6481f6f7a2ec0654ce1b18195f3
Image:           docker.io/calico/node:v3.27.3
Image ID:        docker.io/calico/node@sha256:78dadbe45a1a76f685d5fa777fdec807a86368b8e748cb27dad14723e233803c
Port:
Host Port:
SeccompProfile:  RuntimeDefault
State:           Running
Started:       Tue, 23 Apr 2024 00:59:58 +0800
Ready:           True
Restart Count:   0
Liveness:        http-get http://localhost:9099/liveness delay=0s timeout=10s period=60s #success=1 #failure=3
Readiness:       exec [/bin/calico-node -bird-ready -felix-ready] delay=0s timeout=10s period=30s #success=1 #failure=3
Environment:
DATASTORE_TYPE:                      kubernetes
WAIT_FOR_DATASTORE:                  true
CLUSTER_TYPE:                        k8s,operator,bgp
CALICO_DISABLE_FILE_LOGGING:         false
FELIX_DEFAULTENDPOINTTOHOSTACTION:   ACCEPT
FELIX_HEALTHENABLED:                 true
FELIX_HEALTHPORT:                    9099
NODENAME:                             (v1:spec.nodeName)
NAMESPACE:                           calico-system (v1:metadata.namespace)
FELIX_TYPHAK8SNAMESPACE:             calico-system
FELIX_TYPHAK8SSERVICENAME:           calico-typha
FELIX_TYPHACAFILE:                   /etc/pki/tls/certs/tigera-ca-bundle.crt
FELIX_TYPHACERTFILE:                 /node-certs/tls.crt
FELIX_TYPHAKEYFILE:                  /node-certs/tls.key
FIPS_MODE_ENABLED:                   false
FELIX_TYPHACN:                       typha-server
CALICO_MANAGE_CNI:                   true
CALICO_IPV4POOL_CIDR:                <IP_ADDRESS>/16
CALICO_IPV4POOL_IPIP:                Always
CALICO_IPV4POOL_BLOCK_SIZE:          26
CALICO_IPV4POOL_NODE_SELECTOR:       all()
CALICO_IPV4POOL_DISABLE_BGP_EXPORT:  false
CALICO_NETWORKING_BACKEND:           bird
IP:                                  autodetect
IP_AUTODETECTION_METHOD:             first-found
IP6:                                 none
FELIX_IPV6SUPPORT:                   false
KUBERNETES_SERVICE_HOST:             <IP_ADDRESS>
KUBERNETES_SERVICE_PORT:             443
Mounts:
/etc/pki/tls/cert.pem from tigera-ca-bundle (ro,path="ca-bundle.crt")
/etc/pki/tls/certs from tigera-ca-bundle (ro)
/host/etc/cni/net.d from cni-net-dir (rw)
/lib/modules from lib-modules (ro)
/node-certs from node-certs (ro)
/run/xtables.lock from xtables-lock (rw)
/var/lib/calico from var-lib-calico (rw)
/var/log/calico/cni from cni-log-dir (rw)
/var/run/calico from var-run-calico (rw)
/var/run/nodeagent from policysync (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-fv4c7 (ro)
Conditions:
Type                        Status
PodReadyToStartContainers   True
Initialized                 True
Ready                       True
ContainersReady             True
PodScheduled                True
Volumes:
lib-modules:
Type:          HostPath (bare host directory volume)
Path:          /lib/modules
HostPathType:
xtables-lock:
Type:          HostPath (bare host directory volume)
Path:          /run/xtables.lock
HostPathType:  FileOrCreate
policysync:
Type:          HostPath (bare host directory volume)
Path:          /var/run/nodeagent
HostPathType:  DirectoryOrCreate
tigera-ca-bundle:
Type:      ConfigMap (a volume populated by a ConfigMap)
Name:      tigera-ca-bundle
Optional:  false
node-certs:
Type:        Secret (a volume populated by a Secret)
SecretName:  node-certs
Optional:    false
var-run-calico:
Type:          HostPath (bare host directory volume)
Path:          /var/run/calico
HostPathType:
var-lib-calico:
Type:          HostPath (bare host directory volume)
Path:          /var/lib/calico
HostPathType:
cni-bin-dir:
Type:          HostPath (bare host directory volume)
Path:          /opt/cni/bin
HostPathType:
cni-net-dir:
Type:          HostPath (bare host directory volume)
Path:          /etc/cni/net.d
HostPathType:
cni-log-dir:
Type:          HostPath (bare host directory volume)
Path:          /var/log/calico/cni
HostPathType:
flexvol-driver-host:
Type:          HostPath (bare host directory volume)
Path:          /usr/libexec/kubernetes/kubelet-plugins/volume/exec/nodeagent~uds
HostPathType:  DirectoryOrCreate
kube-api-access-fv4c7:
Type:                    Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds:  3607
ConfigMapName:           kube-root-ca.crt
ConfigMapOptional:
DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              kubernetes.io/os=linux
Tolerations:                 :NoSchedule op=Exists
:NoExecute op=Exists
CriticalAddonsOnly op=Exists
node.kubernetes.io/disk-pressure:NoSchedule op=Exists
node.kubernetes.io/memory-pressure:NoSchedule op=Exists
node.kubernetes.io/network-unavailable:NoSchedule op=Exists
node.kubernetes.io/not-ready:NoExecute op=Exists
node.kubernetes.io/pid-pressure:NoSchedule op=Exists
node.kubernetes.io/unreachable:NoExecute op=Exists
node.kubernetes.io/unschedulable:NoSchedule op=Exists
Events:
Type     Reason     Age                    From               Message

Normal   Scheduled  5m40s                  default-scheduler  Successfully assigned calico-system/calico-node-wpght to node
Normal   Pulled     5m39s                  kubelet            Container image "docker.io/calico/pod2daemon-flexvol:v3.27.3" already present on machine
Normal   Created    5m39s                  kubelet            Created container flexvol-driver
Normal   Started    5m39s                  kubelet            Started container flexvol-driver
Normal   Pulled     5m38s                  kubelet            Container image "docker.io/calico/cni:v3.27.3" already present on machine
Normal   Created    5m38s                  kubelet            Created container install-cni
Normal   Started    5m38s                  kubelet            Started container install-cni
Normal   Pulled     5m36s                  kubelet            Container image "docker.io/calico/node:v3.27.3" already present on machine
Normal   Created    5m35s                  kubelet            Created container calico-node
Normal   Started    5m35s                  kubelet            Started container calico-node
Warning  Unhealthy  5m33s (x2 over 5m34s)  kubelet            Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused`

cat calico-node's container log, some error log:
`
2024-04-23T01:00:01.370346526+08:00 2024-04-22 17:00:01.367 [ERROR][75] confd/resource.go 318: Error from checkcmd "bird -p -c /etc/calico/confd/config/.bird.cfg2832451251": "bird: /etc/calico/confd/config/.bird.cfg2832451251:6:1 Unable to open included file /etc/calico/confd/config/bird_aggr.cfg: No such file or directory\n"
2024-04-23T01:00:01.370348574+08:00 2024-04-22 17:00:01.367 [INFO][75] confd/resource.go 252: Check failed, but file does not yet exist - create anyway
`
It was the last first that I built k8s cluster  and I have tried many times,any useful troubleshooting ideas would be helpful, thanks!

Hello, I also encountered this problem, have you solved it?

Hello, I also encountered this problem, have you solved it?
well,What should I say?  I overloaded the system and run the installation script ，then everything is ok,the  biggest difference between this time and the previous one maybe the
addition of kernel model nf_conntrack(case offical document shows nf_conntrack_ipv4,it can't be recognized by the
my system's kernel,I removed it),hope this can help you


Not building when installing from github repo

I am trying to fork this repo and installing the forked repo with npm (npm i emillime/ngx-pinch-zoom). When doing this it does not seem to build the library. Maybe adding a postinstall script would help?
I tried to add that myself but even after building manually I get the error Cannot find module 'ngx-pinch-zoom'.
Any help with this? How are you supposed to use it when installing from a Github repo?

Configure import of the module from the folder import { PinchZoomModule } from './pinch-zoom/pinch-zoom.module';


Input type="file" "accept" attribute

Input type="file" "accept" attribute: http://dev.w3.org/html5/spec/states-of-the-type-attribute.html#attr-input-accept

This issue was imported from Google Moderator
Moderator votes: +12
Issue added by Max Lynch on 2012-04-10
To vote this issue up or down, simply include +1 or -1 in your comment.

Duplicate of #993 so adding half the votes there


Fix link, add info about resource available to webhook actions

cc #320 (though this is far from a complete fix)

I have no idea why the action failed - it says it's missing some token, which I doubt could be affected by changing some text in docs :shrug:


Bug: Work Item Linking Navigation Menu Breaks in Mobile View

In Work Item Linking, Navigation on detail page is breaking in mobile view because of long texts.

@vikram-raj @joshuawilson @sanbornsen @nimishamukherjee Can you please verify the navigation heading if we are having this much big texts only

There were only originally 3 sections here. Was customization a requirement
and do we need to revisit this design to provide an overflow use case
solution?
Thanks,
Monica
On Wed, Dec 14, 2016 at 4:12 AM, Sukhvir Kaur<EMAIL_ADDRESS>wrote:

@vikram-raj https://github.com/vikram-raj @joshuawilson
https://github.com/joshuawilson @sanbornsen
https://github.com/sanbornsen @nimishamukherjee
https://github.com/nimishamukherjee Can you please verify the
navigation heading if we are having this much big texts only
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/almighty/almighty-ui/issues/512#issuecomment-266982064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARTwqwzIhYpMl8ujS-PZZx7RULG9nhc6ks5rH7L1gaJpZM4LMhnA
.

@michaelkleinhenz do we need a UI to add work item link type? This impacts how many tabs get displayed. Currently they are added into the DB manually.
ccing @Mgranfie


⚠ BeyondHD has degraded performance

In ba603a6, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 11443 ms

Resolved: BeyondHD performance has improved in eb61f9d after 6 minutes.


Fix fork cache

Fixes #2366 #2383

this was obvious in hindsight
https://github.com/foundry-rs/foundry/pull/2384/files#diff-b3ea06003bf6427a23bee4fd2e056516e5b3479c63795d67d4acfb25ebbc53d9R130
I further improved it #2385 which supersedes this PR
so vote close,
thanks for looking into this regardless


Lets Encrypt DNS API Option

Love the new Lets encrypt cert option! It'd be great to get an option to use DNS API authentication as there are a number of use cases where the nginx file method isn't suitable (Multiple services running behind a single IP).
Natively supported by clients like acme.sh (https://github.com/acmesh-official/acme.sh/wiki/dnsapi)

Hi @Cave-Johnson thanks for the suggestion! Not sure when we'll be able to get to this, or if we will. We actually use acme.sh behind the scenes, but accommodating this use case would be non-trivial.
May I recommend disabling our bundled Nginx and using your own reverse-proxy? Caddy is fairly easy to set up and works well with Firezone.
We'll be releasing Docker support very soon which provides more flexibility for deploying Firezone and using custom ACME renewal methods like this.

@Cave-Johnson You're free to customize the caddy service however you like -- Firezone doesn't terminate SSL so it shouldn't interfere with your preferred ACME configuration.


feature support cross join in Nereids

Proposed changes
support cross join in Nereids

add PhysicalNestedLoopJoin
Translate PhysicalNestedLoopJoin to CrossJoinNode in PhysicalPlanTranslator

Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[x] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

@jackwener @Kikyou1997 @924060929 @zhengshiJ PTAL


Promises not removing the document in migration

I'm submitting a...

[x] Bug report
[ ] Feature request
[ ] Question

Current behaviour
exports.down = function(db) {
  return db.dropTable("pets");
};

// Returns:
[INFO] Defaulting to running 1 down migration.
collection migrations
collection pets

The code above remove the collection pets but doesn't remove the document in the migration collection.
exports.down = function(db, callback) {
  db.dropTable("pets1", callback);
};

// Returns:
[INFO] Defaulting to running 1 down migration.
collection migrations
collection pets1
[INFO] Processed migration<PHONE_NUMBER>5216-yop2
[INFO] Done

The code above works as expected, it removes the collection pets1 and remove the right document in the migration collection.
Expected behaviour
It should remove the right document in the migration collection when it succeed.
Environment

<EMAIL_ADDRESS><EMAIL_ADDRESS>Node version: v12.4.0
Platform:   Mac

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

interesting, this relates to the mongodb driver, i will open up an upstream reference for that


Indentation issues

If the asset name is too long, then the indentation messes up
It's hard to describe, so please look at the images below:

One possible solution is to use fmt.Printf("%-10v %-10v %-10v", "AAA", "BBB", "CCC"), so that all the columns have the same width even though the text isn't the same length

Thanks for opening the issue and providing a possible solution. Will get this fixed once I ave some time over :)


Tests: add test for response body

Blocking requests basing on contents of  the response body is not working at the moment, so this test is marked as TODO.
This is what happens with the configuration from this test:
$ curl -vvi http://<IP_ADDRESS>:8873/body1
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8873 (#0)
> GET /body1 HTTP/1.1
> User-Agent: curl/7.38.0
> Host: <IP_ADDRESS>:8873
> Accept: */*
>
* Empty reply from server
* Connection #0 to host <IP_ADDRESS> left intact
curl: (52) Empty reply from server

Merged ;) thanks.


gossipnet: remove

Summary
Remove the gossipnet crate and mentions of it.
Background
Patches https://github.com/astriaorg/astria/pull/383, https://github.com/astriaorg/astria/pull/384 removed gossipnet from sequencer-relayer and conductor. This patch removes the astria-gossipnet crate altogether because it is no longer used.
This PR does not update the conductor spec but leaves it as a follow-up.
Changes

Remove astria-gossipnet, update README, github workflow, workspace Cargo.toml to reflect that
Remove gossipnet mentions from astria-conductor

Testing
not applicable
Related Issues
closes https://github.com/astriaorg/astria/issues/334

there are still references to gossip net in the conductor spec, but once you merge in main it should be removed via https://github.com/astriaorg/astria/pull/353/files
Oops! Just saw you mention the follow up work.

It's cool, it's actually fantastic that the work is already on its way there


Incorrect location for Mari (Ch4, xd568)

Mari (Ch4, xd568) have been placed in the Caucasus region at 43.00 N, 46.00 E. This is a long way south and slightly west of the real location of the Mari (about 56.5 N, 48.00 E, based on the location of the Republic of Mari El). The location currently provided for Mari is the same as for Chechen (Ci7, xd583), and since the original name of Mari in the EA was Cheremis, I wonder if some data accidentally got copied from one row to another.

@olcsheehan I've moved the issue here https://github.com/D-PLACE/dplace-dataset-ea/issues/1
I'm in the process of reorganizing the D-PLACE data, splitting the individual dataset into separate repositories. The societies in question here are in the EA dataset.


publishPod from CLI: Text isn't output to terminal/console for dendron.markdown or dendron.html, and --vault arg is ignored

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[x] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
Using the CLI, I'm not able to get publishPod to work as expected. This seems to be the case for both Markdown and HTML, the two I have tested.
In the future, we should look at the following to work via CLI:
dendron publishPod --wsRoot . --podId dendron.html --query root

At the moment, it doesn't work, even if the pod was first generated via CLI:
dendron publishPod --wsRoot . --podId dendron.html --genConfig

It also seems to require vaultName to be present in the config yml, otherwise it will fail. --vault looks to be ignored at the CLI, with or without vaultName present in the yml config.
To Reproduce
Steps to reproduce the behavior:

Run dendron publishPod --wsRoot . --podId dendron.html --genConfig to generate the HTML publish pod config
Run dendron publishPod --wsRoot . --vault vault --podId dendron.html --query root (where vault is named vault)

This errors out. Looks like vaultName is required to be configured in the dendron.html/config.publish.yml. After that is configured, I can run the command, but with zero output.

Run dendron publishPod --wsRoot . --podId dendron.html --query root
See zero output. No error and no text output to terminal.

Expected behavior
Two things were expected (which means this may require two issues?):

dendron publishPod --wsRoot . --vault vault --podId dendron.html --query root should work, even if vaultName is not configured in the .yml, since I am providing vault via --vault (which says in the --help is a valid arg).
dendron publishPod --wsRoot . --vault vault --podId dendron.html --query root should output the result in the console/terminal output

For another example, I imagine that the following should be the same commands:
# Output `root.md` as GitHub Flavored Markdown
# This command currently works without issue
dendron note lookup --wsRoot . --query root --vault vault --output md_gfm

# Create config for publishPod
dendron publishPod --wsRoot . --podId dendron.markdown --genConfig
# Output `root.md` as GitHub Flavored Markdown
dendron publishPod --wsRoot . --vault vault --podId dendron.markdown --query root

Desktop (please complete the following information)

OS: Pop!_OS Linux 21.10
Dendron CLI Version: 0.80.0

Additional context

Thanks for reporting the bug!  Will be adding a fix for this in the current sprint.

Hi, this has been fixed with Dendron v0.82. Please let us know if it continues to happen, otherwise, this issue will close in a few days.

Hi, this has been fixed with Dendron v0.82. Please let us know if it continues to happen, otherwise, this issue will close in a few days.

Commands work!
Follow-up questions, in case I should open new issues:

Will the dendron exportPod commands be able to work for v2, or will there be a new arg like exportPodv2, or is there a way for CLI to reference pod v2 configs? I'd like to be able to use the V2 configurations with CLI.
I couldn't get certain features like wikilinkToURL config values to be acknowledged, which I think references siteUrl in dendron.yml. This works fine with Dendron Workspace commands for PublishPod, and the wikilink is converted in the clipboard as expected, just not via CLI.

I tried a workaround with npx dendron publishPod --wsRoot . --podId dendron.markdown --vault vault --query lang.python --config "wikiLinkToURL"="true", but this fails with:

  payload: 'error: [{"instancePath":"/wikiLinkToURL","schemaPath":"#/properties/wikiLinkToURL/type","keyword":"type","params":{"type":"boolean"},"message":"must be boolean"}]'

Hey @ScriptAutomate there will be separate command for podsV2 cli, I'm currently working on it. See Draft Docs


Add decode function

Believe it or not, this appears to be the most straightforward xdelta3 binding library out there :) Please accept my decode function so we can have a library that does both

Thanks for the PR! I've updated the package on pypi


Feature/django 110

some errors in testing, but doesnt seem to be django 1.10 related, sandbox on 1.10 works good

oh, and found this
MyModel._meta.get_fields_with_model() becomes:
[
    (f, f.model if f.model != MyModel else None)
    for f in MyModel._meta.get_fields()
    if not f.is_relation
        or f.one_to_one
        or (f.many_to_one and f.related_model)
]

What's about this?

nothing, i didn't see this earlier, i will take out all errors later so you could release and i could upgrade to 1.10 for needed features

Added 1.10 via another PR in master. Thanks for the PR though, really appreciated.


prior distribution

Hi,
I read your inspirational paper "Estimating a Dirichlet distribution " and I'm very keen on using your work in my thesis.
can you explain to me how can calculate prior distribution by Dirichlet distribution
Best regards

Sorry, I don't understand the question.

hi,
Dear Dr.Minka
thanks for your attention. I have a directed graph with the label. can you explain to me how to compute Prior Dirichlet for each node? I need to use the Prior Dirichlet in MAP.
I read your paper about the Dirichlet distribution and I keen to use it in my work.

That is not enough information.  What data do you have?

I am working on knowledge graph and my dataset is free base.
https://pypi.org/project/pykg2vec/

How are you planning to model that data, so that a Dirichlet would be involved?

I will use a GMM model in my work and I am going to use MAP for linkprediction in GMM model. the MAP is prior*likelihood and i compute Dirichlet for prior and likelihood. i am doing this beacause last papers only count the number of edges and it leads to eliminate some of nodes.
is it possible to use Dirichlet just for Prior?? can i use a kernel similarity for likelihood?? I know that if i use this method, the type of prior and likelihood are not same, but I am not sure it  work truly for MAP.

Do you have a paper describing the intended system in more detail?

a translation based method: (https://www.aclweb.org/anthology/Y14-1039.pdf)
a pointwise based method:(http://proceedings.mlr.press/v48/trouillon16.html)
I need define a new Score function in my thesis. a Dirichlet combine function in MAP is my proposal. my work is a pointwise based method.

These papers do not use Dirichlet distributions, so they do not clarify your intent.

Dear Dr.Minka
I want to used from  Dirichlet distributions for first time. this method is not used before this

Right, and so if you are asking for my advice, you need to explain what you want to do, which is why I asked for a write-up of the intended system, where "intended" means "using a Dirichlet distribution".

Dear Dr.Minka
https://dl.acm.org/doi/10.1145/2806416.2806502
This paper used from an energy function. This function is based on comparing two Gaussian probabilities: head-tail probability and relation probability. But, i am going to use from Bayesian probability score function for each asked triple (head-relation-tail) to compute how much is the occurrence probability of triple. So, P(h,r,t) must be calculate by Bayesian estimation and P(h,r,t’)=P(h,t’|r)*P(r) or  P(h,r’,t)=P(h,r’|t)*P(t). r’ or t’ is asked object. I can compute P(t) or P(r) by enumeration but it is not acceptable for big data (I cannot set a specific distribution) so p(h,r|t) and P(t) can be compute by Dirichlet distribution.

I still don't see how Dirichlet distributions enter it.  The paper embeds in a vector space and uses a Gaussian distribution over those vectors.  Are you planning to replace the Gaussian with Dirichlet in the energy-function formulation?

yes,exactly. but I dont know  how can do it. can you guide me about that?

You cannot use this library to do energy-function minimization.  It only does maximum-likelihood learning.

can you explain to me how can do it?

No, that is too far outside the scope of this repository.  A question like that is better asked on Cross Validated.


Modal fade out effect disappeared in version 0.13?

Hi,
fade out effect for modal appears to not work properly in version 0.13, however in 0.11 it is present. Maybe the plunker will explain it better than I did:
Working version 0.11:
http://plnkr.co/edit/McVs72?p=preview
Not working version 0.13:
http://plnkr.co/edit/t5zlRd?p=preview
Is it really a bug or did I missed some feature or already closed issue?

Lets get things straight first:
The previous version of UI Bootstrap was 0.12.1 which supported the latest Angular 1.2 release (currently 1.2.28). This is a more accurate plunkr if I'm not mistaken: http://plnkr.co/edit/HsuTC6?p=preview
In your 0.13 and Angular 1.3 plunker, I can't see the animation either. Seems like a legit bug to me therefore I'll tag @chrisirhc in this one since he's the animations expert here.

Probably related: #3624

ngAnimate is now needed if you want animations: http://plnkr.co/edit/d9PxCHXQH8yLv4wkNbhi?p=preview

@chrisirhc - So this isn't a bug?

Thank you for your commitment. Closing :)


awaitCurrentBlock  - SyntaxError: Unexpected indetifier

~/node_modules/eth-block-tracker/src/index.js:38
async awaitCurrentBlock () {
^^^^^^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/home/saurabh/Desktop/Work/IDE/Blockchain/truffle/First Token/node_modules/web3-provider-engine/index.js:4:25)

error is showing for awaitCurrentBlock

@Saurabh1402 Are you able to upgrade to Node 8? It looks like eth-block-tracker uses the newer async/await syntax that's standard with Node's current recommended version.

Any solution for this yet? Having same issue

@JoelAH What version of node are you using?

7.4 @cgewecke

@JoelAH Node's latest stable version is 8. Please upgrade if possible  - async / await syntax is fully supported in that version. It's partially supported in Node 7 (more detail here).
We recently had to upgrade one of the wallet's dependencies for security reasons and it uses this new promise syntax under the hood. Will modify the README to reflect this new requirement.

Ok thanks


Confusion about masking in transformer

Thank you for your tutorial! However, I have some confusion about masking.
In make_src_mask, src_mask = (src != self.src_pad_idx).unsqueeze(1).unsqueeze(2).
w.l.o.g. let the batch_size = 1: for example, a batch consists of only a sentence I love NLP <pad>. After broadcasting in MultiHeadAttention, the mask would be [[1110],[1110],[1110],[1110]]. However, since the 4th row corresponds to the token <pad>, the mask should be [0000].
Did I make any mistake or have I made my point clear? Thank you a lot in advance!

Not sure I fully understand, here's a quick code walk-through with a batch size of 1.
We can see the mask is correctly created, broadcast, and applied to the energy tensor.
import torch
torch.manual_seed(0)

pad_idx = 0

sequence = torch.LongTensor([[1, 2, 3, 0]]) #[batch, seq length], where 0 = padding

print(sequence.shape) #torch.Size([1,4]) [batch, seq length]

mask = (sequence != pad_idx).unsqueeze(1).unsqueeze(2)

print(mask) #tensor([[[[ True,  True,  True, False]]]]) where False corresponds to padding
print(mask.shape) #torch.Size([1,1,1,4]), expanded to required size for multi-headed attenton

#in the multi-headed attention layer
#create random energy tensor

energy = torch.randn(1, 2, 3, 4) #[batch, n heads, query len, key len]

print(energy)
#tensor([[[[-1.1258, -1.1524, -0.2506, -0.4339],
#          [ 0.8487,  0.6920, -0.3160, -2.1152],
#          [ 0.4681, -0.1577,  1.4437,  0.2660]],
#
#         [[ 0.1665,  0.8744, -0.1435, -0.1116],
#          [ 0.9318,  1.2590,  2.0050,  0.0537],
#          [ 0.6181, -0.4128, -0.8411, -2.3160]]]])
#two heads, so two 3x4 (query len x key len) blocks

energy = energy.masked_fill(mask == 0, -1e10)

print(energy)
#tensor([[[[-1.1258e+00, -1.1524e+00, -2.5058e-01, -1.0000e+10],
#          [ 8.4871e-01,  6.9201e-01, -3.1601e-01, -1.0000e+10],
#          [ 4.6810e-01, -1.5771e-01,  1.4437e+00, -1.0000e+10]],
#
#         [[ 1.6646e-01,  8.7438e-01, -1.4347e-01, -1.0000e+10],
#          [ 9.3183e-01,  1.2590e+00,  2.0050e+00, -1.0000e+10],
#          [ 6.1806e-01, -4.1280e-01, -8.4106e-01, -1.0000e+10]]]])
#correctly masks out the last sequence element among the key dim

#prints last key dim per query in the first head, which should be all masked
print(energy[0,0,:,-1]) #tensor([-1.0000e+10, -1.0000e+10, -1.0000e+10])
#which they are

print(energy[0,1,:,-1]) #tensor([-1.0000e+10, -1.0000e+10, -1.0000e+10])
#same for the second head

Let me know if I've made a mistake somewhere or there's anything that needs clarifying.

Thank you so much for your quick response! Yes, from your explanation I have understood the rationale behind this masking strategy.

I have the same question but reading your explanation my doubts are not resolved. This basically doesn't take into account that padding can also exist in the query as well.  Am I overseeing something here?


Allow drawables to specify custom drag distance tolerance

Related PR: https://github.com/ppy/osu/pull/17488
This PR implements a dragging tolerance parameter for drawables. This change allows an object to define how sensitive it should be to dragging.
Generally, most draggable elements should have some room for error where the mouse can move just a bit and the action should still be considered a click. However, in some cases it's desirable to handle the drag right away, ex.: for small adjustments in an editor.

I'll wait for more opinions before adding tests.

If this is to be considered, I would be interested to know how other frameworks (WinForms/WPF/JS) handle this.
The MDN example for drag has a similar tolerance, so we're not doing something outlandish compared to other frameworks already. Is there a way to customise this behaviour in JS?

I don't believe this is user configurable in Javascript and is defined by the browser.
For reference here are the minimum threshold values for a drag event in Chrome:
https://github.com/chromium/chromium/blob/7bcf5f930c9e6795b8d6539129b01fa5f43c928c/third_party/blink/renderer/core/input/mouse_event_manager.cc#L121-L130

I'm open to reducing the leniences to roughly match what chrome uses for testing, but do consider that our use case is slightly different (with tablet users being more dominant in the user base).
I don't think this PR is something we want though.
If others agree, I'm open to reducing the leniences and see if people complain. Maybe half way between what we are using and what chrome has (something like 6 or 7px).


New version: WinSCP.WinSCP version 5.21.2

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@jm33-m0 do you know why it defaults the installation to "C:\User****\AppData\Local\Programs\WinSCP" instead of "C:\Program Files (x86)\WinSCP". It happens even when I use "--interactive". If I download directly from Winscp website, the default is "Programs Files"
So I get to installs of winscp, one in Programs Files and other in Local\Programs.

@fernandog For my own device I found only C:\User****\AppData\Local\Programs\WinSCP, my guess is if you install it as admin it will default to C:\Program Files (x86)\WinSCP, which might be the case when you use the MSI package from WinSCP website.

@jm33-m0 thanks, I manage to install at Program Files with argument --scope:machine