NTR: entry into host through the stromata

Please provide as much information as you can:

Suggested term label:
entry into host through the stromata

Definition (free text)
Entry of a symbiont into host plant tissue via the stromata, microscopic pores in the epidermis of the aerial parts of terrestrial plants. These pores are essential for photosynthesis, as they allow CO(2) to diffuse into the plant
The host is defined as the larger of the organisms involved in a symbiotic interaction.

Reference, in format PMID:#######
PMID: 29307013

Gene product name and ID to be annotated to this term

from PMID: 29307013

Parent term(s)
GO:0044409 entry into host

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

@geneontology/multiorganism-working-group

+[Term]
+id: GO:0140717
+name: entry into host through the stromata
+namespace: biological_process
+def: "Entry of a symbiont into host plant tissue via the stromata, microscopic pores in the epidermis of the aerial parts of terrestrial plants. These pores are essential for photosynthesis, as they allow CO(2) to diffuse into the plant. The host is defined as the larger of the organisms involved in a symbiotic interaction." [PMID:16959560, PMID:17419713, PMID:29307013]
+is_a: GO:0044409 ! entry into host
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/22206 xsd:anyURI
+created_by: pg
+creation_date: 2021-09-27T16:30:08Z


serialize does not seems to work

I am trying to use the plugin with pylint checkers and I have some problems.
I am trying to schedule a checker job each time I save my file.
Since I am working on huge python files, it takes 10 second for pylint  to do the job. (100% CPU from pylint while working)
If in I do in 1 second:
:w
:w
:w
:w

It will launch and run 4 jobs (4 pylint running => 4 * 100% CPU)
Since I set neomake_serialize to 1 I expected to have only one job running.
Here is my vimrc
let g:neomake_python_enable_makers = ['pylint']
let g:ycm_show_diagnostics_ui = 1
let g:neomake_open_list=1

let g:neomake_serialize_abort_on_error=1
let g:neomake_serialize=1

autocmd BufWritePost *.py :Neomake pylint

Moreover, I was wondering if it was possible to cancel a job when a new job start.
My use case would be:
:w   => start pylint (job1)
make some changes
:w   => cancel job1 and start pylint (job2)

Maybe I should create an issue for that?

From my understanding, the goal of neomake_serialize is not to cancel previous jobs.
If you have two makers e.g.  let g:neomake_python_enable_makers = ['pylint', 'frosted'], then setting neomake_serialize to 1 will run pylint once frosted has returned instead of starting both checkers at once.
Previous jobs are indeed not cancelled when :Neomake is called again. We could add a separate option to do this.

@Neki Okay, but here in my first use case I save 4 times my files and it launch 4 pylint in parallel.
Is it normal with neomake_serialize set to 1?

Yes, because saving four times your file trigger four separate :Neomake commands. Each command spawns a job, and :Neomake does not cancel previous jobs even if neomake_serialize is set to 1. The goal of this option is not to cancel jobs.
In fact, if you have only one checker for your file (in this case, pylint), neomake_serialize has no effect. What I think you need is another option that tells neomake to cancel unfinished jobs when you call :Neomake.

If you have two configured makers (pylint and frosted for instance), then this option prevents :Neomake to spawn two jobs (pylint + frosted) when you call :Neomake. It does not affect the interaction between different :Neomake calls.

Ok I understood.
I thought that neomake-serialize serialized different jobs, but no it serialized in a job the different makers.
How about :

neomake-serialize-makers (actual behavior)
neomake-serialize (no more than one job at the time)

And a new option that would do smth like this:

if we run a maker job on a file and that their already is a maker running for that file, kill the first one and start the second job

Actually there is a bug here, but not with the serialize feature as @Neki correctly pointed out. When Neomake runs a maker, it should cancel any outstanding jobs created by that maker. The intent is that there is only at most one job per maker active at any given time (and that the job is always the most up-to-date one). In the code (see earlier link), it looks like we are canceling the old job shortly after creating the new one, which should perhaps be corrected. Beyond that, I'm not sure what the issue is at the moment.

My issue is that if I save 4 times my file I have 4 pylint running for several seconds. And I just one the last one to be running.
When you say shortly after,  does it means seconds?

After reading the code again (sorry I missed the part where jobs should be cancelled), it means "after a few lines of code" - so it is more like milliseconds.
I would investigate but I am bitten by neovim/neovim#2309 too, so neomake does not work at all for me now.

Let me know how this fix works for you. The new job kills the old job, and then waits until the old job exits and is cleaned up before running. It seems to be working fine for me and should guarantee that you never have two jobs from the same maker going at once.

The fix works for me.
Sorry for the late response I was in vacation.


contact form validation

adding form validations using javascript

@Hope1226  so I can do away with  the else so that I only show the error message  then proceed to form spree success message


Whitespace Issue on Android

Bug description: There is whitespace at the bottom of the canvas when loading a Kaboom js game on Android, even though the fullscreen=true parameter is included in the init code. This issue does not occur on iOS devices.
Expected vs Current Behavior: The expected behavior is for the Kaboom js game to display without any whitespace at the bottom of the canvas on Android, just like it does on iOS. The current behavior is that whitespace appears at the bottom of the canvas on Android. If I turn the desktop site mode on, it seems to work ok, but otherwise it doesn't.
Steps to reproduce:

Load the Kaboom js game on an Android device.
Observe that there is whitespace at the bottom of the canvas.
Bug appears at this link: onions-life-1.sharmnten.repl.co 1

Screenshot(s)/Screen Recording:

Browser/OS/Device**:** The bug appears on Android devices, but not on iOS devices. If the desktop site mode is on, it runs ok.
Replit Profile: https://replit.com/@sharmnten

I have learned that the bug appears to be due to an issue with Kaboom being run as a PWA on android. I was able to implement the following code:
let canvasWidth = document.documentElement.clientWidth;
let canvasHeight = document.documentElement.clientHeight;
let deviceMode = null;
let heightStretch = 0;
if ((window.matchMedia('(display-mode: fullscreen)').matches || window.navigator.fullscreen) && navigator.userAgent.includes('Android')) {
  // Code for PWA running on Android
  deviceMode = "Android";
  heightStretch = 75;
} else if ((window.matchMedia('(display-mode: fullscreen)').matches || window.navigator.fullscreen) && navigator.userAgent.includes('CrOS')) {
  // Code for PWA running on Chrome OS
  deviceMode = "ChromeOS";
} else {
  // Code for non-PWA behavior or other platforms
  deviceMode = "Other";
}

and then update my init statement like so:
kaboom({
  background: [153, 204, 255],
  width: canvasWidth,
  height: canvasHeight + heightStretch,
})

It’s definitely not the most perfect solution, but it should work for android users.


Support weight only quantization with intel-extension-for-transformers

Support weight only quantization with intel-extension-for-transformers.
Intel® Extension for Transformers is an innovative toolkit to accelerate Transformer-based models on Intel platforms, in particular effective on 4th Intel Xeon Scalable processor Sapphire Rapids (codenamed Sapphire Rapids). The toolkit provides the below key features:

Seamless user experience of model compressions on Transformer-based models by extending Hugging Face transformers APIs and leveraging Intel® Neural Compressor
Advanced software optimizations and unique compression-aware runtime.
Optimized Transformer-based model packages.
NeuralChat, a customizable chatbot framework to create your own chatbot within minutes by leveraging a rich set of plugins and SOTA optimizations.
Inference of Large Language Model (LLM) in pure C/C++ with weight-only quantization kernels.

This PR is an integration of weight only quantization feature with intel-extension-for-transformers.

Unit test is in lib/langchain/tests/integration_tests/llm/test_weight_only_quantization.py

Hey @PenghuiCheng ! Looks like this draft hasn't been worked on or marked as ready to review in a while. Is this something you'd still like to work on, or can I close it?

Hey @PenghuiCheng ! Looks like this draft hasn't been worked on or marked as ready to review in a while. Is this something you'd still like to work on, or can I close it?

hi，I will finish the documents and notebooks next week, and then I will ask you to review them. Thanks.


Add an ec_recover funtion to the stdlib.

This would be needed for developers, and would also be useful for implementing FuelLabs/sway#195 , especially point number 2.
The ECR works with some 64-byte values. Should we create a wrapper-type for Signature around 2 b256 values or something similar?

Closing this as it is mostly complete, and remaining tasks are tracked here: https://github.com/FuelLabs/sway-lib-std/issues/9


add logic for reminder postmortem

Codecov Report
Attention: Patch coverage is 29.03226% with 44 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@939bc9f). Learn more about missing BASE report.

Files
Patch %
Lines

src/firefighter/slack/tasks/send_reminders.py
26.92%
19 Missing :warning:

src/firefighter/slack/messages/slack_messages.py
45.45%
12 Missing :warning:

src/firefighter/slack/tasks/reminder_postmortem.py
11.11%
8 Missing :warning:

src/firefighter/slack/models/user.py
0.00%
5 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #89   +/-   ##
=======================================
  Coverage        ?   62.56%
=======================================
  Files           ?      214
  Lines           ?     9515
  Branches        ?     1291
=======================================
  Hits            ?     5953
  Misses          ?     3354
  Partials        ?      208

Flag
Coverage Δ

unittests
62.56% <29.03%> (?)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use premultiplied colours in rendering

Closes https://github.com/ppy/osu-framework/issues/3429
Closes https://github.com/ppy/osu/issues/19957
Alternative to / closes https://github.com/ppy/osu-framework/pull/6454

RFC, cc @ppy/team-client.
This will be an extremely breaking change to all framework consumers, I will write down breaking notes for it after we all agree with the direction.
The efforts of this started when I noticed that iOS always outputs premultiplied image pixels when loading them via UIImage. Searching on the internet for methods to avoid this behaviour has shown nothing, and after opening a PR manually "fixing" this, https://github.com/ppy/osu-framework/pull/6454#discussion_r1883133383 came up, which shown that we can take a different route and switch permanently to premultiplied colours for textures and shaders, as discussed.
Consider this an initial approach meant to stir discussions on the introduced API and intended direction.
Multiple classes have been introduced to emphasize on the concept of "premultiplied colours" in rendering, most of which are one-way conversion, meaning that a regular (aka straight-alpha) colour transformed into a premultiplied-alpha colour cannot be transformed back, as the conversion is technically lossy when given zero alpha, and I generally want to avoid implicit conversions from/to Color4 as much as possible.
There is not much to note about the changes, but, as a breakdown of introduced classes:

PremultipliedImage: Exposes an image with alpha multiplication applied. The image may originally be in straight-alpha form converted using FromStraight, or already premultiplied (aka iOS) and wrapped in the structure using FromPremultiplied.
PremultipliedColour: Exposes a Color4 with alpha multiplication applied. Works similar to PremultipliedImage.
UniformColour: Special version of UniformVector4 for colours specifically, stores colours as premultiplied. Implicitly converts from/to PremultipliedColour.
UniformColourInfo: This is introduced specifically for border colour specifications, as it was extremely too long and adding premultiplied API warranted this.

TestSceneBlendingCorrectness
Inspired by https://github.com/ppy/osu-framework/issues/3429, this PR adds a test scene that shows blending comparisons between buffered and non-buffered rendering. Final result is achieved by operating using premultiplied colours and fixing alpha blending.

master
this PR

My primary concern reading through these changes is that the alpha channel is still present in some parts of the code. For example...
TestSceneDrawablePath.cs
SmoothPath.cs
In these two, the alpha channel is still present in the image itself, even though image.Premultiplied[] is used.
PremultiplierColour.cs
When constructing the premult colour, we're still taking on the source alpha channel which is then being passed to the shader. i.e. a colour (255, 255, 255, 0.8) will be passed as (204, 204, 204, 0.8) to the shader as far as I can tell.
Am I misunderstanding something here?

Reading through more, I am guessing this is just my misunderstanding because the blending is dC = (1 * sC) + ((1-sA) * dC), whereas I was thinking of (incorrectly) blending in colour space as dC = (1 * sC) + ((1-sC) * dC).
Appears to make sense as it is?

My primary concern reading through these changes is that the alpha channel is still present in some parts of the code. For example...
TestSceneDrawablePath.cs SmoothPath.cs
In these two, the alpha channel is still present in the image itself, even though image.Premultiplied[] is used. There's a few other similar cases, such as in FrameStatisticsDisplay.
PremultipliedColour.cs
When constructing the premult colour, we're still taking on the source alpha channel which is then being passed to the shader. i.e. a colour (255, 255, 255, 0.8) will be passed as (204, 204, 204, 0.8) to the shader as far as I can tell.
Am I misunderstanding something here?

In the usages that directly modify image.Premultiplied[], the colours constructed are assumed to be premultiplied already. As you can see in the diff, I've modified said usages to be multiplied by their alpha.
Alternatively I can provide an indexer from PremultipliedImage that accepts PremultipliedColours, therefore it becomes extremely clear what kind of colour is being passed and make things easier to read:
- raw.Premultiplied[i, 0] = new Rgba32(r * a, g * a, b * a, a);
+ raw[i, 0] = PremultipliedColour.FromStraight(new Color4(r, g, b, a));

And technically you can still pass down premultiplied colours if you wish:
- raw.Premultiplied[i, 0] = new Rgba32(r * a, g * a, b * a, a);
+ raw[i, 0] = PremultipliedColour.FromPremultiplied(new Color4(r * a, g * a, b * a, a));

I think that might be a better approach as we don't want to expose the framework codebase to the idea that colours can be premultiplied, and leave it as an internal detail that is done right before the shader reads said colours.

@smoogipoo To solidify the API, I've removed access to the underlying image of PremultipliedImage and mirrored the necessary methods in the class itself. See https://github.com/ppy/osu-framework/pull/6456/commits/df532384f126c67a718c0d29b77fdf00f8e8fa6f and https://github.com/ppy/osu-framework/pull/6456/commits/ccd0269f2d9c273f3cf69d74060f802a1cae4c91. All mentioned concerns should be addressed hopefully. My intention with these changes is to make it 100% clear at which point during the rendering API everything operates in "premultiplied colour" format, and I've done so by attaching the name Premultiplied to every component as such.

https://github.com/ppy/osu-framework/pull/6456/commits/59493e39b3bf8d1e43a7d272353d76a791bfe110 is pushed as colours with alpha>1 can be used to give strong glow effects. See https://discord.com/channels/188630481301012481/589331078574112768/1320398450457841754.


Image core

This branch:

Removes the backbone dependency from the Image library.
Extracts the Loader into its own file (cdb.vis.Loader → cdb.core.Loader)
Adds a new example that only uses cartodb.core.js
Update specs.

Extra stuff:

Allows to specify a custom basemap (see example/images/basemap.html)
Adds support for Plain basemaps.
Adds vis namespace to Loader: cdb.vis.Loader = cdb.core.Loader

/cc @javisantana

:es: by @javisantana.


Webdav integration test broken

When adding integration tests for webdav, I run into this error when running the exists test:
java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at org.apache.jackrabbit.webdav.xml.DavDocumentBuilderFactory.createFactory(DavDocumentBuilderFactory.java:50) [jackrabbit-webdav-2.14.2.jar:na]
There seems to be some version clash triggered by jackrabbit, as it tries to call a method which is now abstract all of a sudden. Still unclear what causes this exactly...

The problem was caused by an old dependency (xml stuff) being imported by findbugs that was compiled for java 1.4. This caused a version conflict. Removed findbugs to solve this.
This also solves issue #470 .


IntelliJ run instrumentation:take backend URL from settings

Take collector backend URL from settings (make 'localhost:5050' the default)

@doppleware is this issue relates to https://github.com/digma-ai/digma-intellij-plugin/issues/306#issuecomment-1461411213 ?

suggested entry name:
Observability Exporter URL: http://localhost:5050
ToolTip comment: "Setup a URL for exporting the application traces"
@doppleware - is it good to go?

Entry name:
Runtime observability backend: http://localhost:5050/
Tooltip: Where should observability data be sent from the IDE? This would be the DIgma collector URL typically listening to port 5050.


Supress request info messages

Adding logging.getLogger("requests").setLevel(logging.WARNING) to cralwer supresses request info messages.
As read in: https://docs.python.org/2/library/logging.html#levels

Oh, this is nice! Thank you! I think it would be better to put the code into main() function, right after logging.getLogger().setLevel(logging.DEBUG). So if some other module decides to import crawler there is no weird interaction/conflict between that module's logging settings.

Will do. Change made.

I think I removed all the whitespaces changes. Not sure though if I have to resubmit a new pull request.

Weird, github still shows that there are extra whitespace changes. Anyway, I merged it

Thank you!


grammar fix

Changes

small word order change

Question

Is it okay to submit PRs like this? I hope it's not considered rude, but I think clarifying these things makes them easier to understand - though it occurs to me that there may be differences of opinion about what is clearer between native english speakers and speakers of other languages.

@sauntimo - Absolutely okay, I haven't been able to review all the docs (in fact, we're hiring someone who will be doing that soon)... it's not rude at all, I'm just too swamped to do it myself! Thanks for the PR!

@MaureenElsberry great! Well, I'm really enjoying the tutorial so least I can do to help out a tiny bit. Thank you :)


[SR SQL Planner Summer Camp] Support drop partition in new Parser and Analyzer

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #7942
Problem Summary(Required) ：

[FE PR Coverage check]
:heart_eyes: pass : 8 / 8 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/sql/parser/AstBuilder.java
5
5
100.00%

:large_blue_circle:
com/starrocks/sql/ast/AstVisitor.java
1
1
100.00%

:large_blue_circle:
com/starrocks/analysis/DropPartitionClause.java
2
2
100.00%

run starrocks_admit_test


Not working properly when noScript is false and removeReactHelmetAttrs is true

{
resolve: 'gatsby-plugin-no-javascript-utils',
options: {
noScript: false,
noSourcemaps: false,
removeGeneratorTag: false,
removeReactHelmetAttrs: true,
noInlineStyles: false,
removeGatsbyAnnouncer: false,
},
}
When noScript is false and removeReactHelmetAttrs is true in option,
its is only remove data-react-helmet="true" from view source of page,
but not remove from inspect element view (F12)

Its happens because react-helmet javascript attaching data-react-helmet="true" to mapped html tags.
As per SEO community data-react-helmet="true" attribute is not reliable for search engine crawlers.

Hey, @yES-iAM !
The attributes data-react-helmet it's a part of library react-helmet. Gatsby use this library for dynamically updating of tags in <head> section.
If you don't remove scripts in your site, then loaded scripts include a react-hamlet library that dynamically after loaded to changes your HTML.
You can check it:

Open Chrome DevTools.
Navigate to the Network Tab and open the Throttling dropdown which is set to "No throttling" by default.
Select Slow 3G
Navigate to the Elements Tab
Reload the Page

You can see that your page does not contain any data attributes. After loading a script, it changes a page.

Yes Shoonia, because of Gatsby use this library for dynamically updating of tags in  section, tags are being duplicate, and gives schema error in google rich schema testing tool.
ex.
<title>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</title>
<title data-react-helmet="true">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</title>

<script type="application/ld+json">Some schema code</script>
<script data-react-helmet="true" type="application/ld+json">Some schema code</script>

So in this case we must enable remove javascript from page like noScript: true

The data-react-helmet attributes need for react-helmet library. If you don't use JavaScript then you don't need these attributes. But if you use JavaScript then you should not remove these attributes.
This current plugin exists for converting a Gatsby site to a static site without JavaScript. If you don't want to remove JavaScript from your site maybe you don't need this plugin.


Test Issue created at Tue, 27 Jul 2021 14:05:22 GMT

Test issue body  Tue, 27 Jul 2021 14:05:22 GMT

Comment on issue at Tue, 27 Jul 2021 14:05:26 GMT


Add support for systems that output the pinned libsodium to lib64

Building sodiumoxide on OpenSUSE Tumbleweed as of 2018/12/18 causes the build of the pinned libsodium library to fail.
This is caused by build.rs presuming the library to be output in the lib directory, while the actual output directory is lib64.
     Running `/home/elyzion/.cargo/bin/sccache rustc --crate-name libsodium_sys libsodium-sys/src/lib.rs --color always --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=43c000b33b9ab959 -C extra-filename=-43c000b33b9ab959 --out-dir /home/elyzion/workspace/github.com/elyzion/sodiumoxide/target/debug/deps -C incremental=/home/elyzion/workspace/github.com/elyzion/sodiumoxide/target/debug/incremental -L dependency=/home/elyzion/workspace/github.com/elyzion/sodiumoxide/target/debug/deps --extern libc=/home/elyzion/workspace/github.com/elyzion/sodiumoxide/target/debug/deps/liblibc-c0ea49ff27a168b5.rlib -L native=/home/elyzion/workspace/github.com/elyzion/sodiumoxide/target/debug/build/libsodium-sys-21cd69d46e7fda91/out/installed/lib -l static=sodium`
error: could not find native static library `sodium`, perhaps an -L flag is missing?

error: aborting due to previous error

error: Could not compile `libsodium-sys`.

This is a quick solution to this problem that simple adds another search path for cargo.

Pull Request Test Coverage Report for Build 790

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.516%

Totals

Change from base Build 789:
0.0%

Covered Lines:
2482

Relevant Lines:
2626

💛  - Coveralls

@elyzion Hi! Would you please help us to test your code?

@kpp I just tried in a opensuse:leap docker image, first installing devel_basis, openssl-dev and the build of https://github.com/elyzion/sodiumoxide.git works fine.

Maybe this was a temporary issue? I know that a while back the libsodium website was down and that the downloads were not working.

Did you try to reproduce the bug using master branch on https://github.com/sodiumoxide/sodiumoxide/ ?

@kpp hmm, both leap and tumbleweed seem to work fine with https://github.com/sodiumoxide/sodiumoxide in the docker containers

Thank you.
@elyzion we require more info on how to reproduce the bug.

@elyzion any updates on this?

@elyzion ping

Ah, sorry. Give me a second to catch up. (Didn't notice this getting updated between all the other github spam.

I still manage to reproduce this, both with my fork and with the sodiumoxide base.
Here is my system information:
sodiumoxide git:master ❯ cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20190717"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20190717"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20190717"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"

I just tried with the sodiumoxide master.
workspace ❯ git clone https://github.com/sodiumoxide/sodiumoxide.git sodiumoxide/sodiumoxide
Cloning into 'sodiumoxide/sodiumoxide'...
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 18306 (delta 17), reused 33 (delta 14), pack-reused 18258
Receiving objects: 100% (18306/18306), 14.41 MiB | 4.88 MiB/s, done.
Resolving deltas: 100% (15929/15929), done.
workspace ❯ cd sodiumoxide/sodiumoxide
sodiumoxide git:master ❯ git
sodiumoxide git:master ❯ cargo build
    Updating crates.io index
  Downloaded serde v1.0.97
  Downloaded cc v1.0.38
   Compiling libc v0.2.60
   Compiling crc32fast v1.2.0
   Compiling byteorder v1.3.2
   Compiling cfg-if v0.1.9
   Compiling adler32 v1.0.3
   Compiling take_mut v0.2.2
   Compiling rle-decode-fast v1.0.1
   Compiling pkg-config v0.3.14
   Compiling cc v1.0.38
   Compiling serde v1.0.97
   Compiling libflate v0.1.25
   Compiling xattr v0.2.2
   Compiling filetime v0.2.6
   Compiling tar v0.4.26
   Compiling libsodium-sys v0.2.2 (/home/elyzion/workspace/sodiumoxide/sodiumoxide/libsodium-sys)
error: could not find native static library `sodium`, perhaps an -L flag is missing?

error: aborting due to previous error

error: Could not compile `libsodium-sys`.

To learn more, run the command again with --verbose.
sodiumoxide git:master ❯ cargo version
cargo 1.37.0-nightly (545f35425 2019-05-23)

Make sure that  SODIUM_USE_PKG_CONFIG=1 is not set when executing. Things work fine when using package config.

@kpp hmm, both leap and tumbleweed seem to work fine with https://github.com/sodiumoxide/sodiumoxide in the docker containers
This is what I installed:
zypper install -t pattern devel_basis
zypper --non-interactive in curl git openssl-devel
curl https://sh.rustup.rs -sSf | sh

Thank you for taking the time to try and find a tumbleweed image to test with. I notice that the image you used was from the start of 2018. Tumbleweed changes a lot, and it's quite possibly that the older version you used would work without issue, while the version active at year end might not work anymore.

@dvic ^

I can confirm that this still happens with the current master and an up-to-date OpenSUSE Tumbleweed installation. As make_libsodium in the current build.rs is required to return the definite library search path, I'd like to suggest checking whether install_dir.join("lib64") exists and returning it instead of install_dir.join("lib") if so.

I opened #387 as a hopefully slightly more palatable change achieving a similar result, i.e. that the library is always put into install_dir.join("lib") no matter what $CONFIG_SITE says.

@elyzion Could you double-check this works now for you as well since #387 was merged? If so, I guess we could close this?

Sadly I don't have the environment for this available to me anymore; please
feel free to close this issue for the time being.
On Mon, 4 Nov 2019 at 06:04, Adam Reichold<EMAIL_ADDRESS>wrote:

@elyzion https://github.com/elyzion Could you double-check this works
now for you as well since #387
https://github.com/sodiumoxide/sodiumoxide/pull/387 was merged? If so,
I guess we could close this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sodiumoxide/sodiumoxide/pull/299?email_source=notifications&email_token=AAGOGF3T3LUI6QWBXONKWZ3QR44FFA5CNFSM4GK6DNR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC54YFY#issuecomment-549178391,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGOGF6AH6EOMQDOSRPTJULQR44FFANCNFSM4GK6DNRQ
.

--
Confounding the populace of earth since 1981.

Let’s assume the issue is resolved


Responsive settings (dots, vertical) issues when initialise on responsive environment

Hello!
After issue https://github.com/kenwheeler/slick/issues/1276 was fixed, i found out some more issues on responsive settings..
Steps to reproduce:

go to http://codepen.io/anon/pen/GJoBxx
render it in browser with width more than 900px: vertical carousel works perfect
make window smaller than 900px without reload: carousel becomes horizontal and got dots as expected, so still works super good
reload page in browser with width less than 900px: carousel is not visible, when slide via arrows it is strangely appears and disappears... no dots are presented

Additional info:
when init page on less than 900px screen, and than resize to wider screen and resize back to small -- issue  disappears...
Maybe i configure something in a wrong way? i have used 1.4 version previously, and only asNavFor issue appeared to me, maybe API for 1.5.3 has been changed somehow?
thank you

Hi @kakt00c , Please refer to this:
http://jsfiddle.net/simeydotme/yxq5bumc/3/
I noticed this too, it was a silly oversight with the responsive checkoutpoints.
https://github.com/simeydotme/slick/commit/82700f4b6eef0fd042b61089ed32cfbfefa344e7
If you take the unminified code from master branch, it fixes the issue. I am very sorry! :bow: - @kenwheeler is super busy and I don't have the ability to release 1.5.4.
Simon.

That works good for me! Thank you so much!
You are amazing.


[FEATURE] RSS/Atom Feed for motion.dev/blog

It would be great to be able to subscribe to the posts from https://motion.dev/blog via RSS/Atom.

Hey @tordans! I agree, though I sadly have to close this as wontfix because I built the site on Framer which doesn't currently have the ability to export RSS feeds! If it every becomes available I'll do it for sure though.


High cpu usage with 4.7 (diskcache seems to blame)

Hi.
Running some Umbraco sites and just released latest version with ImageProcessor 4.7.2 included. This caused 100% cpu usage on the server. Never had that issue before.  I downgraded Imageprocessor and that seems to have worked. My theory is that this was due to the new diskcache clearing. The image cache for a few of these sites are several GB (due to the bad cache cleaning in previous versions of image processor web).
I ran debugdiag on one of the smaller sites, before downgrading imageprocessor for it. DiskCache seems to be eating alot of CPU.
http://prntscr.com/dv2ykh
Complete analysis is attached.
MultipleDumps_PerfAnalysis.zip

Yeah I was worried about this. I'm not sure what to do. The cache wasn't cleaning before so I had to make changes but it's obviously too aggressive especially with larger sites.
The problem is fundamentally a maths one. The folders are nested six levels deep with 36 folder in each level so I have to dig down low enough to ensure there is a probability that the files are deleted but not too low. I'll have to do the maths to find the lowest reasonable value.

I understand that. It'd be great to have an option to simply disable the cache cleaning for now. It's easy enough to clean the files using powershell or command line.

Hey @ZNS
I've made a LOT of changes to the caching mechanism and I'd love your input if I could get it.
Cheers!

For reference, the changes are in this PR: https://github.com/JimBobSquarePants/ImageProcessor/pull/541

Could our issue be related to this? Images loads extremely slow after updating to Imageprocessor.Web 4.7.2 (umbraco 7.5.7)
Example
http://gen-pep.se/media/1359/foretag.png?width=286&height=265
http://gen-pep.se/media/1361/foto-2017-01-16-22-23-34.jpg?mode=crop&quality=90&width=1200&height=600

@madsoulswe It is possible. See this discussion on Umbraco https://our.umbraco.org/forum/using-umbraco-and-getting-started/82312-high-cpu-usage-with-757

It will be. A bug was somehow introduced causing the cache to cleanup on every request

v4.8.0 should fix all your issues and more. Get it while it's hot!
@ZNS Could you test the cache cleanup before turning it off. Your sites will be a could way to push it.


seq len

great work!
the input is (batch_size, seq_len, channels),  is it right  that seq_len is a fixed length? why?

Thanks for your comments !
Arbitary sentences are used as input in the Natural Language Processing (NLP) problem. To the best of my knowledge, NLP problem uses fixed sentence length.
Thank you.

Thanks for your comments !
Arbitary sentences are used as input in the Natural Language Processing (NLP) problem. To the best of my knowledge, NLP problem uses fixed sentence length.
Thank you.

But this method is useless for sentence length without alignment. I'm thinking about it, too.

How to modify the network architecture to adapt the varialble length of sentence? thx!

great work!
the input is (batch_size, seq_len, channels), is it right that seq_len is a fixed length? why?


[Bug][Pipeline history] Log download fails with gateway timeout

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Trying to download log from pipeline history fails with a timeout error. It seems to be linked to a too short timeout configuration.

Note: it is not systematic and download could pass sometimes.
What do you expect to happen
Timeout should not be reached while gathering logs / creating archive so that download could be successful.
How to reproduce

trigger a pipeline with a lot of information (wide scopes i assume could be enough) and click on "download log button"
i had the issue with a 72K log if this information could help

Anything else
No response
Version
v0.15.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

@aubertaa Thanks for the report
I think you are right, the default timeouts are 10s https://github.com/apache/incubator-devlake/blob/d11d1cb00d1e8db0491e2b0c3025982a7cd3822d/config-ui/nginx.conf#L17 , we should fix it


Move the offline mode popup to the offline view

Add a placeholder directly in the view when the Offline edit list is empty instead of the popup and transient "No Data" notification

Or use snackbars
https://developer.android.com/training/snackbar/index.html

Here's the current view


[mempool] support flexible txn broadcast scheduling

Motivation
Originally, mempool txn broadcasts followed a rigid schedule - a fixed interval (50 ms) to all peers. There was no flexible scheduling in terms of time or recipient.
With this PR, txn broadcasts can now be scheduled at any time, and each peer can have its own broadcast schedule.
The current implementation still follows the original protocol of fixed-interval broadcasting, but this framework lays the foundation for later supporting features that require flexible broadcast scheduling such as backpressure and responsive broadcasting
Test Plan
Refactored and existing tests pass

:umbrella: The latest upstream changes (presumably 88f5b5bbb0dab0d435cdd7210e30d0e563c8491b) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=phoenix-antigravity

:pushpin: Commit 90ac4cb has been approved by phoenix-antigravity

:hourglass: Testing commit 90ac4cb8c2b52d7103b333188ccba3d97b4360f7 with merge b6e7ad8555b1f24514dc07868307c97381652dae...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: phoenix-antigravity
Pushing b6e7ad8555b1f24514dc07868307c97381652dae to master...


Why send sticker to me,not have notification?can't use notification replay

Operating system:macOS 10.12.6 (16G8c)
Messenger for Desktop version:v2.0.9-stable
Why send sticker to me,not have notification?
But dock notification badge is work.

Please make sure you enable Desktop Notifications from Settings (the gear icon in top-left)


include 'riak-admin search aae-status' in riak-debug output for 2.x

Command output is missing - riak-admin search aae-status - very important for debugging Yokozuna coverage query inconsistencies.

Added to the (work in progress?) 676 PR.

Merged as part of PR #676. Closing.


chained-policy deviations

Added deviations for following

Flattening the policy and including all of them as part of one statement.
default_import / export policy
create default policy permit-all and apply it on all of the BGP peers.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1983

Relevant Lines:
3573

💛  - Coveralls


Issues with Jest Coverage and Cache after upgrading from 26.6.0 to 26.6.2

🐛 Bug Report
After upgrading from Jest v26.6.0 to v26.6.2 I started to experience missing files in the code coverage report.
I found that the problem is fixed when I re-run jest with --no-cache.
To Reproduce
I couldn't isolate the problem in  a small repo, but I found that it happens very often when I follow these steps:

Run tests with jest --coverage
Add new tests while running with jest --watch
Stop the jest watch process and re-run again with coverage: jest --coverage

The files added in step 2 are missing from the coverage report, re-run again with --no-cache and the new files will appear.
Expected behavior

I never run into this problem when using v26.6.0, so I assume that is caused by some patch added in the last version.
I also removed the whole cache directory reported by jest --show-config
Link to repl or repo (highly encouraged)

Sorry I couldn't make a small repo to reproduce this.
envinfo

  System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
  Binaries:
    Node: 12.16.1 - ~/.nvm/versions/node/v12.16.1/bin/node
    Yarn: 1.22.4 - ~/.yarn/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v12.16.1/bin/npm
  npmPackages:
    jest: ^26.6.2 => 26.6.2

I'm also using TypeScript with ts-jest:
<EMAIL_ADDRESS><EMAIL_ADDRESS>
jest.config.js:
module.exports = {
  preset: 'ts-jest',
  clearMocks: true,
  collectCoverageFrom: [
    'src/**',
    '!src/**/*.d.ts',
  ],
};

You can check related issue here https://github.com/kulshekhar/ts-jest/issues/2090

I also encounter this problem. Do you have resolved this problem? Need help, thanks.


Update steamvr monitor based on device connection state

Turns steamvr monitor icons grey/green depending on if a device is connected or not.

Converting to draft for now.


Avoid stack overflow in native symbolification when debuginfod returns a file with MiniDebugInfo

Update our vendored libbacktrace
Avoid stack overflow in native symbolification when debuginfod returns a file with MiniDebugInfo
Prepare for 1.13.2 release

Fixes #636

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.08%. Comparing base (41248ed) to head (c0d7631).
Report is 94 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #639      +/-   ##
==========================================
+ Coverage   92.55%   93.08%   +0.53%
==========================================
  Files          91       94       +3
  Lines       11304    11412     +108
  Branches     1581     2089     +508
==========================================
+ Hits        10462    10623     +161
+ Misses        837      789      -48
+ Partials        5        0       -5

Flag
Coverage Δ

cpp
93.08% <100.00%> (+7.14%)
:arrow_up:

python_and_cython
93.08% <100.00%> (-2.64%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Document Bot Detection

Description:
Document Bot detection for APIM 3.0.0 based on [1].
[1] https://docs.google.com/document/d/1uG0bYMGgUHiTKXEdOGqbMYb4J77Ei2e5G-ORkcMqkDo/edit#heading=h.9aazereqypk2

Documented in [1].
[1] https://apim.docs.wso2.com/en/next/Learn/APISecurity/ThreatProtection/bot-detection/
https://github.com/wso2/docs-apim/pull/52
https://github.com/wso2/docs-apim/pull/56

Doc path:
Learn/APISecurity/ThreatProtection/bot-detection.md


WAF is no longer supported on CDN

As titled, we cannot select CDN while creating WAF policy.

Please correct all the related articles to avoid misguiding our customer.

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

ID: 3b9c5b69-edba-541d-1259-1381a7bd0fc0
Version Independent ID: 3cfbf2f9-60d4-c91d-92c0-b12af9a0436c
Content: What is Azure web application firewall on Azure CDN?
Content Source: articles/web-application-firewall/cdn/cdn-overview.md
Service: web-application-firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@kungfudante , Thanks for your feedback. We shall review this and get back to you shortly

@kungfudante , CDD WAF was a preview feature, and we are not accepting any new customers. Official retirement announcement has been deferred till CDN classic announcement.
Let me know if you need further information on this

Since we have not heard back from you, we will now proceed to close this thread.
If there are further questions regarding this matter, please tag me in your reply.
We will gladly continue the discussion and we will reopen the issue.


Update pub/sub subscription

We need to update the pub/sub code for subscriptions to match the new subscription JSON structure.
Reference: https://github.com/dapr/dapr/issues/1518#issuecomment-624765422

Breaking change for next milestone.

this work depends on https://github.com/dapr/java-sdk/issues/284

this work depends on #284

@youngbupark These should be independent.

They are dependent because the SDK does not work with master as of now. And this issue will also block the SDK from working completely with 0.8. The changes to make the SDK compatible with 0.8 will need to be merged together. Getting the proto files right is the first step.

They are dependent because the SDK does not work with master as of now. And this issue will also block the SDK from working completely with 0.8. The changes to make the SDK compatible with 0.8 will need to be merged together. Getting the proto files right is the first step.

Sure as a whole for SDK, they both are needed, but they are not dependent. #284 is for actors which doesn't need proto.

@artursouza can we create feature branch ?  I might point it out wrong number - https://github.com/dapr/java-sdk/issues/283. this depends on #283 , not #284. looks like @wcs1only is assigned to #283 as well..


GUACAMOLE-1754: Run docker build for PR CI.

Not sure why this job isn't running at all. I'd expect that it would not run automatically and would require manual approval, but it looks like it's not detecting the job at all, which is strange.

I'm also not sure why the job isn't running, but then again it makes some sense that GitHub wouldn't run workflows that haven't been approved and merged (otherwise any contributor could run anything).
Looks like there are additional security concerns for GitHub Actions that we would need to mitigate if we intend to use GitHub Actions to perform PR verification builds:
https://cwiki.apache.org/confluence/display/BUILDS/GitHub+Actions+status

Do you see any documentation anywhere specifying that the actions have to be merged before being runnable? That would be kind of a pain for testing... I can see that PRs on forks would require manual approval here, which makes a lot of sense to me.

I do see workflow failures when I removed required parts of the YAML, so it is getting processed...

This has happened to be before also. If you push the branch to apache/guacamole-client, and open the PR from there, it should trigger the actions. I've only had to do this the very first workflow added to a project...

This has happened to me before also. If you push the branch to apache/guacamole-client, and open the PR from there, it should trigger the actions. I've only had to do this the very first workflow added to a project...

Thanks for the info - that's very helpful!

@mike-jumper @necouchman Any objections to me moving this PR to the apache/guacamole-client repo as detailed above to get this workflow running?

Good with me, particularly if that's what Infra is recommending.

Looks like it (getting a CI job by running on the main repo) worked: https://github.com/apache/guacamole-client/pull/812.

Ok, looks like the job successfully passed. However, I didn't see any manual approval required for the job, which I think we should have - my idea is that a maintainer can manually approve the workflow for any PR that's fully reviewed and ready to be merged.

Ok, looks like it is indeed only the first time that the workflow needs to be approved.
I had to approve this workflow run, but not this one.
I think this is probably ok, though I'm glad to hear other's opinions on this. If this looks good, I can make a similar change for guacamole-server.

Ok, looks like it is indeed only the first time that the workflow needs to be approved.

So long as the build itself can somehow be guaranteed to not be able to impact the repository, the runner it runs on, etc., then this is probably OK as long as we can always manually stop the build.
If there is any possibility that the build could be used maliciously, then implicit approval for follow-up builds would be deal-breaking IMHO. It would be far too easy for someone to open a PR, await approval of that PR's build, and then push new and malicious changes.

So it looks like github itself requires workflow approvals for new users (and does some sort of github-initiated banning of malicious contributors).
The rest would be up to the configuration of the runner. It won't be able to make changes to the repo unless it has the appropriate credentials as exemplified here.
The same goes for doing bad things to the runner - a malicious user can run whatever sort of nasty things that the Apache runner is configured to let them do.
TLDR There's probably no way to guarantee that a user can't mine cryptocurrency or such, but they shouldn't be able to destroy the runner or push bad changes to the repo itself.

You can also modify the repository settings to always require approval for all outside contributors to run the actions. That gives you a chance to review the changes first.

@lorengordon thanks, that's exactly what I'm looking for! I don't seem to have permission to see that settings page, however. So I guess it's no surprise I couldn't find it. @mike-jumper do you have permission to edit these workflow approval settings by any chance?

Well, according to Daniel Gruno in https://issues.apache.org/jira/browse/INFRA-24388, the settings are already configured as we'd want, though it doesn't seem like it works that way in practice.

Looks like approvals are working as expected now. See
https://issues.apache.org/jira/browse/INFRA-24388
https://github.com/apache/guacamole-client/pull/820

:shipit:


Fix VPA deletion in both seed and shoot

How to categorize this PR?

/area quality
/kind bug
/priority normal
What this PR does / why we need it:
This PR fixes two bugs:

Deletion of VPA in seed did not clean up the newly introduced VerticalPodAutoscaler objects (#2696)
Deletion of VPA in shoot did clean up the CustomResourceDefintions (which is especially bad if the shoot is used as seed cluster) - this was desired behaviour but comes with the downside that the (potentially many) VerticalPodAutoscaler objects get lost (FYI: I'm adding the new resources.gardener.cloud/keep-object annotation also for the CRDs in the seed even if they are not managed by the GRM yet (though, they will be managed by it in future, @timebertt is already working on it as part of #1633 and #1825)).

Release note:

When the VPA for shoots is disabled then the `CustomResourceDefinition`s are no longer deleted (they will remain in the system, together with all the `VerticalPodAutoscaler` objects - if you don't need them anymore you can remove them with `kubectl delete crd <crd-names>`).

The new `resources.gardener.cloud/keep-object` annotation can be used on resources managed by `ManagedResource` objects in order to keep them in the system in case they get removed from the `ManagedResource` or the `ManagedResource` itself is being deleted.

/cla


Add video file support

The uploader should be able to handle video files.

The video option uses the audio decoder giving no extra data for the video file.
The video file input formats are supported.


Bluetooth: controller: split: Remove use of k_cpu_idle

Remove use of k_cpu_idle in controller, and refactor the
implementation used to start, wait and stop clocks needed
by the controller.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

CC @stephanosio @kruithofa

@cvinayak there are some CI issues that need fixing

Why is conn_release inline in ull_master.c but not in ull_adv.c?

I propose removing the inline in ull_master.c; depending on compiler (and compiler flags) the function may or may not be inlined. In my test-setup conn_release was kept as a separate function (in ull_master.c) both with and without the inline keyword

@thoh-ot @kruithofa

Why is conn_release inline in ull_master.c but not in ull_adv.c?

I propose removing the inline in ull_master.c; depending on compiler (and compiler flags) the function may or may not be inlined. In my test-setup conn_release was kept as a separate function (in ull_master.c) both with and without the inline keyword

conn_release in ull_master.c is called only in one place, and I want to provide the compiler a hint to inline it. Where as in ull_adv.c its conn_release is called in two places.

Added DNM, so that I can replace K_FOREVER with a suitable timeout value.


update readme with script documentation

@MSSedusch,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Template display blank PDF

Info
 - vue-pdf version: 4.05
 - vue.js version: 2.9.6
 - webpack version: 4.19.1
 - browser version: 73.0.3657.0 (Official Build) canary (32-bit)
 - OS version: Win10 Pro 1803

Problem
Using Vue-pdf with Quasar Framework v17. Give blank pdf.

Bellow error in chrome devtool console
e8ff547e9f6f8b04698b.worker.js:2 Uncaught ReferenceError: window is not defined
    at e8ff547e9f6f8b04698b.worker.js:2
    at e8ff547e9f6f8b04698b.worker.js:792

My google search lead to https://github.com/webpack/webpack/issues/6642 .
Is this a known issue? Any workaround?
Bellow is just a bit of code snippet, not everything.
<template>
   <pdf src="http://www.pdf995.com/samples/pdf.pdf" />
</template>
<script>
import PageWidget from "components/widget/PageWidget";
import pdf from "vue-pdf";

export default {
  components: {
    PageWidget,
    pdf
  },
//...
</script>

Take note that jsfiddle example in the README also give blank page.

dup #97

Have you ever resolved this problem ？？I have the same problem with you

me,too.How to deal with?

Same problem here, was anyone able to resolve it?


Ios black splash screen

From @x4080 on October 21, 2015 5:18
Is this intended? How to display splash screen in ios? I thought that the files in app resources is for the icon and splash screen?
Xcode 7, iPhone 4s ios 9 simulator
Thanks
Copied from original issue: NativeScript/NativeScript#964

So is it a bug ? :)

I think this is related to #330. Please describe your issue there.


Windows failure if install directory has a "!" in it

I set up flutter and running any flutter command, including flutter doctor results in
Error: The Flutter directory is not a clone of the GitHub project.
       The flutter tool requires Git in order to operate properly;
       to set up Flutter, run the following command:
       git clone -b beta https://github.com/flutter/flutter.git

Git is installed and running git --version returns git version 2.20.1.windows.1.
I've tried installing Flutter through the ZIP on flutter.io, as well as cloning it through both
git clone -b beta https://github.com/flutter/flutter.git
and
git clone -b stable https://github.com/flutter/flutter.git,
restarted my laptop after each and still get the same error after running flutter doctor.
I've never had this happen to me before, and would greatly appreciate any help. Thank you

It seems a bug in flutter.bat
I will have a look.

I ran into this issue today - I hold my dev tools in a directory called "!DevTools". After finding this issue, I moved the flutter folder from that directory to another (and changed the PATH var) which worked as expected.
It appears that the "SETLOCAL ENABLEDELAYEDEXPANSION" line in the /bin/.bat files is the main offender here (per various StackOverflow and google searches) - I changed that line to "SETLOCAL EnableExtensions DisableDelayedExpansion" (per the same research) and the flutter commands worked as expected when I moved everything back to the original folder
However, there is a like issue in the /bin/internal/update_dart_sdk.ps1 - which is choking on the ! in the directory name. I'm not well versed in PS scripting so I will continue my research but I wanted to bump this topic

I just ran into this issue in Windows 10.  The parent folder to flutter had an ! in the name.  This cause "flutter doctor" to fail.  Command prompt would close without warning.  Powershell would give me some sort of Git error when running "flutter doctor".  Cloned again.  Moving "flutter" to a folder without an exclamation mark and changing the environment variable fixed the problem.  Now "flutter doctor" runs.

This is fixed by flutter/engine#106861. I'll close this issue.


Request.Tags

Easy peasy implementation — seems to be even working!

Thank you. Seems fine.
I could not test it fully, cause we have separate fork of this package in Badoo :-(


Download QR code image

I was wondering if could download the generated QR code as an image, I am using ionic framework and could not found hot this can be done.

@dhiman252 Any solution found ?

I know this is a bad code, and it is not the best solution, but this works for web applications at least.
function downloadQR() {
		var canvas = document.getElementsByTagName("canvas")[0];
		var img = canvas.toDataURL("image/png");
		var a = document.createElement('a');

		a.href = img;
		a.download = "seguroae_qr.png";
		document.body.appendChild(a);
		a.click();
		document.body.removeChild(a);
	}


Add support for filters

From<EMAIL_ADDRESS>on May 21, 2011 17:32:35
To be able to do a bit more advanced inspections and authentication providers.
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=71

From<EMAIL_ADDRESS>on May 21, 2011 08:33:00
Status: Fixed


Elegant Dark Footer with Interactive Links and Subscription

This footer combines a sleek, dark-themed design with interactive features for an engaging user experience. It includes quick navigation links, a brief "About Us" section, and a newsletter subscription form with a gradient "Subscribe" button. Social media icons and a "Share Us" button add social connectivity, with each element featuring subtle hover effects and color transitions to enhance visual appeal.
Closes : #2134
BEFORE:

AFTER:

@SrijaVuppala295 resolve the conflict

@iamrahulmahato , resolved !!!


how to write responses(body=)

#[utoipa::path(     responses(         (status = 200, description = "OK", body = Value)     ) )] #[get("/health")] pub async fn health(_request: HttpRequest) -> HttpResult {     Ok(HttpResponse::Ok().json(json!({"status":0}))) }
Hello, I want to ask a question: How should a body be defined for the above code? Thank you!

You would create a struct to describe the body {"status":0}, and then use it in the utoipa::path macro call
...
responses(
    (status = 200, body = MyStatusStruct, description = "Provides the health check status"),
),
...

ok，got it. Thanks！


[Beta] FocusScope.of(context).nextFocus() not working correctly

Hi,
for me it seems the FocusScope.of(context).nextFocus() is not working correctly.
Code to reproduce:
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
            // visualDensity: VisualDensity.adaptivePlatformDensity,
            ),
        home: MyHomePage());
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: <Widget>[
          TextField(
            decoration: InputDecoration(hintText: "TextField A"),
            textInputAction: TextInputAction.next,
            onSubmitted: (_) =>
                FocusScope.of(context).nextFocus(), // move focus to next
          ),
          TextField(
            decoration: InputDecoration(hintText: "TextField B"),
            textInputAction: TextInputAction.next,
            onSubmitted: (_) =>
                FocusScope.of(context).nextFocus(), // move focus to next
          ),
          TextField(
            decoration: InputDecoration(hintText: "TextField C"),
            textInputAction: TextInputAction.done,
            onSubmitted: (_) =>
                FocusScope.of(context).unfocus(), // submit and hide keyboard
          ),
        ],
      ),
    );
  }
}

Expected behaviour: When submitting Textfield A, focus TextField B
What happened: After submitting TextField A, focus on TextField C (TextField B is fully ignored)
Its working when i remove MyHomePage Widget and put all in the MyApp Widget
import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
            // visualDensity: VisualDensity.adaptivePlatformDensity,
            ),
        home: Scaffold(
          body: Column(
            children: <Widget>[
              TextField(
                decoration: InputDecoration(hintText: "TextField A"),
                textInputAction: TextInputAction.next,
                onSubmitted: (_) =>
                    FocusScope.of(context).nextFocus(), // move focus to next
              ),
              TextField(
                decoration: InputDecoration(hintText: "TextField B"),
                textInputAction: TextInputAction.next,
                onSubmitted: (_) =>
                    FocusScope.of(context).nextFocus(), // move focus to next
              ),
              TextField(
                decoration: InputDecoration(hintText: "TextField C"),
                textInputAction: TextInputAction.done,
                onSubmitted: (_) => FocusScope.of(context)
                    .unfocus(), // submit and hide keyboard
              ),
            ],
          ),
        ));
  }
}

Flutter doctor -v:
[√] Flutter (Channel beta, 1.22.1, on Microsoft Windows [Version 10.0.18362.1082], locale de-DE)
    • Flutter version 1.22.1 at Z:\workspace\flutter
    • Framework revision f30b7f4db9 (3 days ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Platform android-30, build-tools 29.0.2
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.0)
    • Android Studio at Z:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

@Rayv1 Hi, Thank you for reporting the issue, although this is not a bug.
The action TextInputAction.next means that The user is done with the current input source and wants to move to the next one..
So when you click submit, the focus will automatically switch to the next one, and you don't need to request the next node in the onSubmitted callback, just remove it!
Additionally, why it working at the second sample code?
An exception was reported because the context does not in a FocusScope:
════════ Exception caught by widgets ═══════════════════════════════════════════════════════════════
The following _CastError was thrown while calling onSubmitted for TextInputAction.next:
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      FocusNode.nextFocus (package:flutter/src/widgets/focus_manager.dart:1127:53)
#1      MyApp.build.<anonymous closure> (package:flutter_app_demo/main.dart:29:44)
#2      EditableTextState._finalizeEditing (package:flutter/src/widgets/editable_text.dart:1864:28)
#3      EditableTextState.performAction (package:flutter/src/widgets/editable_text.dart:1723:9)
#4      TextInput._handleTextInputInvocation (package:flutter/src/services/text_input.dart:1200:37)

@Rayv1
Please see above detailed explanation and check if it answers your question and why it isn't working.

Thanks, yes TextInputAction.next without FocusScope.of(context).nextFocus() works like a charm.


Service fabric definition not working

Hello, I'm trying to build a Service Fabric project that contains some services built on .Net Core targeting .Net 452, when the build definition triggers to build it fails with the following error message:
Error MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
Is there a work around to make this work?

@miker1423 can you please provide more details:

are you using hosted agent?

which VS version have you selected in the build sfproj task - VS2015 or VS2017?

Please provide more detailed error log by adding a variable "system.debug" with value true in build definition and creating a new build

Would be great if you can provide repro steps/sample app to repro this issue

Hello,

I'm using hosted agent
VS2017
Even adding the variable "system.debug" I get the same  error
I'm just picking the template that is found in VS Team Services, the only thing I change is the version of VS from 2015 to 2017, and the architecture from x86 to x64.

@miker1423 i think this is same issue as https://github.com/Microsoft/vsts-tasks/issues/3747
@bryanmacfarlane, do you agree?
Hosted agent does not support VS2017. A new queue called "Hosted agent VS2017" is being rolled out which will fix this.

@bishal-pdMSFT yes, it's the same issue, do you have more info on when its going to roll out the new queue??

@miker1423 It is already being rolled out. Please re-check for your account.

Hello, I'm now getting this other error when building the .sfproj
Error MSB4057: The target "Package" does not exist in the project.

@miker1423 @bishal-pdMSFT This could be happening as your sfproj might be older than minimum supported version by SF sdk and tools running on HostedVS2017 agent. Current version on this queue is 5.7-preview.
You should install this version of SF sdk and runtime on your local machine and update sfproj. I think you might not be able to install 5.7-preview version as it is not available on WebPI, but you an try 5.6 version and see if that fixes your issue

Closing this. @miker1423, please re-activate if you still have this issue.


Set up database

Create MSSQL database for the project and set up the connection with the project.

Consult the team if we need back-up database at this stage.


Remove device-id restriction from TouchScreenButton input events

Remove the restriction that only devices with id 0 are used for TouchScreenButton-Input events.
This allows emulated events to be used for TouchScreenButton.
fix #73457
I don't understand the reason for this device-id-restriction in the first place. I had a look at the commit, where it was introduced, but that didn't help. So please review carefully.

Thanks!


[Bug] error when trying to enter the settings

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a plugin or theme

Describe the Bug
When you install better and go to the settings of the application, an error about "unexpected failure" pops up. I did everything and reinstall then discord, then better, completely removed plugins and themes, even deleted all the root folders and did a clean installation - nothing, all the same
Expected Behavior
open the settings and customize them to your needs
Steps To Reproduce

i run in on windows 10 pro version 22H2
idk default one ig
Trying to go to the application settings, a window appears that discord has found an unexpected error, and in the middle there is a reload button
there is no error, only the text that "an unexpected error was found"

Operating System
Windows
Discord Version
Stable
BetterDiscord Version
1.0.9011
Anything else?

Same problem

Jep same here, ig its a common bug rn, some of my friends also have the exact same problem

Known issue, a fix is being worked on.

same on linux (fedora) here

Same issue, the old fix that fixed it last time doesnt work either.

Can confirm, this happens regardless of any theme or plugins. The console outputs the following on crash...
Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.     at wc (288aa17….js:1667)     at d (288aa17….js:1602)     at E (288aa17….js:1604)     at e (288aa17….js:1606)     at vs (288aa17….js:1618)     at yu (288aa17….js:1663)     at Oc (288aa17….js:1655)     at Ic (288aa17….js:1655)     at hc (288aa17….js:1654)     at ic (288aa17….js:1651)     at oc (288aa17….js:1650)     at g (288aa17….js:1772)     at L (288aa17….js:1773)     at t.exports (ff334c0….js:21)     at g.<computed> (ff334c0….js:36)     at Number.m (ff334c0….js:36)     at MessagePort.b (ff334c0….js:36)

I deleted everything, even localappdata, appdata from bdc and dc, still having the same issiue when i install bdc

I have the same issue on my Mac M1.
OS: Ventura
I tried to install it via Discord canary and the regular discord, same issue.

Thank god im not the only one who has this issue right now. Others has it too. Oop

at this point im having an the issue where im trying to use betterdiscord with all the plugins i got but it wont even get to my messages lmao it just gives me the error lol

Experiencing same issue on fresh BD install.

Issue confirmed on linux

Guys, any update so far??

same issue with me :/

Guys, any update so far??

they're aware of the issue and are working on a fix @canerolu2019 , chill, they're just volunteers

Haven't fixed it yet? This problem seems to exist all the time. It happened when I was using it last year. I reloaded it a few times and it worked, but it didn’t work this time.

Just use Discord Canary or PTB until BD is patched.

Just use Discord Canary or PTB until BD is patched.

Where can I download this?

Even using bd on Discord Canary also crashes

@echo off
cd %appdata%/betterdiscord/data
taskkill /f /im discord.exe
curl  https://cdn.discordapp.com/attachments/826217269323235358/1079920833662816277/betterdiscord.asar -O

Make a bat file and Try to run this... i guess it will work... I got it from Betterdiscord Discord server

It's good, but I don't know why, the plugin can't be loaded normally

@echo off
cd %appdata%/betterdiscord/data
taskkill /f /im discord.exe
curl  https://cdn.discordapp.com/attachments/826217269323235358/1079920833662816277/betterdiscord.asar -O

Make a bat file and Try to run this... i guess it will work... I got it from Betterdiscord Discord server

is there a workaround for linux systems that you know of or might know someone that might know of it? or no?

macos ver:
#!/bin/sh
echo "bd-repair"
cd ~/"Library/Application Support/betterDiscord/data"
killall Discord
curl -O "https://cdn.discordapp.com/attachments/826217269323235358/1079920833662816277/betterdiscord.asar"

The latest update causes this issue, and in my testing affects all platforms. With plugins active, the client will not go past the loading animation. Removing plugins stored in the plugin folder does allow you to go past the loading screen, but it will still crash when entering settings. Currently uninstalling is the only fix.

This is so funny. Discord added Themes for Nitro Only and a week later This issue started.
It seems like Discord is trying to kill Better Discord and they are going to succeed unless Better Discord Devs do something about this issue.

If that's the case, that's too bad, bd's plugin system is great, but discord probably won't support it

dont know if this is also the case for everyone, but right clicking on a server name whilst in the server, also crashes discord. I would really like a fix for this

no

the fix is here
https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389

There is the same error on Mac.

the fix is here https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389

@echo off
cd %appdata%/betterdiscord/data
taskkill /f /im discord.exe
curl  https://cdn.discordapp.com/attachments/826217269323235358/1079920833662816277/betterdiscord.asar -O

Make a bat file and Try to run this... i guess it will work... I got it from Betterdiscord Discord server

the fix is here https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389

After trying this fix, I keep getting this problem with the BDFDB library plugin and every other plugin that uses this library

the fix is here https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389

After trying this fix, I keep getting this problem with the BDFDB library plugin and every other plugin that uses this library

Yeah me too, I tried to reinstall this plugin, delete files and nothing works

the fix is here https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389

Can confirm this fixes original problem, which is the crash on opening Settings menu.

the fix is here https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389

This fixed the original problem for me too but it crashes for me when I click on some servers which then puts Discord into a crashing loop unless I end it from the system tray.

I have the same issue on win 10

I also have the same issue but on Arch Linux. At first, discord would crash at startup but after deleting everything it seems like only by opening the settings the crash will occur. I will try this to see if it'll fix my issue.

me too bro ;-;

I have no clue if anyone else is having this issue, but recently I have been having messages either:
crash Discord whenever they're opened
or not load at all, even from a group chat until Discord is restarted (and even then the message may crash Discord)

Can we rename this issue so that people stop creating new issues for the same bug?

Just here to confirm this is universal I have this issue on macos ventura 13.0.1

replacing the .asar does allow me to open my settings again but it seems like every actual plugin is broke, their settings pages no longer opens

replacing the .asar does allow me to open my settings again but it seems like every actual plugin is broke, their settings pages no longer opens

Where do you replace the .asar file?

nvm i found it

Yeah, replacing the asar file doesn't work, and neither does removing the plugins and themes.

I tried that temporary fix yesterday and so far it works like a charm and i can apply the themes with no problem. The only downside is the plugins dont work sadly.

I also have the same issue but on Arch Linux. At first, discord would crash at startup but after deleting everything it seems like only by opening the settings the crash will occur. I will try this to see if it'll fix my issue.

did it work? im still having the issue on Debian

Same issue here

replacing the .asar does allow me to open my settings again but it seems like every actual plugin is broke, their settings pages no longer opens

Where do you replace the .asar file?

replace in %appdata%\BetterDiscord\data

replacing the .asar does allow me to open my settings again but it seems like every actual plugin is broke, their settings pages no longer opens

it doesn't really seem to work for me cause I still get crashes in the settings :/

the fix is here https://github.com/BetterDiscord/BetterDiscord/actions/runs/4290243389

Can confirm this works for me on W10, can go into settings now without crashing. Plugins are still broken but at least theme still works.

Not working properly on W11 with the installed .asar but working (yes, just working) with the .asar from the workaround. For example is someone is playing a game with the overlay ON it crashes if you click on the profile. Can't right click any server o person profile and some plugins are so buggy. Cheers!

The .asar from the workaround seems to work on macOS Ventura 13.2.1. Plugins are absolutely broken though - but themes work.

same

same

This has been fixed in the latest release


Update to latest version of php-http/guzzle6-adapter (fix conflict)

Hey!
The current composer restrictions / version conflict when installing.
php-http/guzzle6-adapter version ^1.1 has this dependency
"php-http/httplug": "^1.0",

However, your composer package requires...
"php-http/httplug": "^1.1 || ^2.0",

Causing a conflict on installation. About to end through another PR, hence stumbling across this.

hmmm, so the test suite passed on this PR (https://github.com/vinkla/instagram/pull/101) without this change...not sure if I have this wrong, or if Travis does not update composer, but locally I was unable to install the deps on a clean clone.

Thanks for the pull request!
I think we better ask @Nyholm about this issue. I know this has come up before in #98 and #99.

Sooo...I just tried this again and I couldn't replicate it... kinda strange. I'm gonna close because it seems okay now on my end.

Using "php-http/httplug": "^1.1 || ^2.0", is always correct

Great! Then we can go ahead and release a new version ✨


feat: xcm pallet transactions

rel: https://github.com/paritytech/txwrapper-core/issues/218
Feature
Add reserveTransferAssets, and teleportAssets to @substrate/txwrapper-polkadot for offline construction.

(The main thing I'm not sure of is; are reserveTransferAssets and teleportAssets the only calls that are possible/of interest?)

Yup, these are the basic foundational calls for XCM, these are definitely the main ones of interest.


Support updates for items where website/tags are defined

Current Behavior
Running into this error when attempting to update a text field where the item contains a website/tags:
onepassword_functions.py:update_item:128 - msg="invalid user input: encountered the following errors: cannot update item u7h2vz4yrnb2th2eeqx2cyvjry. Editing is not supported for items with files, custom icons, or fields of types other than 'concealed' or 'text'."
Desired Behavior
Support the update call on fields other than 'concealed' or 'text'.
Benefits & Value
No response
Additional information
No response

Hey @jessewindebank1809, thank you for reaching out!
Adding support for more field types and another item attributes (such as websites and tags) is indeed on our roadmap, I'm going to be forwarding your request to our Product team for internal prioritzation.
That being said, that message is slightly outdated, as currently the SDK is supporting more field types (such as URLs, credit cards etc.), so I'll also make sure to file a bug report for that error message.
Thank you for your request!

@jessewindebank1809 we've just published version 0.1.2 of the SDK, with support for tags.
Websites also exist on our short roadmap, stay tuned for that!

@jessewindebank1809 version 0.1.3 of the SDK adds support for websites.
I'll be closing this issue, but do feel free to reopen if this doesn't address your use-case. Thanks!


Install ESAPI extension for testbox run

Running testbox run on this minibox-ci image requires the ESAPI extension to be installed.

Using the env var will be more future proof since this locks in a version of the extension.

Closing this PR... don't know why I created a PR for my own fork :joy:


Windows issue

https://github.com/Compass/compass/issues/1657
Can you investigate?

There have been a bunch of new versions since this was filed so I'm closing unless it get's reopened.

Unfortunately I am getting the same error with
  * compass (1.0.1)
  * compass-core (1.0.1)
  * compass-import-once (1.0.5)
  * compass-rails (2.0.4)

I don't have any way of debugging windows. Do you know a way for me to get a windows environment without MS license fees?

@craigmcnamara https://www.modern.ie/en-us/virtualization-tools I believe modern.ie's VMs might help with that. They use evaluation copies of Windows.


Alibaba-NLP/gte-Qwen2-7B-instruct doesn't load properly

The library unfortunately isn't working with the Alibaba-NLP/gte-Qwen2-7B-instruct Transformers model.
python -m qllm --model Alibaba-NLP/gte-Qwen2-7B-instruct --method gptq --save ./gte-Qwen2-7B-4bit --export_onnx ./gte-Qwen2-7B-4bit_onnx --allow_mix_bits --true-sequential
Namespace(method='gptq', model='Alibaba-NLP/gte-Qwen2-7B-instruct', tokenizer='', dataset='wikitext2', seed=0, nsamples=128, percdamp=0.01, static_groups=False, wbits=4, mix_qlayer_conf=None, groupsize=128, eval=False, save='./gte-Qwen2-7B-4bit', save_safetensors='', load='', sym=False, act_order=False, true_sequential=True, allow_mix_bits=True, export_onnx='./gte-Qwen2-7B-4bit_onnx', use_plugin=False, pack_mode='AUTO')
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
2024-06-19 02:37:27,252 - qllm - INFO - loading model from Alibaba-NLP/gte-Qwen2-7B-instruct
Loading checkpoint shards: 100%|██████████████████| 7/7 [00:02<00:00,  3.06it/s]
2024-06-19 02:37:30,775 - qllm - INFO - loading dataset from wikitext2
2024-06-19 02:37:30,775 - qllm - INFO - found cached dataloader in /tmp/qllm_vubuntu/_Alibaba-NLPgte-Qwen2-7B-instruct_wikitext2_128_2048_0_dataloader.pt
Starting ...
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/opt/conda/lib/python3.10/site-packages/qllm/__main__.py", line 6, in <module>
    main()
  File "/opt/conda/lib/python3.10/site-packages/qllm/run.py", line 78, in main
    model_quanter.run(args)
  File "/opt/conda/lib/python3.10/site-packages/qllm/auto_model_quantization.py", line 214, in run
    quantizers = self.__dispatch_quant(model, inputs_dataloader, config, "cuda")
  File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/qllm/auto_model_quantization.py", line 42, in __dispatch_quant
    return quantizer.quantize(model, inputs_dataloader, dev)
  File "/opt/conda/lib/python3.10/site-packages/qllm/quantization/quant_frame_base.py", line 119, in quantize
    quantizers.update(self.do_quantize(model, dataloader, prefix, dev))
  File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/qllm/quantization/quant_gptq.py", line 91, in do_quantize
    inps, outs, attention_layers, layer_input_args = self.hijack_block_inputs(model, dataloader, model_prefix, dev)
  File "/opt/conda/lib/python3.10/site-packages/qllm/quantization/quant_frame_base.py", line 90, in hijack_block_inputs
    model(batch[0].to(dev))
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/ubuntu/.cache/huggingface/modules/transformers_modules/Alibaba-NLP/gte-Qwen2-7B-instruct/1efef6cb8e5b06824152b8fa2a42e762bd4a3571/modeling_qwen.py", line 1198, in forward
    outputs = self.model(
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
    return forward_call(*args, **kwargs)
  File "/home/ubuntu/.cache/huggingface/modules/transformers_modules/Alibaba-NLP/gte-Qwen2-7B-instruct/1efef6cb8e5b06824152b8fa2a42e762bd4a3571/modeling_qwen.py", line 1038, in forward
    attention_mask = _prepare_4d_attention_mask_for_sdpa(
  File "/opt/conda/lib/python3.10/site-packages/transformers/modeling_attn_mask_utils.py", line 439, in _prepare_4d_attention_mask_for_sdpa
    batch_size, key_value_length = mask.shape
AttributeError: 'NoneType' object has no attribute 'shape'

Hi @prattcmp
Thanks for filing the issue.
It's as modeling_qwen.py doesn't handle None attention_mask when using spda backend.
https://huggingface.co/Alibaba-NLP/gte-Qwen2-7B-instruct/blob/1efef6cb8e5b06824152b8fa2a42e762bd4a3571/modeling_qwen.py#L1038
The workaround would be add a parament here to specify flash-attn backend
https://github.com/wejoncy/QLLM/blob/7ecb24b9c53b0ba7b46c140457170b44682e631a/qllm/modeling/base.py#L176
llm = AutoModelForCausalLM.from_pretrained(
            pretrained_model_name_or_path, torch_dtype=torch.float16, trust_remote_code=trust_remote_code
            ,attn_implementation="flash_attention_2")

Or fix qwen function
https://huggingface.co/Alibaba-NLP/gte-Qwen2-7B-instruct/blob/1efef6cb8e5b06824152b8fa2a42e762bd4a3571/modeling_qwen.py#L1038
attention_mask = _prepare_4d_attention_mask_for_sdpa(
                    attention_mask, inputs_embeds.dtype
                )
``` to support None mask

or
Fix here to pass attention_mask

try:  # noqa:SIM105
model(batch[0].to(dev), batch[1].to(dev))
except ValueError:
pass
https://github.com/wejoncy/QLLM/blob/7ecb24b9c53b0ba7b46c140457170b44682e631a/qllm/quantization/quant_frame_base.py#L90

I create a fix PR to support specify use_flash_attn by a environment variable USE_FLASH_ATTN=1

Wow, how did you untangle that so quickly?
Env variable is great. Would also be nice to have it as a CLI flag. Any regression risk if the flag is default true/enabled?

Wow, how did you untangle that so quickly?
Env variable is great. Would also be nice to have it as a CLI flag. Any regression risk if the flag is default true/enabled?

If use_flash_attention is set by default, it will require user to install flash-attn package.
However,  flash-attn requires sm>=8.0, which would be impossible for GPUs like V100 or below.
Besides, Transformers will select the appropriate backend for attention (eager/spda/flash-attn), the first two works great for all GPUs.


Update heartbeat.md

Updated the description of new Heartbeat column: ComputerPrivateIPs. Harmonized the description of ComputerIP column with it.

I need to apologize for not using proper PR process. I failed to ensure I am using private repo when I edited the article. I am going to close this PR and do it properly (which should allow for automerge).


Implement PUB API

PUB API will be used to notify connected node clients about new peer connections. It will be part of the API service from https://github.com/LNP-BP/lnpd/issues/3
PUB should have the following messages:

CONNECTION_OPENED:connection_id:node_key:node_address
CONNECTION_CLOSED:connection_id:node_key:node_address

NB: : sign represents not a semicolon but rather parts of ZMQ multipart message zmq::Miltipart
connection_id is the internal id of the connection used by the node and that can be used in the client API

Not required for the updated architecture


Add EDA procedure

Add EDA procedure

count distribution of classification labels
- fit and make scaler transformer for training - save mean and var after time diff

Priority: None
Created: October 09, 2022 at 03:21PM
via iOS Reminders Additional Life list

add table and jpg


avoid stopping build-pod watch when nobody’s looking

Finishes #637 by commenting-out remaining check of stop_event
We should switch this over to a dedicated thread watching all build pods and deleting the stopped ones, rather than a watch thread for each build pod, but this will fix the accumulating build pods for now.

LGTM.


Correct spelling on page

Corrected 'CleintID' to 'ClientID' in documentation

Thanks for the pull request!


Fix code samples in readme

@shehzan10 could you review this quickly?

Changes look good and I verified that there are no other errors.
However, do we want to change var to const/let? var are currently eslint errors right, so maybe we should not use them in the readme either.

@shehzan10 Updated to use const.

Thanks @lilleyse.


Add documentation for pmatch operator, including glob support

Add a new page that describes how the pmatch operator works, including support for globs (added in
https://github.com/falcosecurity/libs/pull/1091).

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Add documentation for the pmatch operator, including support for globs.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mstemm
Once this PR has been reviewed and has the lgtm label, please assign vjjmiras for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

content/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Do we know which falco version will contain the corresponding libs change? If so, I can put the falco version in the docs now (currently XXX).

/hold
This will likely rolled out in the next Falco version (0.36), so we need to hold up until after the release.

Ok, replaced xxx placeholder with 0.36.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, mstemm
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: ee9d474033a6e48efa7005575660ece3bf59236e

New changes are detected. LGTM label has been removed.

Btw, I rebased this to resolve the merge conflict. Could I get an approval again?

LGTM label has been added.  Git tree hash: aa726fbf582069454db4d3d1df264fbdd63f9e39

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, mstemm
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content/OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Update Beacon version

Requirements
Description
Update version number of Beacon endpoint
Use case
Endpoint had an older version.
Benefits
Updated endpoint
Possible Drawbacks
None
Testing
Have you added/modified unit tests to test the changes?
No
If so, do the tests pass/fail?
Have you run the entire test suite and no regression was detected?
No
Changelog
Are you changing the functionality of an endpoint? If so, please give a one line summary for the public facing changelog.
No

Do I understand that the version of the beacon was wrong? Or that version 0.3 is the same as version 1 as far as we are concerned?

It's just outdated, but I need to make more changes to this pull request that I didn't realize before. I'm going to close it.


Merge gitbook with same content

Gitbook: https://www.gitbook.com/book/learning-rust/learning-rust/

Partially done.


refactor: use metavm instead of vm

Closes: https://github.com/metarhia/metasql/issues/80

Landed in https://github.com/metarhia/metasql/commit/3270a85f33cd607a347dd5189d7218fe62a2e066


[Docathon][Add API Legend No.2]Add legend and docs for broadcast_tensors

Add legend for broadcast_tensors and change the api docs.

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

请问我的pull request出现了什么问题吗?我该如何解决?@luotao1

请耐心等待审核，而且这个子任务已经有其他同学也提交了。

close due to the following PR is merged:

https://github.com/PaddlePaddle/docs/pull/6941


Integration with sfdx?

After authenticating with an org via sfdx's (which uses oauth under the hood), it stores the accessToken and other details in a json file in the ~/.sfdx folder.
Example:
{ orgId: '00Dd0000000cddqEAA',
  accessToken: 'aaa7d0647d....3f427',
  refreshToken: '9ca044f...99444886',
  instanceUrl: 'https://org.my.salesforce.com',
  loginUrl: 'https://login.salesforce.com',
  username<EMAIL_ADDRESS>  isDevHub: true }

If I use the accessToken and instanceUrl from that file:
const conn = new jsforce.Connection({instanceUrl, accessToken});

I get this error:
sf:INVALID_SESSION_ID: INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session

Any ideas?

I just tried this as well. I believe it's because the accessToken that's stored is not the real one. It's encrypted for security. I tested this by getting org:display from the cli and comparing the two.

Rather than parse the ~/.sfdx folder, run theforce:org:display command with json output to obtain the access token.
sfdx force:org:display -u myorg --json

{
    "status":0,
    "result":{
        "password":"foo123",
<EMAIL_ADDRESS><EMAIL_ADDRESS>        "id":"00DR0000001oKnrMBE",
<EMAIL_ADDRESS>        "createdDate":"2018-05-08T02:12:36.000+0000",
        "expirationDate":"2018-05-15",
        "status":"Active",
        "edition":"Developer",
        "orgName":"Company",
        "accessToken":"00DR...6unNVNRBWcP2i",
        "instanceUrl":"https://<instance>.my.salesforce.com",
        "clientId":"SalesforceDevelopmentExperience",
        "alias":"myorg"
    }
}

My guess is that the force:org:display command is not refreshing the token before showing it, perhaps displaying the last obtained value which may or may not still be valid. Or, maybe the scratch org has expired and the token is literally no longer valid.
You might try running the force:limits:api:display command first which likely will require the access token to be refreshed because the CLI has to make a REST API call and would auto-renew the token if necessary.
https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_limits.htm#cli_reference_api_display

@douglascayers will that also refresh the access token for scratch orgs?

@JonDum @salesforce/core library (sfdx-cli depends on this library) extends objects from jsforce.
You can use the following snippet to get jsforce Connnection object:
const {AuthInfo, Connection} = require('@salesforce/core');
const conn = await Connection.create({
  authInfo: await AuthInfo.create({ username: 'myAdminUsername' })
});

https://forcedotcom.github.io/sfdx-core/classes/connection.html


Pub can fail to load transformers necessary for local development

If a package "foo" uses a transformer from package "bar" and restricts that transformer to only run on files in "test", "bar"'s transformer won't be loaded at all. This is due to a flaw in Pub's logic for determining necessary transformers: because "bar" only runs on non-public file and isn't from the root package, pub assumes that it's not necessary. Instead, pub should check whether it's *used in* the root package.
This is a serious issue for the test runner: it needs to expose a transformer for its users to use, but that transformer will only be run on tests.

This issue has been moved to dart-lang/pub#5.


Shadows2D dont appear on mobile  [GLES2]

Godot version:

3.1
OS/device including version:

mobile android
Issue description:

I was testing the export to android with the Lights_shadows demo, when i debug this via adb, the lights work properly but the light occuler doesnt generate any shadow
Steps to reproduce:
my mobile is an lg-x210g, if anyone an test it with another smartphone, maybe this could discard if my mobile is the problem.
Minimal reproduction project:

Are you using GLES2 or GLES3? Can you provide more information on your Android version and your device specifications?

I can confirm, I'm having the same issue Using GLES2, with the Google Nexus 7 and Samsung SM-G900T
Google Nexus 7 (OpenGL 3.0.0, Android 4.4.2, CPU armeabi-v7a, chipset msm8960)
Samsung SM-G900T (OpenGL 3.0.0, Android 6.0.1, CPU armeabi-v7a, chipset msm8974)
I'm also having some rendering issues with the Google pixel 2 XL (OpenGL 3.0.2, Android 8.1.0, CPU arm64-v8a, chipset msm8998)
The pixel renders the shadows but they are pushed off center and seem to have 'chunks' missing from the shadows.
Setting godot to use GLES3 fixes the Pixels problems but the other two devices won't run the game at all in that mode.

Can either of you still reproduce this issue in 3.2.3 RC 1 or later?

No answer and no reproduction project to test, so closing.


Use private repositories for testing the source-build release

Raised by https://github.com/dotnet/release/pull/796#discussion_r1463491299
Currently the forks of the repositories we use for testing are set to public.
While we work only with publicly available sources / assets in the test / validation pipelines, the repositories still should be set to private as they are only intended for testing purposes and don't need to be synchronized with their upstream.
Additionally, the PAT we use for dotnet-sb-bot does not have the necessary permissions to access / write to private repositories within the test organization. As part of this work we should manually rotate the PAT with the correct access rights.

PR - https://dev.azure.com/dnceng/internal/_git/dotnet-release/pullrequest/37598

PR merged, closing


Deploymentupdates

started working on updating the updater (changing from static to instance) and moving the repository to app.config so it would be configurable and later on we can start releasing with auto updates enabled

Not sure how we can solve the portable mode's UserData. Had a brief look at squirrel project, didn't see anything obvious to exclude folder during installation

we can always backup the data to another folder before the update and afterwards get it back or something like that, or just don't give this ability in portable mode

but auto updates if we do changes is really important

Yeah that was the last resort for me that I can think of, might just move the folder out temporarily but pretty ugly. I was alternatively also wondering if we could switch from squirrel to something else. So far just a thought. But yeah continue with the work on auto updates.


Use slashed bool more Pythonicly

Not sure I like this. "Verify that not proposer.slashed" doesn't sound right to anyone who's not an expert pythonista, and the spec's primary goal is being human-readable, not being pythonista-readable. Maybe one more moderate pythonization would be is False instead of == False?

@vbuterin updated