Fixes for CI pipelines

Thank you for opening a pull request and contributing to AsciidoctorJ!
Please take a bit of time giving some details about your pull request:
Kind of change

[ ] Bug fix
[ ] New non-breaking feature
[ ] New breaking feature
[ ] Documentation update
[x] Build improvement

Description
What is the goal of this pull request?
Fixes in pipelines
How does it achieve that?

Execution exclude for mac-os was not aplied ('1.x' syntax no longer works)
Test upstream 'if' condition was not being applied ever. Not it runs on ubuntu for 11 & 17
Increase max-parellel to 4 to shorten total time

Are there any alternative ways to implement this?
No that I know.
Are there any implications of this pull request? Anything a user must know?
I'd also like to split "Test upstream" in a different job so it's shown in the actions UI and we don't miss it again.
It will require some config duplication but I think it's worth it.
Issue
If this PR fixes an open issue, please add a line of the form:
Fixes #Issue
Release notes
Please add a corresponding entry to the file CHANGELOG.adoc

Thanks!
I somehow missed checking the changes when upgrading from setup-java v1 to v2.

I'd also like to split "Test upstream" in a different job so it's shown in the actions UI and we don't miss it again.
It will require some config duplication but I think it's worth it.

opinions on ☝ ?

I would be fine with that.


Having to sign the DCO discourages contributions

Background:

I'm a technical writer, and love to contribute to open source projects on GitHub, given its easy to use interface for editing Markdown and submitting a PR.
At the same time, I don't have the inclination to fork, clone, edit etc. a project just to fix a typo.
Prometheus is the first project I've seen in years that automatically rejects all such contributions because of a thing called DCO (remember, I'm just a technical writer, and I'm unfamiliar with the reasons why this DCO is necessary here, but nowhere else I've been contributing).
I'm not the only one whose commits have been rejected for not signing the DCO. https://github.com/prometheus/docs/search?q=dco&type=issues shows 116 issues that have the word "DCO" in them. Just look at the first page of results.

I assume this DCO thing is worth rejecting contributions from the community, but there's got to be a better way.
The PR template is super cryptic for drive-by contributors: "Please sign CNCF's Developer Certificate of Origin". What's CNCF? Developer Certificate of Origin? Yeah, you can Google those, but the whole line made me gloss over it several times, and the vast majority won't take the time to Google these things. Also, this line suggests that the contributor would have to "sign" something like a CLA, which can be done after submitting the commit, and is far more likely to be done than someone forking the repo, clonig, and amending their commit.
Also, the PR template is displayed too late for GitHub users. At that point, the commit was already made. Again, look at the hundreds of issues created by the DCO.
If you want to accept contributions from the community, please try to make it as easy as possible for the community to do so.

Thank you. How could we improve the PR template to make DCO easier to grasp?
DCO is mandated to us by CNCF, it is not a choice of Prometheus itself: https://github.com/cncf/foundation/blob/main/charter.md#11-ip-policy so we can not remove this requirement, but I am happy to see how we can make it easier.

I don't think updating the PR template would help contributions via GitHub, because it's displayed too late, after the commit is created.
What would help would be a comment block at the top of each source .md file, advising to sign off the DCO. Something like:
<!--
Please sign off your commits so that we can legally accept your contribution.

You can do this with `git commit -s` or, from the GitHub interface,
by adding the following line to the "extended description" of each commit:

    Signed-off-by: Your Name<EMAIL_ADDRESS>
There is also a browser extension to do this automatically:
https://github.com/scottrigby/dco-gh-ui
-->

BTW, the This documentation is [open-source](https://github.com/prometheus/docs#contributing-changes). note in the footer of docs pages could be even more helpful by directing the user to the precise Markdown file in the repo. Several notable OSS projects do this.

We've updated the document in prometheus/docs will be making some additional changes in the other repos.


feat: add name property to input

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Gaps in writing kernel features

Study the Writing a CUDA Kernel section and document with examples equivalent features in numba-dppy.

Feature
CUDA
DPPY

Kernel declaration
@cuda.jit
@njit

Kernel invocation
threadsperblock = 32 blockspergrid = (an_array.size + (threadsperblock - 1)) // threadsperblock increment_by_one [blockspergrid, threadsperblock](an_array)

Choosing the block size

Thread positioning

Thread index
numba.cuda.threadIdx

Block dimension
numba.cuda.blockDim

Block index
numba.cuda.blockIdx

Grid dimension
numba.cuda.gridDim

Grid position
numba.cuda.grid(ndim)

Grid size
numba.cuda.gridsize(ndim)

Example Numba.cuda:
@cuda.jit
def increment_by_one(an_array):
    # Thread id in a 1D block
    tx = cuda.threadIdx.x
    # Block id in a 1D grid
    ty = cuda.blockIdx.x
    # Block width, i.e. number of threads per block
    bw = cuda.blockDim.x
    # Compute flattened index inside the array
    pos = tx + ty * bw
    if pos < an_array.size:  # Check array boundaries
        an_array[pos] += 1

Example Numba-dppy:

Example Numba.cuda:
@cuda.jit
def increment_by_one(an_array):
    # Thread id in a 1D block
    tx = cuda.threadIdx.x
    # Block id in a 1D grid
    ty = cuda.blockIdx.x
    # Block width, i.e. number of threads per block
    bw = cuda.blockDim.x
    # Compute flattened index inside the array
    pos = tx + ty * bw
    if pos < an_array.size:  # Check array boundaries
        an_array[pos] += 1

Example Numba-dppy:


Add note to top of README about ES5 mmap requirement

The note basically needs to point to https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html

Fixed in 262816bd2d799bb9574f7455e7529447d3bbd4be


Work Package wp-fn.csv

Result for Phase 1 :
wp-fn-results.csv

I would like to work on this please!

Results of Phase 1
wp-fn-results.csv

I would like to work on this please!

wp-fn-results.csv

Results for phase2
wp-fn-results.csv

Results for phase 2
wp-fn-results.csv


security issue, not good to send password as get query parameter

changed method of sending data to smsc.ru from GET to POST,
used documentation https://smsc.ru/api

the most obvious issue password in query parameters may end up in the logs


sendgrid-python: init at 6.1.1

Motivation for this change
Sendgrid is famous email service provider, my company depend on the python lib to send emails.
Things done

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

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

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

Superseded by #110456


Core_kernel.std doesn't exist anymore?

https://ocaml.janestreet.com/ocaml-core/latest/doc/core_kernel/Core_kernel/index.html
I'm new to OCaml, but according to other people I contacted while trying to compile this Core_kernel.Std has been deprecated/removed

Agreed. We need to update the tutorial. I will work on it the next week.


[FEAT] Returned data structure from useTable

Is your feature request related to a problem? Please describe.
useTable has an array as a result data. I want to return an object. Because columns will be ready and get from server in one query.  Also can be need another things. The current structure is not very flexible. The generic type entered assumes you refer to continuous data and returning an array.
It seems to apply to all the list hooks I've described here.
Describe the solution you'd like
Data can be expected in type all the time, but it should be allowed to define fields that the user wants outside of data.

Hey @emehmet ,
Thank you for contacting us! The select function of queryOptions may be useful for you.
    const table = useTable({
        queryOptions: {
            select: (data) => {
                // manipulate your data
                return data;
            },
        },
    });

Hey @omeraplak ,
Typescript interface is as follows;
export interface GetListResponse<TData = BaseRecord> {
    data: TData[];
    total: number;
}

select?: ((data: GetListResponse<BaseRecord>) => GetListResponse<BaseRecord>)

I can't manipulate it because Typescript is fixed directly to data.

or you can directly use dataSource property of Table component.
const { tableQueryResult, tableProps } = useTable();

// manipulate your data
const newData = tableQueryResult.data;
<Table {...tableProps} dataSource={newData} />


Is Deploy is an unapproved verb

Slack Community Chat: https://powershell.slack.com (you can sign-up at http://slack.poshcode.org/ for an invite)
Also have a look at the RoleDocumentation folder for more information on each rule:
https://github.com/PowerShell/PSScriptAnalyzer/tree/development/RuleDocumentation

(Tried to sign up to the slack channel but the poshcode link doesn't seem to work?)
I get this warning:

But it looks to be an approved Lifecycle verb? https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands?view=powershell-7.1#lifecycle-verbs
What have I misunderstood here?

I believe that rule uses the approved verb list that you can generate by running Get-Verb.
Deploy was added to PowerShell 6, if I recall correctly. Or 7. It's definitely not in Windows PowerShell (5.1).
It looks like your PSSA is running in Windows PowerShell, instead of something more recent. I think the VS Code setting you want to change is terminal.integrated.shell.windows, and point it to your pwsh executable instead of Windows PowerShell.

I think the VS Code setting you want to change is terminal.integrated.shell.windows, and point it to your pwsh executable instead of Windows PowerShell.

This will change the PowerShell executable running the ordinary terminal, but not the integrated terminal.
You want to click the little PowerShell logo on the bottom right:

I should note that I really don't like behaviours in PSSA that change depending on the host runtime's version. In a static analyser, this kind of thing should be independent of the host and configurable.

This was exactly the reason! thanks!


Introduce a hierarchy?

What are your thoughts on having a hierarchy now the list has gotten much larger? I've attached an example below.
Programming
Visual Languages

1
2
3

Written Languages

1
2
3

Online Editors

1
2
3

Desktop Editors

1
2
3

Programming Resources
Programming Tools

1
2
3

Python Libraries

1
2
3

node.js Libraries

1
2
3

Hi Jez,
Yes, I'm quite open to introduce something like that. Until now I felt a flat structure was okay for the number of items in the list, but if it continues to grow (which it should :) then this type of reorganisation would be a good idea.
I must admit that right now I'm a bit busy with other stuff and it is not very high in my list of priorities, but if you have a suggestion for a full hierarchy with all the sections a I would love to hear about it :)

That's awesome; I'll put in a pull request.
Do you have any particualar conventions you wish me to follow for the organisation?

Thanks, a PR would be quite appreciated!
There is definitely more than one way of doing it, which is probably why I haven't put the effort yet. Maybe to be safe we could quickly discuss it here before getting the PR ready, that way it'd be a lot easier to move things around if needed.

Great idea-- something like:
Programming
Python

Documentation

Editors

1
2
3

Libraries

1
2
3

Resources

1
2
3

Javascript (PXT)

Documentation
Online Editor

Resources

PXT Source code
2
3

Other

Javascript (interpreted)
C/C++

Hardware
Interface Chip

1
2
3

General

1
2
3

Further Reading (?)
Articles

1
2
3

Projects

1
2
3

Websites

1
2
3

Videos

1
2
3

Teaching Resources

1
2
3

Miscellaneous

1
2
3

Thanks Jez!
I would probably remove the "Further Reading" section, and make all its inner "level 2 subsections" a "level 1" so:
Programming
Python

Documentation

Editors

1
2
3

Libraries

1
2
3

Resources

1
2
3

Javascript (PXT)

Documentation
Online Editor

Resources

PXT Source code
2
3

C/C++

1
2
3

Other

Javascript (interpreted)
C/C++

Hardware
Interface Chip

1
2
3

General

1
2
3

Articles

1
2
3

Projects

1
2
3

Websites

1
2
3

Videos

1
2
3

Teaching Resources

1
2
3

Miscellaneous

1
2
3


Allow configuring graphql-tag-pluck for gatsby

Is your feature request related to a problem? Please describe.
It seems that detection of graphql tags in gatsby projects is not working, so my queries are not getting types created.  If I make a separate .graphql file for my queries, then I see generated types, but it seems that gatsby doesn't allow keeping queries in separate files.
Describe the solution you'd like
It seems like there's an option for gqlPackName in graphql-tag-pluck.  I believe I need to set this, because my file looks like:
import {StaticQuery, graphql} from 'gatsby';

Instead of gql or graphql coming from graphql-tag.
Describe alternatives you've considered
I'm not sure how else to get this working, but would love to hear!
Additional context
I actually went digging for the usage of graphql-tag-pluck within this package in my node_modules, and I can't find it.  It seems like it continues to be updated with new versions, but searching this repo, I can't find where it's used.  Maybe it got taken back out at some time?

It lookes like graphql-tag-pluck was removed in https://github.com/dotansimha/graphql-code-generator/commit/eb9d6ff39290d3c8e852a8375d1338bdeca4957d, although the dependency was not.

I've found that in version 0.16.0, I can change this line: https://github.com/dotansimha/graphql-code-generator/blob/325baef0a08a3a80536121326bbdf634379a3262/packages/graphql-codegen-cli/src/utils/document-finder.ts#L14
to:
return gqlPluck.fromFile.sync(source.name, {gqlPackName: 'gatsby'}) || null;

AND:
https://github.com/DAB0mB/graphql-tag-pluck/blob/13fe2a7216ea5aa893afbde1d6d75400a415b6c6/src/visitor.js#L101-L103
from:
const gqlImportSpecifier = path.node.specifiers.find((importSpecifier) => {
	return t.isImportDefaultSpecifier(importSpecifier)
})

to:
var gqlImportSpecifier = path.node.specifiers[0];

Then I can get types generated from my source gatsby files.  Is there any way to accomplish the same thing without hacking on these files?  I'm not sure what's being used now that graphql-tag-pluck was removed, but I'm guessing it's not as flexible.  If so, am I just out of luck with using this in gatsby?

DAB0mB/graphql-tag-pluck#12 should handle that

That's awesome, thanks!  Would graphql-tag-pluck need to be re-added to graphql-code-generator as well?  Or is it still being used in a way that I couldn't figure out?

We moved some logic to graphql-toolkit package and graphql-tag-pluck is a part of that.

Fixed in https://github.com/dotansimha/graphql-code-generator/pull/1364

Fixed in 0.18.0 🎉

I am trying to get type generation for graphql`` queries in Gatsby as well, and followed a thread here. I see that dependencies have been updated making this possible, but how exactly do I configure my toolchain so that graphql-code-generator recognizes the graphql function coming from the gatsby package? Where and how do I set gqlPackName?


Default to building the early SwiftSyntax package.

Switch the polarity for early SwiftSyntax to build it by default (and embed it into Swift tools). One can use build-script --skip-early-swiftsyntax to disable this.

https://github.com/apple/swift-syntax/pull/646
@swift-ci please test

The failure here is because we're using implicit opening of existentials, but that's only supported in Swift 5.7 and newer. Trying to address this via https://github.com/apple/swift-syntax/pull/648

@swift-ci please test

Well, the good news is that earlyswiftsyntax built for macOS. Linux looks like it skipped building it, and there are some failures remaining that need investigation:
Swift-validation(macosx-x86_64) :: BuildSystem/core_lipo_and_non_core_epilogue_opts.test
Swift-validation(macosx-x86_64) :: BuildSystem/default_build_still_performs_epilogue_opts_after_split.test
Swift-validation(macosx-x86_64) :: BuildSystem/infer_dumps_deps_if_verbose_build.test
Swift-validation(macosx-x86_64) :: BuildSystem/infer_implies_install_all.test
Swift-validation(macosx-x86_64) :: BuildSystem/test_early_swift_driver_and_infer.swift

@swift-ci please test

https://github.com/apple/llvm-project/pull/5289
@swift-ci please test

https://github.com/apple/llvm-project/pull/5289
@swift-ci please test

macOS failures:
Failed Tests (2):
  Swift-Unit :: DependencyScan/./swiftScanTests/failed_to_discover_tests_from_gtest
  Swift-validation(macosx-x86_64) :: Python/python_lint.swift

@swift-ci please test

@swift-ci please test https://github.com/apple/llvm-project/pull/5322

https://github.com/apple/llvm-project/pull/5322
@swift-ci please test

@swift-ci please test

@swift-ci please test


ContentType for Reply shows as Replies ContentType

It appears the contentType for a reply is the same for the parent content and the child. Lets make sure the parent content type is actually a xmtp.org/reply:1.0 type and not the same as the actually reply.
https://github.com/xmtp/xmtp-react-native/blob/main/android/src/main/java/expo/modules/xmtpreactnativesdk/wrappers/ContentJson.kt#L161-L168

So @alexrisch and I went deep on this today and wrote some tests and I actually think this is an issue between calling content versus content()
I recorded a small demo of how the content will be undefined if you don't called content() correctly.
https://github.com/xmtp/xmtp-react-native/assets/3522670/f53672c2-4df6-4c9d-9707-e9ea1af1ea05

Test used for reference
test('can reply codec', async () => {
  const alix = await Client.createRandom({
    env: 'local',
    codecs: [new ReplyCodec()],
  })
const bo = await Client.createRandom({
env: 'local',
codecs: [new ReplyCodec()],
})
const boConvo = await bo.conversations.newConversation(alix.address)
await boConvo.send('Hey')
await delayToPropogate()
let boMessages: DecodedMessage[] = await boConvo.messages()
const replyContentToSend = {
reply: {
reference: boMessages[0].id, // ID of the message you're replying to
content: {
text: 'This is a reply', // Content of the reply
},
},
}
await boConvo.send(replyContentToSend)
await delayToPropogate()
boMessages = await boConvo.messages()
const reply = boMessages[0].content()
if (boMessages[0].contentTypeId !== 'xmtp.org/reply:1.0') {
throw new Error(
contentType should be reply ${boMessages[0].contentTypeId}
)
}
const replyContent: ReplyContent = reply
const replyContentType = replyContent.contentType
const codec = alix?.codecRegistry[replyContentType]
const actualReplyContent = codec?.decode(replyContent.content)
if (!actualReplyContent) {
throw new Error('actualReply is undefined')
}
if (actualReplyContent !== 'This is a reply') {
throw new Error(should be decoded but was ${actualReplyContent})
}
return true
})


Support opening a file with Pandoc GUI

When you right click a file in explorer and open it with Pandoc GUI, the file is autometically set as SourcePath.

Hi ! Thank you very much for your contribution, this is very cool 👍


Feature request: TeX environment like flalign

[Archiving from this dev-list posting https://groups.google.com/forum/#!topic/mathjax-dev/dCngNgqHDi8.]
Temporarily changing the alignment of a display equation might be a nice TeX extension. flalign does this and it's not hard to implement via indentalign="left". Should probably start on as a third party extension.

Is there any way to achieve this now (Feb 2017) using the latest MathJax? I have the same need to do this.

Is there any way to achieve this now (Feb 2017) using the latest MathJax? I

No, this remains an open feature request.

I'm not sure why there has to be a third-party extension;

It could end up in the core; that depends on the complexity and thus maintenance costs it would add.

For the moment, you can use
\begin{multline}
\shoveleft
\begin{aligned}
    A &= \pi r^2\\
   &=\text{area}
\end{aligned}
\end{multline}

to get something like that.  But note that bad default the multline environment uses 85% of the container width in MathJax.  If you are able to set the configuration of the page, you can do
MathJax.Hub.Config({
  TeX: {
    MultLineWidth: "100%"
  }
});

to change that.

Any update on this ? I'm also looking to do that !

The third party extension at https://github.com/AmerMathSoc/mathjax-xalign includes flalign.


wasi: try to make Test_Nonblock less flaky

We add a little bit more sleep in the test, and wait a little less
to print each dot on the console in the wasm binary.
Signed-off-by: Edoardo Vacchi<EMAIL_ADDRESS>

added a blocking wait on a channel before the actual sleep, this may be good enough


Doesn't work with GSAP 3

This version works only GSAP v2. With new GSAP 3 it doesn't work

https://github.com/janpaepke/ScrollMagic/issues/918


Configure Sonarcloud to ingest backend reports

Currently Sonarcloud is only reading the frontend test results. This means backend code changes show 0% coverage which causes the builds to fail.
Frontend coverage configuration https://github.com/CDCgov/prime-reportstream/blob/master/.github/workflows/run_sonarcloud_scan.yaml#L35

@jeremy-page
This link  https://github.com/CDCgov/prime-reportstream/blob/master/.github/workflows/run_sonarcloud_scan.yaml#L35 is not working


Error importing IdPs configuration from metadata

Hi,
I have Keycloak 23.0.6, so I downloaded release 1.0.17. The jar file in this repo contains an error (resolved here: https://github.com/italia/spid-keycloak-provider/commit/176501afc1c82018b9531471d7efe63c66255a30). So, I downloaded the zip file containing the code and made the modification. After generating the jar file with Maven, I can no longer import the providers through the repo: keycloak-spid-provider-configuration-client, and I get this:

Has anyone experienced something like this? Or is it possibly a known issue?
Thanks a lot, and have a great day!

hi @fab-codes please note the fixes are not back-ported since this is a community-maintained project! The fix in  176501afc1c82018b9531471d7efe63c66255a30 has been merged in latest releases only ref. https://github.com/italia/spid-keycloak-provider/pull/71
Regarding the error for the configuration client: I would suggest to check keycloak logs before anything else, since without that it would be a wild guess at the root cause :-D also if possible please open the issue in the client repository where more people could help out


pypy: add some required build inputs and disable some unsafe tests

I had to disable another networking-centric test suite; it was trying to make unapproved phone calls.
I tested my change and generated /nix/store/l84yc775x7bkc84di62iwjvzjjchz65g-pypy-4.0.1.
This was a fix to PyPy so that I could continue to develop some private Nix packages which depend on it. In particular, this fixes #12303 for me.
@domenkozar Hi!

Also need to include http://paste.pound-python.org/show/oFyMaSSzvb07lenWYmAK/

Pushed together with some build improvements in 5c2c881c5769afe83640d7df80ecc7da6f33017c (it used to take 6600s to build pypy on my machine, now it's only 3800s). Thanks!


PS-202 Optimize WorkingDirectory::dropWorkingDir()

https://keboola.atlassian.net/browse/PS-202
Filesystem::remove() does internaly unwind iterators. In combination with Finder returning SplFileinfo instances, this results in ~350MiB memory usage when deleting 40k files. Without Finder the memory usage is negligible.
Filesystem::remove() is recursive so it's not nessecary to manually remove contents of the dir. Similarly Filesystem::mkdir() creates intermediate directories.

Jeste mala upravicka StorageApiHandler::handle(), aby byl kompatibilni s aktualni verzi Monologu. Nesouvisi to s myma zmenama, ale lokalne mi to shazovalo testy.

Nope, not in this branch. Why do you ask? There is already php >= 7.4 in composer.json

Nope, not in this branch. Why do you ask? There is already php >= 7.4 in composer.json

aha, ok, diky


Support pipelining (batching) of mutating ops to same bucket

@baldersheim please review
Bucket operations require either exclusive (single writer) or shared (multiple readers) access. Prior to this commit, this means that many enqueued feed operations to the same bucket introduce pipeline stalls due to each operation having to wait for all prior operations to the bucket to complete entirely (including fsync of WAL append). This is a likely scenario when
feeding a document set that was previously acquired through visiting, as such documents will inherently be output in bucket-order.
With this commit, a configurable number of feed operations (put, remove and update) bound for the exact same bucket may be sent asynchronously to the persistence provider in the context of the same write lock. This mirrors how merge operations work for puts and removes.
Batching is fairly conservative, and will not batch across further messages when any of the following holds:

A non-feed operation is encountered
More than one mutating operation is encountered for the same document ID
No more persistence throttler tokens can be acquired
Max batch size has been reached

Updating the bucket DB, assigning bucket info and sending replies is deferred until all batched operations complete.
Max batch size is (re-)configurable live and defaults to a batch size of 1, which shall have the exact same semantics as the legacy behavior. A later follow-up will add a feature flag to control this.
Additionally, clock sampling for persistence threads have been abstracted away to allow for mocking in tests (no need for sleep!).

Seems to be some nondeterminism in a test, will try to reproduce and remove.

PR build has spotted something I did not  .....

Running all unit tests in parallel causes the following failure on x86_64 :
gdb) where
#0  raise (sig=11) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  <signal handler called>
#2  0x00007f0895e556aa in storage::MessageTracker::sendReply (this=0x7f0874001e80)
    at /home/tegge/git/vespa/storage/src/vespa/storage/persistence/persistenceutil.cpp:155
#3  0x00007f0895e3ad31 in operator() (response=..., __closure=0x7f0874000da8)
    at /opt/rh/gcc-toolset-13/root/usr/include/c++/13/bits/unique_ptr.h:199
#4  storage::(anonymous namespace)::LambdaResultTask<storage::AsyncHandler::handlePut(storage::api::PutCommand&, storage::MessageTracker::UP) const::<lambda(storage::spi::Result::UP)> >::run(void) (this=0x7f0874000d90)
    at /home/tegge/git/vespa/storage/src/vespa/storage/persistence/asynchandler.cpp:66
#5  0x00007f088c84a4ba in vespalib::ThreadStackExecutorBase::run (this=0x20ee000)
    at /home/tegge/git/vespa/vespalib/src/vespa/vespalib/util/threadstackexecutorbase.cpp:125
#6  0x00007f0896711dd9 in storage::(anonymous namespace)::test_executor (worker=...)
    at /home/tegge/git/vespa/storage/src/tests/common/teststorageapp.cpp:96
#7  0x00007f0888220b23 in std::execute_native_thread_routine (__p=0x20ee5c0) at ../../../../../libstdc++-v3/src/c++11/thread.cc:80
#8  0x00007f08884fb1ca in start_thread (arg=<optimized out>) at pthread_create.c:479
#9  0x00007f0887838e73 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb)

A few sins have been absolved... Some new, some old.


[tests] enable test_vera_dtypes on XPU

Hi, this PR enables the BF16 test on XPU. Below is the result after fix:
pytest -rA tests/test_vera.py::TestVera::test_vera_dtypes[dtype2]

================================================= short test summary info ==================================================
PASSED tests/test_vera.py::TestVera::test_vera_dtypes[dtype2]
=============================================== 1 passed, 1 warning in 4.63s ===============================================

done~

I think this failed test is not related to my PR. Could you help retrigger the CI? Thx! @BenjaminBossan


[Yarn] purl and bom-ref not populated for root project.

Hi,
The purl and bom-ref are not populated for the root component. Example repo with sbom: https://github.com/ajmalab/nodejs-test

@ajmalab Thank you so much for flagging these issues. Would you be interested in joining our discord to collaborate better? https://discord.gg/pF4BYWEJcS

yup can do, tells me that the invite is invalid though

Interesting. May be try from an incognito window? It's working for me https://discord.gg/pF4BYWEJcS


worflow

There should be a workflow to automate this. Would require transkribus credentials. Should be triggerd, after the metadata fetch in the entities-repo is triggerd.

close by 31068063e0d997b936d82a43a6010a02b8cacd06


Redundant Data in Landing Page | Refinement and Enhancment of Landing page

Refer to this Video:-
https://github.com/user-attachments/assets/9fc6dfae-59e2-4aea-b31f-680975c2d83b
Issues :-

Redundant data present on the Landing page like :

Events (For which a dedicated page is already there),
Projects (For which a dedicated page is already there)
About (For which a dedicated page is already there)
Team members (For which a dedicated page is already there)

Now there is only a single section left which does not contribute to redundancy. i.e., Welcome Section. that's why I have add more data to landing page.
Enhance the UI and UX.

Assigned


Error loading Campion-Icons into the overlay

As you can see in the picture above, the Tool has problems loading the champion icons for the bans.
This occured to us in multiple instances of Prime League Tournament-Lobbys. We reinstalled all npm modules and made sure the DD Database was up to date.
Is there any known fix for this issue?

Hmm, we're not aware of any issue around this. How it works behind the scenes, so maybe that can help you debug the issue:

on start of the backend, the configured (per default always the latest) patch version information is fetched from the data dragon, a service provided by riot that provides static data for League of Legends
It checks if the folder cache/{patch} exists, if this is the case it directly starts up
If it does not exist, all the assets (mainly images) are fetched and saved in the cache/{patch} folder
If a file does not download (e.g. it fails), then you should see an error in the downloading process. But if the folder was created either way, the file will not be redownloaded the next time. So the first step if you notice that an image is missing, is to check the current patch in cache/{patch} if the image is in there. Probably it will be missing, so from there you could either remove the cache directory (which will cause a redownload), or add the missing images manually. I recommend the first option.

If something fails while downloading, could you maybe provide the logs that contain the error? Then we can have a look at why it's happening.


Connecting to PostgreSQL using SSH tunnel?

Is it possible to setup SSH tunnel to connect to PostgreSQL using DBeaver? Many other databases have Network section in connection settings where SSH can be configured, but PostgreSQL doesn't have it.

System information:

Windows 10
DBeaver CE 6.0.2
Java version: 1.8.0_77
No extensions

Generally PostgreSQL connections work just like other dbs. There has to be network config.
Please check logs (https://github.com/dbeaver/dbeaver/wiki/Log-files) when you opening connection dialog - maybe something was broken in the configuration?

Yes, there was something wrong in configuration. Reinstalling with reset configuration option checked solved this issue.


Optional chaining with array access doesn't produce error for undefined

TypeScript Version:  3.7.2 (also tested nightly)

Search Terms: optional-chaining
Code
interface Test {
  name: string;
}

const labels: Record<string, Test[] | undefined> = {
  foo: []
}

const key = 'bar'
const c = labels[key]?.[0]

c.name // it errors here
labels[key]?.[0].name // shouldn't this error?

Expected behavior:
It produces an error when trying to access a property on undefined in an optional chain
Actual behavior:
It allows the access, resulting in a run-time error
Playground Link: https://www.typescriptlang.org/play/?ts=3.8.0-dev.20191105&ssl=14&ssc=25&pln=1&pc=1#code/JYOwLgpgTgZghgYwgAgCoQM5mQbwFDLIhwC2EAXMllKAOYDceAvnnggPYhbIA2cARhB4ZKAJQgcoAEwA81OgBo0mMAG0AusgA+yAK4gpEGKAhSAfMgC8uAshjt2lDc1Ycu2ANYQAnleQByfjgof1Y+QWFVL291AH4AOlUABnV44jJkAHpMqgALdl0eKRB-bDBc4AxkaCh2KFjXTm4EP3ChDCifOMSUtjTSFGzkYGwauqrc6AggA

This is working as intended due to long short-circuiting.  After ?., subsequent chained property accesses/function calls/method calls happen only if the value before ?. is non-nullish.   So a?.b.c is not equivalent to (a?.b).c.

resulting in a run-time error

To be clear, labels[key]?.[0].name does not result in a run-time error and this is why Typescript is correct.  Only the alternate form const c = labels[key]?.[0]; c.name results in a run-time error, but Typescript correctly flags this as a compile-time error as well.

On a related but tangential note, optional chaining for arrays ?.[] and function calls ?.() is so ugly. 🙁  It always stops me in my tracks and takes me several seconds to figure out what it’s doing.  Ew.
(I know this isn’t TypeScript’s fault)

To be clear, labels[key]?.[0].name does not result in a run-time error and this is why Typescript is correct.

But I can see the error in the output?
in:
labels[key]?.[0].name; // shouldn't this error?

out:
(_a = labels[key]) === null || _a === void 0 ? void 0 : _a[0].name; // shouldn't this error?

I can clearly see that this will result in an error if the foo array is empty
The following works as I expect:
labels[key]?.[0]?.name;
(labels[key]?.[0]).name; // <- paren makes the error appear
(labels[key]?.[0])?.name;

Reading the spec I see under Long short-circuiting:

Note that the check for nullity is made on a only. If, for example, a is not null, but a.b is null, a TypeError will be thrown when attempting to access the property "c" of a.b

It seems to be that TypeScript should tell me about this type error if it can.

So a?.b.c is not equivalent to (a?.b).c.

This to me seems like it could be large source of bugs. I get that short circuiting isn't supposed to run the RHS if the left is undefined, but it seems odd to me everything on the RHS defaults to defined.
EDIT: Playing around with It further maybe this is all just a misunderstanding by me on arrays in typescript. I was under the impression that this would produce a typescript error, but it does not.

I can clearly see that this will result in an error if the foo array is empty

But in your example you're not looking at key == "foo", you're looking at key == "bar" so the optional chaining stops things.  For key == "foo", as you discovered later, https://github.com/microsoft/TypeScript/issues/11122 is the relevant issue.


DogePay App for Android/iOS with free internal wallet transfers

To increase the use of Dogecoin for everyday transactions, an Android/iOS app is essential which can provide free internal wallet transfers just like Binance provides free internal wallet transfers for every crypto.

Check out this cool thread https://github.com/dogecoin/dogecoin/issues/2011

Like this Idea! Would be very convenient and it prevent people from downloading apps that’s trying to steal people’s passphrase

I believe there already is a Dogecoin android wallet: https://play.google.com/store/apps/details?id=de.langerhans.wallet


Profile page in Starter example broken [user-counters setup]

[ Server ] Error: 5 NOT_FOUND:
Firebase User is registered and is logged in.
user-counters rule has been added as per doc..
user-counters collection has manually been created.
 const snapshot = await db.collection('user-counters').doc(tokens.decodedToken.uid).get();
I am not seeing any docs being created in the collection.

Hey @gavan1!
Thanks for reporting.
Could you share the exact Firebase Rules that you're defined for user-counters collection?
You can copy rules from Firebase Console > Firestore Database > Rules tab
Also, could you share the output of npx next info command and share your middleware.ts file here?


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1798

Questions ?
Please refer to the Backport tool documentation


Add option to control Footnotes label

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Problem
After generating the html I end up with an unwanted Footnotes label.
This doesn't support i18n, add an option to either change or turn this label off.

Footnotes (👈  add an option to change this)

This is a note↩

Solution
Add support for the micromark-extension-gfm's options:  label, backLabel, and clobberPrefix
Alternatives
N/A

This is mentioned in the readme:

This plugin does not handle how markdown is turned to HTML. That’s done by remark-rehype. If your content is not in English and uses footnotes, you should configure that plugin.

More there: https://github.com/remarkjs/remark-rehype#example-footnotes-in-languages-other-than-english


Rename [I]ErrorCodeConverter => [I]ResultCodeConverter

The ErrorCodeConverter located in AutoRenter.Api.Services, and it's matching interface, should be renamed to [I]ResultCodeConverter. Be sure to rename the files as well.
Finally, move ResultCodeProcessorTests to a new "Services" folder.

This issue is address in PR #50


Provide Basic Syntax Check for Regular Expression Literals

Previously worked on #51837, I found that TypeScript gives almost no syntax errors for regular expressions. I would like to file a PR about it, thus I am opening this issue for easier tracking.
But before I work on the issue, I would like to hear some opinions from the Team. I am not sure, but I suppose the job of providing syntax check should not be shirked to linters right?
Something I would like to do are:

Check for duplicated or unknown flags
Check for unbalanced parentheses, which is the most common mistake people make
Check for invalid escapes
But this should be done only for RegExps with u or v flag, i.e. in UnicodeMode, that means if we encounter a u or v flag we will need to rescan the whole RegExp again (!!) (i.e. redoing what is done in the current reScanSlashToken method)
And to check for invalid DecimalEscapes and k<GroupName>s we will also need to count the number of capture groups and record the names of all named capture groups along the way.

Am I doing too much or too less? I know doing too much may cause serious performace regressions (well, luckily regular expression literals are not that common compared with string literals). It should be better than doing nothing after all though.

You forgot to fill out the issue template. Duplicate of #3432.

It does look like a duplicate, but this issue does cover something more than #3432.
I just want some feedback from the members before I work on a PR. It’s better than working in vain.
And of course I am not forgetting the issue templates, but none of the templates seem appropriate in this case. I don’t think this kind of things should be made mandatory as long as the cause and effect is clearly conveyed. Team members sometimes don’t use them either.

I don’t think [the issue template] should be made mandatory as long as the cause and effect is clearly conveyed.

Nonetheless, they are (note the canned response followed by issue closure).  Maintainers will almost invariably ignore issues that don't follow the template.

I don’t mean to start a dispute, but this is called Quod licet Iovi, non licet bovi.
Anyway, since comments to issues do not need to follow any templates, I’ve just moved the whole thing to #3432.

@graphemecluster the reason we ask people to fill out the template is to ensure that people have done their due diligence working through necessary background research. Generally if someone is not willing to do this minimum amount of legwork, they are filing a very low-quality issue, or a duplicate of an existing issue, as occurred here.

@RyanCavanaugh I apologize for my faults. I did search for existing things beforehand. To be specific, I firstly searched if there are any PRs related to RegExp. Since no significant PRs exist, I looked over the source code and started to work on it while encountering something to inquiry. So I quickly wrote the issue without other checks. This is the reason why I made the duplication. Please pardon me and comment on #3432.

No worries, I file dupes sometimes too 😅


Pause when a consumer loop is executing

I see the pause functionality has been implemented to pause processing messages for a partition. But the use case I have is to pause the consumer loop for indefinite time and resume later. This will pause processing of any message until notified to resume. Is there a way to do this using ruby-kafka.
https://github.com/zendesk/ruby-kafka/blob/master/lib/kafka/consumer.rb#L204

Not currently.


WIP: testing.assert_* check dtype

[x] Closes #4727
[ ] Tests added
[ ] Passes isort . && black . && mypy . && flake8
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

This adds a dtype check for equal, identical, broadcast_equal, and the xr.testing.assert_* functions. It is far from complete: tests and documentation are still missing, but I wanted to get it online for feedback.
When I set check_dtype=True there are around 600 failures. Fixing that is for another PR. #4759 should help a bit.

[ ] I added the checks to lazy_array_equiv, however, sometimes dask can get the dtype wrong before the compute (see below). Do you think I need to put it in the non-lazy part?

import numpy as np
import xarray as xr

da = xr.DataArray(np.array([0, np.nan], dtype=object)).chunk()

da.prod().dtype # -> dtype('O')
da.prod().compute().dtype # -> dtype('int64')

[ ] check_dtype is still missing from assert_duckarray_allclose & assert_duckarray_equal - do you think there are required?

[ ] The dtypes of array elements are not tested (see below). I don't think I'll implement that here.

da0 = xr.DataArray(np.array([0], dtype=object))
da1 = xr.DataArray(np.array([0.], dtype=object))

xr.testting.assert_equal(da0, da1, check_dtype=True)

sometimes dask can get the dtype wrong before the compute (see below)

I suspect this is only for object arrays since you need not get back an object array? Maybe check in lazy_array_equiv only if all dtypes are not object

sometimes dask can get the dtype wrong before the compute (see below)

I suspect this is only for object arrays since you need not get back an object array? Maybe check in lazy_array_equiv only if all dtypes are not object

@keewis The following test is giving me trouble: pytest xarray/tests/test_units.py::test_align_dataarray[int64-10-data-compatible_unit]
https://github.com/pydata/xarray/blob/5735e163bea43ec9bc3c2e640fbf25a1d4a9d0c0/xarray/tests/test_units.py#L461
I now try to reproduce what it does but I cannot even manage that...  10.  0.  0.  1.  2.  3.]
 [10. 10.  4.  5.  6.  7.  8.]], 'millimeter')>, t = None

    def __array__(self, t=None):
>       warnings.warn(
            "The unit of the quantity is stripped when downcasting to ndarray.",
            UnitStrippedWarning,
            stacklevel=2,
        )
E       pint.errors.UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray.

/home/mathause/conda/envs/xarray_dev/lib/python3.8/site-packages/pint/quantity.py:1683: UnitStrippedWarning

I get a DimensionalityError instead of a UnitStrippedWarning, but the difference is that the unit registry has force_ndarray_like enabled. This is important because a pint.Quantity wrapping a python scalar is not a duck array, so the unit gets stripped.

Thanks! That drove me nuts but I finally figured out the problem:
https://github.com/pydata/xarray/blob/5735e163bea43ec9bc3c2e640fbf25a1d4a9d0c0/xarray/tests/test_units.py#L29
promotes the warning to an error so diff_array_repr fails (because the units are stripped...) and that is what we see. That also fails on master - run the following in with pytest:
import pint
import pytest
import xarray as xr

pytestmark = [
    pytest.mark.filterwarnings("error::pint.UnitStrippedWarning"),
]

unit_registry = pint.UnitRegistry(force_ndarray=True)

def test_y():

    data_array1 = xr.DataArray(data=1 * unit_registry.m)
    data_array2 = xr.DataArray(data=2 * unit_registry.m)

    xr.testing.assert_allclose(data_array1, data_array2)

@keewis do you have an idea how to fix this? One idea is to supress warnings in diff_array_repr and diff_dataset_repr. Do we need to strip the units before sending them to these functions?

to really fix this we need some way to say "I really want to convert to a numpy.ndarray" (unfortunately, np.asarray seems to be used as "ensure that this is a numpy.ndarray). That's same issue as with cupy.Array, which will raise in __array__.

True, but for the problem that the diff repr is not shown I think it makes sense to go for this, e.g. the following works fine:
def test_x():

    data_array1 = xr.DataArray(data=1 * unit_registry.m)
    data_array2 = xr.DataArray(data=2 * unit_registry.m)

    with warnings.catch_warnings():
        # Cause all warnings to always be triggered.
        warnings.simplefilter("always")

        xr.testing.assert_allclose(data_array1, data_array2)

yes, I think it makes sense to set warnings to "always" in the assert_* functions.


change title on README

how about using the team name rather than the "awesome game of" which doesn't tell much?

Sounds good.

Not seeing any further instructions from the bot.


Getting exception when trying to download a file with character + in 4.2

Cannot access: /user/ubuntu/XXX/2 XXXX 23-JUL-19<PHONE_NUMBER>.xml. Note: you are a Hue admin but not a HDFS superuser, "hdfs" or part of HDFS supergroup, "hdfs".
[Errno 2] File /user/ubuntu/XXX/2 XXXX 23-JUL-19<PHONE_NUMBER>.xml not found

Actual File Name: 2+XXXX+23-JUL-19+1563948019.xml
When I try to rename + with _ download is working.
Version: 4.3.0

Indeed, this is a bug with the url encoding

I cannot read file with plus sign on HUE 4. I worked in HUE 3.
I think it is similar to this issue.

https://github.com/eubnara/hue/commit/b907ad45e73102dec6ef428a4693fee4cebc65e7
I think there is a bug "tag/release-4.2.0". I made a change but cannot make a pull request.
This bug can be fixed as follows:
  Route.prototype.match = function(path, params) {
    var keys = this.keys,
      qsIndex = path.indexOf('?'),
      pathname = ~qsIndex ? path.slice(0, qsIndex) : path,
      m = this.regexp.exec(decodeURIComponent(pathname));

    if (!m) return false;

    for (var i = 1, len = m.length; i < len; ++i) {
      var key = keys[i - 1];
-      var val = decodeURLEncodedURIComponent(m[i]);
+      var val = decodeURIComponent(m[i]);
      if (val !== undefined || !(hasOwnProperty.call(params, key.name))) {
        params[key.name] = val;
      }
    }

I think https://github.com/visionmedia/page.js/issues/306 issue is related

@romainr
Any updates?
https://github.com/visionmedia/page.js/pull/348#issuecomment-552688558
On page.js issues, they don't plan to fix the issue. They recommended to change page option.
On HUE 4.7.0, this issue still exists.

https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/js/hue.js#L128
- window.page = page;
+ window.page = page({ decodeURLComponents: false });

But I think Webhdfs has a bug too.
https://issues.apache.org/jira/browse/HDFS-14341

https://github.com/cloudera/hue/pull/1134
review please

@eubnara  , may be you can work on this and create an new PR as old one is outdated.
Do make sure the UT test cases are added too

@Akhilsnaik
I added PR again https://github.com/cloudera/hue/pull/2246.
But it is hard for me to add unit test codes for desktop/core/src/desktop/hue.js.
Since I'm not professional django developer, I need much time to know how to do it. These days, I'm too busy on my job.
If this issue is emergent, you can get this issue and PR for yours.


Reduce calls to init_pin

Take advantage of the fact that HAL_GPIO_Init can setup multiple pins at once to save a few hundred bytes (gpio::init ends up as one of the largest non-HAL functions). Had this one lying around for a while as I can't decide if the LTDC bit is too messy.

Good grief, this saves a byte or two 😆
Nice work- the LTDC stuff is an abomination no matter what you do with it- and the .ioc documents the pin config anyway. Would rather have the saved bytes.


[ZIP 317] Updates from ZIP Editors' meeting

Co-authored-by: Jack Grigg<EMAIL_ADDRESS>Co-authored-by: Kris Nuttycombe<EMAIL_ADDRESS>Co-authored-by: Teor<EMAIL_ADDRESS>Signed-off-by: Daira Hopwood<EMAIL_ADDRESS>

And moves ZIP-401 to ACTIVE status

And moves ZIP-401 to ACTIVE status

Merging this PR wouldn't do so, but merging this and https://github.com/zcash/zips/pull/631 would do so.

{https://en.m.wikipedia.org/wiki/Blockchain}AUTO-COMPLEMENT


[IGV-0003]In case of missing primalSpaceFeatures element

When IndoorGML data is imported, in case of missing primalSpaceFeature, the program throws undefiend property.

Resolved.

Not fixed, reopend


Update devel with CMake cleanup from master

Pull in latest CMake cleanup changes

:boom: looks good to me!


'资源加载策略' should allways setting '全局加载'

beacuse if user first open anyone post  without Hermit X function then open anyone post with Hermit X function ,the Hermit X function will do not work when the admin setting  按需加载 in his website

我忘了 PJAX网站才会这样 建议给'全局加载' 加个提示：建议PJAX网站启用

我以为这个是常识来着……[哭笑]


Duplicate video for part 4 and part 6 of the workshop

"Part 4: Account Security: Measuring Cost of Attack Password-less Authentication (13:11)" and "Part 6: Build an Identity Perimeter (13:57)" use the same video, which does not seem correct.

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

ID: a4226cb9-a80f-aff5-95e8-ef73bc4c7ddc
Version Independent ID: de7d413b-9f5c-dafc-10b1-a750e6820f91
Content: Chief Information Security Officer (CISO) Workshop, Module 3:Identity, and Access Management - Security documentation
Content Source: ciso-workshop/ciso-workshop-module-3.md
Service: o365-seccomp
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Thank you for your interest in our documentation. This issue was fixed via https://github.com/MicrosoftDocs/security/issues/55.
#please-close


Not implementing in gradle

hi i am trying to install this dependencies but its not working
it give me this below error:
Failed to resolve: com.github.chirag-ji:DocuConverter:2.0.0
Show in Project Structure dialog
Affected Modules: app

Hey, you need to add jitpack as maven repository source.
See: [https://jitpack.io/#chirag-ji/DocuConverter](How to add to maven)

add it in your settings.gradle:
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        ...
        maven { url 'https://jitpack.io' }
       ...
    }
}

And then it will start resolving


Code Completion shift terminates dialog box

From<EMAIL_ADDRESS>on 2011-09-23T12:52:29Z
What steps will reproduce the problem?
1.Enable Code Completion
2.Declare a class variable
3.Try typing the name of a member function starting with a capital letter What is the expected output? What do you see instead? Pressing shift causes the code completion dialogue to close. What version of the product are you using? On what operating system? 2.0.10 on XP
Please provide any additional information below
. I haven't been able to find any preferences that would allow me to tell it not to close the code completion dialog when I press shift
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=768

From pierre.raybaut on 2011-09-24T00:06:24Z
This bug has already been fixed (see issue #622 ).
Thanks for the feedback.
Status: Duplicate
Mergedinto: 622


hi

hi
seq2seq_predict.py
one line summarization..
i want multiple line summarization...
Where should I fix it?
thanks.

Hi
I'm testing it using a demo example.
I do not know which part to fix, and I'm trying to change the variable.
seq2seq.py
self.xxxxx option

Hi @kim019 @chen0040 ! I haven't tried the model but can we get multiple line summarization using the same?

hi
i can't not speak english.. less.. very...
1 head line output..
i want 3~4 line summary.
Um..
Currently being modified and being tested.
Thanks.
2018년 6월 8일 (금) 15:06, Mainak Chain<EMAIL_ADDRESS>작성:

Hi @kim019 https://github.com/kim019 @chen0040
https://github.com/chen0040 ! I haven't tried the model but can we get
multiple line summarization using the same?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chen0040/keras-text-summarization/issues/5#issuecomment-395657534,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Al9AT_w26zYuNudjC2WPuEwG15wWuKRDks5t6hRtgaJpZM4UU1D7
.


Upgrade combobox-nav to v2 for ARIA 1.2

Similar to https://github.com/github/auto-complete-element/pull/42. Summary of changes:

Upgrade combobox-nav to v2.0.1
Use TypeScript
Remove umd build
Add dist/browser.js

Test page.
@jscholes <text-expander> is used in github for text expansion when specific keys are inputted in a text area, like # for issues, @ for mentions, # for emoji. The test page implements : for emoji and contains only two suggestions, cat & dog emoji, without text description. The role combobox is dynamically added when the special keys are inserted.

@muan From my initial testing, this works great!  I'm glad that the role addition and removal seems to behave quite gracefully, and the fact that I can predictably arrow out of the list box and back into the field is fantastic.  No more pressing Escape twice; once to go into my screen reader's virtual cursor mode and then a second time to get back to the field.  Love it.
At some point, the list boxes should be given accessible names, e.g. "Mention", "Emoji", etc.  But that can happen separately.


A different approach to tests?

You may have noticed I've been trying to get travis to run the tests consistently as green which has mostly been me adding timeout limits to endpoints that take longer than others and skipping tests that error out.
The former is kind of hard since in the travis CI we don't utilize the redis cache layer. I've been pondering this and I'm wondering if we could up the timeout of all the tests to something really high? My thinking is that we want to test the "correctness" of the service and not the speed of it with the integration tests.
tl;dr What do you guys think about setting the global timeout for tests to something really high (like 20sec) to get the tests running moar green?

cc/ @MiniGod @kristjanmik @benediktvaldez

:+1:

I agree. We should just bump the global timeout. The only downside is when you are running the tests locally it can take some time to complete...

I have a PR with this change at #156 which does this and it seems to work fine. It even seems to outperform the previous runs by a small number on travis.

Maybe the error handling takes a lot of time or something :confused:

The timeout does not matter that much unless it is a miss in which case the test fails. Then each miss will add 20secs to the test.
Getting the tests green is a higher priority though, I'm merging #156


Is still REACHING_DEF...

Two evidence.

I used the latest joern v1.0.183 to create cpg. I found there were none reaching_def edges with a VARIABLE not equal "".

I create cpg from the sample code in "DotDdgGeneratorTests"

     int foo(int param1, char *param2) {
        int i = 0;
        while(i < 10) {
          char *boo = moo("%d\n", i + bar(i));
          printf(boo);
          i++;
        }
        return 0;
     }

Then, I plot the ddg with command "cpg.method.wherer(_.id == 1000102).plotDotDdg", and return the graph belowed. In the Ddg, there is not any reaching_def edges labled VARIABLE, which is different from your ddg in https://github.com/ShiftLeftSecurity/codepropertygraph/pull/882

I print all reaching-def edges' variable.

Ah, thanks for the bug report. Must have broken this a few commits ago. I'll look into it today.

Found and fixed the bug: https://github.com/ShiftLeftSecurity/codepropertygraph/pull/925 - thanks for reporting. Also added a test.

Fixed in 1.0.184.

https://github.com/ShiftLeftSecurity/joern/pull/330

Thanks for your quick response and great work!

No problem. Let me know if you find more issues, this code is relatively new.

ok, It is my pleasure.


Implement checksum for S3FileSystem

Implement S3FileSystem.checksum that exposes the refresh parameter
For files, use the ETag field for this purpose; for directories, use a hash of the output of ls(path, detail=True), similar to the default implementation in AbstractFileSystem; if the path contains multiple files/directories, use a hash of the list of checksums of the individual items

OK, this looks good, thank you.


Install Kubeflow

https://www.kubeflow.org/docs/aws/deploy/install-kubeflow/
Getting:
INFO[0000] Processing application: istio-ingress         filename="kustomize/kustomize.go:606"
Error: couldn't generate KfApp:  (kubeflow.error): Code 500 with message: kfApp Generate failed for kustomize: kustomize generate failed Error:  (kubeflow.error): Code 500 with message: couldn't copy application istio-ingress
Usage:

Related: https://github.com/kubeflow/website/issues/1201
/assign @Jeffwan

@Jeffwan Can we close this issue?

@sarahmaddox We have groups of people testing instruction in the workshop and it's working fine. We can close this issue.

/close


[NEW]: zk Späti with zkSync & crypto girls club

Please use this template to suggest a new event or update an existing event for the BBW website! You can also directly submit your event as a pull request to this repository. This will speed up things significantly!
# the name of your event
name = "zk Späti with zkSync & crypto girls club"

# shortest possible name (without year)
shortname = "The zk Späti"

# type of the event
#  available types (you can choose more):
#   * meetup
#   * party
#   * other
types = ["meetup, party"]

# status of the event
#  available types:
#   * published
status = "published"

# the name of the group organizing the event
org = "zkSync, crypto girls club"

# the github handle of the directly responsible individual for this event
# (this person will coordinate with #bbw24 organizers)
dri = "cryptogirlsclubberlin"

# A point of contact (responsible person)
poc = "Zoe Faircloth"

# the start date of the event
date = "2024-05-22"

# how many days the event lasts (1 - N)
days = 1

# the event times (shows up in the event card)
times = "15:00-21:00"

# Link to venues from the Places table - use this OR enter venueName, venueUrl and venueAddress
# venues = ["gabriel-loci"]

# the event venue name
venueName = "NEST Schank- und Speisewirtschaft"

# link to the venue on open-street maps
venueUrl = "https://www.openstreetmap.org/node/1248728521"

# the event venue address
venueAddress = "[Görlitzer Str. 52, 10997 Berlin](https://www.google.com/maps/place//data=!4m2!3m1!1s0x47a84e4d15dd5631:0x86b65817acef8820?sa=X&ved=1t:8290&ictx=111)"

# the languages in which the event will take place (you can choose more)
languages = ["english"]

# the max number of attendees of the event
attendees = 300

# blockchains that the event deals with
# if it is an interchain event, then leave blank
chains = [""]

# tags for the event, will show up as labels.
# pick 1-4
tags = ["devrel", "cryptography" "rollups" "account abstraction" "l2s"]

# A logo attachment
logo = "[logo.png](https://ibb.co/qp1nmcZ)"

# a description of the event.
description = """
Step into The BlockSpäti and prepare to enter a new reality where your favourite crypto brand is available to drink over the counter. Join us from day to dusk for Berlin Blockchain Week at our authentic Berlin experience: a two-floor mini-mart.

We'll be diving into account abstraction, quantum cryptography and cross-chain compatibility with a lineup so hard even Berghain couldn't curate.

PANEL - 3:30PM

Hira Siddiqui - CEO & Co-Founder, Plurality Network
Lana Ivina - Blockchain Developer, Starkware
Albiona Hoti - DevRel, Matter Labs
Bianca Buzea - Head of Devrel, LUKSO

PRESENTATIONS - 4:20PM

"Quantum Cryptography: Does It Have a Future?"
Olena-Ivanna Oshchypok Applied Cryptographer Engineer at Matter Labs

"Account abstraction: user interaction and experience"
Albiona Hoti - DevRel, Matter Labs

AFTER HOURS - 6PM

Join us for afterhours for sassy-named cocktails, free flowing food and drink, killer merch in the merch mart and live music and a DJ set by ohr collective afterwards till dark.

Acoustic Nigerian set by [Dammy Daas]
DJ set by [Ohr]
"""

[cfp]
# link to call for particioation
link = "https://example.com/speaker"

[registration]
# type of registration
#  Possible values:
#   * tickets
#   * invites
#   * signup
type = "signup"

# price of the ticket
price = "0 EUR"

# link to the registration or ticket purchase page
link = "https://lu.ma/zkspati"

# custom action button label
#button = "Secure your spot"

# status of registrations
#  Possible values:
#   * available
#   * sold-out
#   * closed
status = "available"

[links]
# the website of the event
# make sure to have all the relevant information: dates, venue, program, ticketing (if any), etc.
web = "https://lu.ma/zkspati"

# twitter account
twitter = "https://twitter.com/zksync"

# public matrix channel
matrix = "https://matrix.to/#/!example:example.org"

# public telegram group
telegram = "https://t.me/example"

# docs
#docs = "https://example.org/docs"

# discord
discord = "https://discord.com/invite/AsDf1337"

Your event is live please double check if everything is correct :) https://blockchainweek.berlin/24


ISPN-16262 Marshall some additional private list classes

https://issues.redhat.com/browse/ISPN-16262

Jenkins is green


Feat/share improvements

Added spinners during loading
Added confetti @goldzulu  🎉

I might need to tweak a few more things though as there are a few timing issues due slow CDN loads

Thanks for working on the spinners -- mainnet and ipfs are pretty slow -- I just minted mine and it only took a couple of minutes to "claim", but also seemed like forever awaiting my IPFS preview.

Abit if a worry coz we are definitely not loaded up yet
Sent from my iPhone

On 21 Feb 2022, at 02:32, Brian Gershon @.***> wrote:

Thanks for working on the spinners -- mainnet and ipfs are pretty slow -- I just minted mine and it only took a couple of minutes to "claim", but also seemed like forever awaiting my IPFS preview.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

Could we do a placeholder that is greyed out or a dimmed version while waiting for the final ipfs version to load or can the server cache the IPFS call? And warm up the cache by programmatically calling the ipfs endpoints?
Sent from my iPhone

On 21 Feb 2022, at 02:32, Brian Gershon @.***> wrote:

Thanks for working on the spinners -- mainnet and ipfs are pretty slow -- I just minted mine and it only took a couple of minutes to "claim", but also seemed like forever awaiting my IPFS preview.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

@goldzulu So in this PR I introduced using 2 IPFS CDN's and have them race each other for faster loads.
Further more I've now introduced a spinner + text. Additionally  it is now pulling the actual PNG via ajax and injects it directly into the <img> so we can know exactly when the image is visible to the user and then fire off the confetti at that exact time.
Here is a video 🎉
https://user-images.githubusercontent.com/8465957/155005064-0ab28823-39c2-45e6-aaa2-dc7b709c8757.mov
In this case it loaded the image quite fast so the experience was good. I'll need to test it more to see if it behaves similar under all circumstances, but I believe we're good to merge this one now.

I'll go ahead and merge this one too


OpenMP problem in Visual Studio and Windows

I am trying to move a project, compiled with VS 16.8.4 and MSVC, from Intel MKL to OpenBLAS.
I have been following the instructions on
https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio
and they worked quite ok, with the sole addition of -DMSVC_STATIC_CRT=ON as option, to avoid linking problem when /MT is employed.
The annoying fact is that, when I use the libs in my project, compiled via MSVC,  at linking time it requires to link against (beside the Fortran stuff)
ompstub.lib
and at run time it requires
ompstub.dll
This seems to modify the behaviour of my code, as now omp_get_max_threads() returns 1.
Any clue on why that happens?
This seems to happen with develop and v.0.3.13 alike.
Moreover I get this warning while linking:
3>LINK : warning LNK4098: defaultlib 'msvcrt' conflicts with use of other libs; use /NODEFAULTLIB:library
but it is mostly due to the fact that OpenBLAS is compiled with clang-cl, I guess,
The option I pass to cmake are:
cmake .. -G "Ninja" -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_C_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DBUILD_WITHOUT_LAPACK=no -DNOFORTRAN=0 -DDYNAMIC_ARCH=ON -DCMAKE_BUILD_TYPE=Release -DMSVC_STATIC_CRT=ON -DCPP_THREAD_SAFETY_GEMV=ON

Please try adding -DUSE_OPENMP=1 to your cmake options - this should replace the dependency on the dummy ompstub library (which has a hardcoded "return 1" for omp_get_max_threads) with the proper OpenMP implementation

Please try adding -DUSE_OPENMP=1 to your cmake options - this should replace the dependency on the dummy ompstub library (which has a hardcoded "return 1" for omp_get_max_threads) with the proper OpenMP implementation

Unfortunately it does not work, as it seems not able to find Fortran OPENMP:
-- Compiling a 64-bit binary.
-- Found OpenMP_C: -Xclang -fopenmp (found version "3.1")
CMake Error at C:/Users/Enzo/miniconda3/Library/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find OpenMP_Fortran (missing: OpenMP_Fortran_FLAGS
  OpenMP_Fortran_LIB_NAMES)
Call Stack (most recent call first):
  C:/Users/Enzo/miniconda3/Library/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
  C:/Users/Enzo/miniconda3/Library/share/cmake-3.19/Modules/FindOpenMP.cmake:529 (find_package_handle_standard_args)
  cmake/arch.cmake:37 (find_package)
  cmake/system.cmake:217 (include)
  CMakeLists.txt:70 (include)

Beside that, is that intended that a non-parallel build has a dependency on (stub) OpenMP?

Unfortunately it does not work, as it seems not able to find Fortran OPENMP:
-- Compiling a 64-bit binary.
-- Found OpenMP_C: -Xclang -fopenmp (found version "3.1")
CMake Error at C:/Users/Enzo/miniconda3/Library/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find OpenMP_Fortran (missing: OpenMP_Fortran_FLAGS
  OpenMP_Fortran_LIB_NAMES)
Call Stack (most recent call first):
  C:/Users/Enzo/miniconda3/Library/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
  C:/Users/Enzo/miniconda3/Library/share/cmake-3.19/Modules/FindOpenMP.cmake:529 (find_package_handle_standard_args)
  cmake/arch.cmake:37 (find_package)
  cmake/system.cmake:217 (include)
  CMakeLists.txt:70 (include)

Beside that, is that intended that a non-parallel build has a dependency on (stub) OpenMP?

Not intended by us here, but apparently a feature of flang (or perhaps even llvm and llvm-derived compilers in general)

Not intended by us here, but apparently a feature of flang (or perhaps even llvm and llvm-derived compilers in general)

From https://github.com/TriBITSPub/TriBITS/issues/244#issue-278859937 the Fortran-OpenMP misdetection appears to be a problem in certain versions of cmake

From https://github.com/TriBITSPub/TriBITS/issues/244#issue-278859937 the Fortran-OpenMP misdetection appears to be a problem in certain versions of cmake

Does it work with CMake from visual studio installer?

Does it work with CMake from visual studio installer?

Does it work with CMake from visual studio installer?

It requires an update of the ninja builder (does not support fortran), but after that yields exactly the same results.
The fix suggested :
  -DOpenMP_Fortran_FLAGS=-fopenmp \
  -DOpenMP_Fortran_LIB_NAMES=gomp \
  -DOpenMP_gomp_LIBRARY=-lgomp \

fixes the configuration step for the USE_OPENMP=1, but the build fails. For instance I get:
FAILED: CMakeFiles/openblas.dir/lapack-netlib/SRC/slagv2.f.obj
C:\Users\Enzo\miniconda3\Library\bin\flang.exe  -I..\lapack-netlib\SRC -I..\lapack-netlib\LAPACKE\include -fopenmp -fopenmp -Mrecursive -Kieee      -Mrecursive -Kieee -o CMakeFiles\openblas.dir\lapack-netlib\SRC\slagv2.f.obj -c CMakeFiles\openblas.dir\lapack-netlib\SRC\slagv2.f-pp.f
flang.exe: error: Fortran frontend to LLVM command failed due to signal (use -v to see invocation)
clang version 5.0.0
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Users\Enzo\miniconda3\Library\bin
flang.exe: note: diagnostic msg: PLEASE submit a bug report to  and include the crash backtrace, preprocessed source, and associated run script.
flang.exe: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
ninja: build stopped: subcommand failed.

Does it work with CMake from visual studio installer?

It requires an update of the ninja builder (does not support fortran), but after that yields exactly the same results.
The fix suggested :
  -DOpenMP_Fortran_FLAGS=-fopenmp \
  -DOpenMP_Fortran_LIB_NAMES=gomp \
  -DOpenMP_gomp_LIBRARY=-lgomp \

fixes the configuration step for the USE_OPENMP=1, but the build fails. For instance I get:
FAILED: CMakeFiles/openblas.dir/lapack-netlib/SRC/slagv2.f.obj
C:\Users\Enzo\miniconda3\Library\bin\flang.exe  -I..\lapack-netlib\SRC -I..\lapack-netlib\LAPACKE\include -fopenmp -fopenmp -Mrecursive -Kieee      -Mrecursive -Kieee -o CMakeFiles\openblas.dir\lapack-netlib\SRC\slagv2.f.obj -c CMakeFiles\openblas.dir\lapack-netlib\SRC\slagv2.f-pp.f
flang.exe: error: Fortran frontend to LLVM command failed due to signal (use -v to see invocation)
clang version 5.0.0
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Users\Enzo\miniconda3\Library\bin
flang.exe: note: diagnostic msg: PLEASE submit a bug report to  and include the crash backtrace, preprocessed source, and associated run script.
flang.exe: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
ninja: build stopped: subcommand failed.

Just realized that the version of flang and clang-cl installed by miniconda are very old (LLVM 5). Probably that might part of the issue.

Just realized that the version of flang and clang-cl installed by miniconda are very old (LLVM 5). Probably that might part of the issue.

OpenBLAS does not replace cmake detection of C and fortran compilers. If miniconda ships broken combination of those, it cannot be solved here. More straightforward approach would be to get clang-cl and flang via official LLVM download (Probably waiting a day or two for v11.0.1 to get pushed to download page), and trying to tame cmake from visual studio, failing that installing official cmake binary.

OpenBLAS does not replace cmake detection of C and fortran compilers. If miniconda ships broken combination of those, it cannot be solved here. More straightforward approach would be to get clang-cl and flang via official LLVM download (Probably waiting a day or two for v11.0.1 to get pushed to download page), and trying to tame cmake from visual studio, failing that installing official cmake binary.

@brada4 Yes probably it would be correct to do so,
Unfortunately it seems that flang 11.0.1 does not support windows (https://releases.llvm.org/11.0.0/tools/flang/docs/ReleaseNotes.html), so no chance there. Better to wait to icl/ifx to be supported by cmake.
as a side note, I compiled the library with -DBUILD_SHARED_LIBS=ON, and the dependency on ompstub is gone. Then it works as expected.

@brada4 Yes probably it would be correct to do so,
Unfortunately it seems that flang 11.0.1 does not support windows (https://releases.llvm.org/11.0.0/tools/flang/docs/ReleaseNotes.html), so no chance there. Better to wait to icl/ifx to be supported by cmake.
as a side note, I compiled the library with -DBUILD_SHARED_LIBS=ON, and the dependency on ompstub is gone. Then it works as expected.

Early versions when flang was outside llvm main tree did work, crashing often though, probably anaconda includes something atound that.
There is another, at least still says supports windows,  in anaconda - https://docs.lfortran.org/installation/

Early versions when flang was outside llvm main tree did work, crashing often though, probably anaconda includes something atound that.
There is another, at least still says supports windows,  in anaconda - https://docs.lfortran.org/installation/

There's a difference between the old flang compiler, which was repackaged by conda-forge, and the f18-renamed-to-flang compiler as it exists in llvm, see: https://github.com/llvm/llvm-project/tree/master/flang#flang
This newer compiler does not yet support compiling code:

Flang is able to parse a comprehensive subset of the Fortran language and check it for correctness. Flang is not yet able to generate LLVM IR for the source code and thus is unable to compile a running binary.

But then, flang was also only added for LLVM 11. Both the code generation, as well as windows support, are actively being pursued.

There's a difference between the old flang compiler, which was repackaged by conda-forge, and the f18-renamed-to-flang compiler as it exists in llvm, see: https://github.com/llvm/llvm-project/tree/master/flang#flang
This newer compiler does not yet support compiling code:

Flang is able to parse a comprehensive subset of the Fortran language and check it for correctness. Flang is not yet able to generate LLVM IR for the source code and thus is unable to compile a running binary.

But then, flang was also only added for LLVM 11. Both the code generation, as well as windows support, are actively being pursued.

Gfortran would mix in gomp redist. Maybe it is possible to get it to link instead to ms-omp or iomp,

Gfortran would mix in gomp redist. Maybe it is possible to get it to link instead to ms-omp or iomp,

As one of the creators of that windows compiler, I decided that it would be a better use of my time to wait until the llvm developers added windows support officially rather than spent time maintaining a parallel compiler. It is possible to use with openmp though.

As one of the creators of that windows compiler, I decided that it would be a better use of my time to wait until the llvm developers added windows support officially rather than spent time maintaining a parallel compiler. It is possible to use with openmp though.

I actually have an updated version. Let me see how much time it would take to get it working...

I actually have an updated version. Let me see how much time it would take to get it working...

Drop a line here, there are FAQ sections to get users past disappointment with tricky build environments.

Drop a line here, there are FAQ sections to get users past disappointment with tricky build environments.

The flang compiler itself needs the -mp argument to use openmp. If you change nothing from the wiki, but add the -mp compiler argument, then it should work.

The flang compiler itself needs the -mp argument to use openmp. If you change nothing from the wiki, but add the -mp compiler argument, then it should work.

Well, I did manage to update flang to llvm 11, but ran into #3084.

Well, I did manage to update flang to llvm 11, but ran into #3084.

@vincferr I built OpenBLAS with LLVM 11. Are you interested?

@vincferr I built OpenBLAS with LLVM 11. Are you interested?

update: when attempting to compile with OpenMP, I received this error:
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 486)
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 486)
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 486)
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 497)
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 497)
  0 inform,   5 warnings,   0 severes, 0 fatal for ssytrd_sb2st

Checking the upstream version, flang-compiler/flang#904, it appears this isn't my fault. I'm also not capable currently of implementing this feature in the flang compiler. Therefore, it appears that it's not possible to use OpenMP with OpenBLAS on windows.

update: when attempting to compile with OpenMP, I received this error:
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 486)
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 486)
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 486)
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 497)
F90-W-0547-OpenMP feature, DEPEND, not yet implemented in this version of the compiler. (..\lapack-netlib\SRC\ssytrd_sb2st.F: 497)
  0 inform,   5 warnings,   0 severes, 0 fatal for ssytrd_sb2st

Checking the upstream version, flang-compiler/flang#904, it appears this isn't my fault. I'm also not capable currently of implementing this feature in the flang compiler. Therefore, it appears that it's not possible to use OpenMP with OpenBLAS on windows.

Hm. That is from Reference-LAPACK and the OpenBLAS version has it ifdef'd requiring the compiler to announce  _OPENMP >= 201307 compatibility. If flang makes a false claim here I could add another conditional to keep it from parallelizing this particular loop.

Hm. That is from Reference-LAPACK and the OpenBLAS version has it ifdef'd requiring the compiler to announce  _OPENMP >= 201307 compatibility. If flang makes a false claim here I could add another conditional to keep it from parallelizing this particular loop.

It is a warning. I'd trust them that it means no parallelism and correct result as a consequence
https://github.com/flang-compiler/flang/blob/5af987c0be6175db2c2f91c1410e096be4a1416f/tools/flang1/flang1exe/semsmp.c#L2406

It is a warning. I'd trust them that it means no parallelism and correct result as a consequence
https://github.com/flang-compiler/flang/blob/5af987c0be6175db2c2f91c1410e096be4a1416f/tools/flang1/flang1exe/semsmp.c#L2406

The error is my fault. It's an ICE, I have to track it down.

The error is my fault. It's an ICE, I have to track it down.

note: I published it to https://github.com/xoviat/flang/tree/windows

note: I published it to https://github.com/xoviat/flang/tree/windows

note: this issue has been resolved in flang upstream. there should be a new version out today or tomorrow that resolves the issue. no changes to OpenBLAS are requried.

note: this issue has been resolved in flang upstream. there should be a new version out today or tomorrow that resolves the issue. no changes to OpenBLAS are requried.

ref conda-forge/flang-feedstock#19

ref conda-forge/flang-feedstock#19


Resolving multiple collections on one storable may result in getting duplicates or nulls

The result is the cross product of the collections being returned by the SQL server and that then getting split up into multiple instances of the same member for the collections

This is only visible for references and Datetimes, because any duplicate primitives will be filtered out because the underlying data structure being a Set.
However, while the date times aren't primitives in php, they are considered to be primitives by Good, so a fix just for just the references won't work for the Datetimes. And even then, even for the other primitives, we are fetching the extra rows before the Set filters them out, which means that there's a complexity explosion that I should probably get rid of either way...


CMake disable tests if used as subproject

Skip building tests if project is used as subproject in cmake

Pull request checklist
Read the Contribution Guidelines for detailed information.

[ * ]  Changes are described in the pull request, or an existing issue is referenced.
[ * ]  The test suite compiles and runs without error.
[ * ]  Code coverage is 100%. Test cases can be added by editing the test suite.
[ * ]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header file single_include/nlohmann/json.hpp. The whole process is described here.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Specifically, I am aware of compilation problems with Microsoft Visual Studio (there even is an issue label for these kind of bugs). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

Coverage remained the same at 100.0% when pulling 2841afa2bce6169d0e327ee45bfe55fcf3c56210 on sandorex:develop into ef90d62ddf4713f0ca1029d6884997f2a073ca60 on nlohmann:develop.


[JENKINS-51876] Updated core, Java version, and dependencies

JENKINS-51876
The goal is to sanitize the plugin, it supports a really old core and contains tons of methods deprecated since eons, this is the first step to clean up some stuff.

Update core to 2.60.3
Update Java to 8
Update dependencies to latest stable version
remove trilead-ssh provided dependency, not need because we upgrade the core
fix TrustHostKeyActionTest Test, I have removed the reflection to create the SSH server is no longer need, this change is moticated to change from a DSA key to an RSA key required for Java 8.

@reviewbybees

relaunch CI


Destination or exits on GPS

Destination or exit does not show for Nova Scotia motorway exit on GPS

I'm sorry, I don't understand what this issue is about?

When the osm map is my garmin gps the highway exits show up as "ramp "ahead"

@dartmouvic Where did you get the osm map for your garmin? Maybe you can create an issue there, here are the issues for the iD-Editor for OSM.

Yeah, closing here - this doesn't sound like an issue with the iD editor.


feat: Full lexer

The goal of lex is to do enough work to prepare for the env vars expansion.
2.1 Mark quotes as important and non-important
2.2 Mark heredoc, pipe, redirect depending on the quotes
2.3 Mark variables ($WORD and $?) taking heredoc and quotes into account

When encountering <<<< split into << <<
Same with >>>>

When marking heredoc, need to mark them into 2 types:

normal (no quotes in the name) that expand vars
escaped (quote in a name) that doesn't expand them

Not sure about the type names..


First pass on structure selection pulse

Here's a first pass on the structure selection rectangle pulsing as it did in Dune 2. #23

First of all, thanks for your contribution!
I checked it out, tests pass. You might want to add some tests for the fading animation. But then again I bet it gets refactored once units get in the game and they can be selected too (and perhaps have a fading animation).
The fading animation is a tad slow imo. So perhaps tweak it a bit. Apart from that it looks fine to me.
Also, perhaps you can make it so that there is no merge pull request commit? I think that has been an accidental merge commit?
Thanks again.


How to reset textarea's height?

How can I reset the textarea height, for example when user press Enter and we need to clear the textarea and reset its height accordingly?

Doesn't setting value="" work?

Probably it does, but how about the case that I don't want a controlled value?

How do you update its value then?

I don't, I just use ref to get its value when user submits, then reset its value to '' (empty string)

I'm setting the body to an empty string however it does not reset the height

Im afraid that u would have to provide a full repro case for this situation before I could dive into this

Hi @Andarist thanks for the quick respond, I put together an example on codesandbox and my issue is actually related to the keydown event. When pressing enter, I'm sending a message (omitted in this example) and resetting the body however I'm still left with a line break.
https://codesandbox.io/s/great-wu-c4kgc?file=/src/App.js

Hi @Andarist did you have a chance to look into this?

You should use event.preventDefault() to avoid that newline being entered: https://codesandbox.io/s/interesting-easley-m5960?file=/src/App.js

Thanks so much @Andarist !


[HOLD for handles] [$2000] Make mentions auto-suggestions work with phone number accounts

Right now, the mentions auto-suggestion component that we added in this PR doesn't work with phone number accounts.

For example, do we want to change the way phone numbers are formatted for this scenario to have no spaces? E.g.<PHONE_NUMBER> instead of<PHONE_NUMBER> or do we want to do something else.

Moving to weekly. This will probably need to wait until after handles. Though perhaps in the meantime we should filter out phone numbers from the options since they just don't work.

So we had a discussion about this here: https://expensify.slack.com/archives/C01GTK53T8Q/p1683834057386839
And the conclusion of that thread is that we should update the regex to recognize the phone number as a mention, even though it has spaces in it. Like this:

Increasing to $2k.

Good question. I'd say we limit to a maximum of one space.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Phone number mentions aren't highlighted in chat messages.
What is the root cause of that problem?
The regex used to detect mentions only matches emails with domains like<EMAIL_ADDRESS>and doesn't match numbers like @(415) 555‑0132
What changes do you think we should make in order to solve the problem?
This solution takes into account changes made by now merged PR https://github.com/Expensify/App/pull/19221. Formatted phone number mentions like @(415) 555‑0132 have been replaced with the internal<EMAIL_ADDRESS>That is, the phone number mentions now already satisfy the existing regex pattern and are highlighted but just not in the right format. We can use the existing LocalePhoneNumber.formatPhoneNumber() method to format something like<EMAIL_ADDRESS>to @(415) 555‑0132
What alternative solutions did you explore? (Optional)
Ignoring PR https://github.com/Expensify/App/pull/19221, we can modify this regex located at https://github.com/Expensify/expensify-common/blob/68abe48ad71a98604fdbf5e8e960023ed5807ec2/lib/ExpensiMark.js#L113 such that phone numbers are matched as well. 'Click @mention to navigate' will need to be handled since we can't directly navigate to numbers like @(415) 555‑0132

@puneetlath Looks like there are few recent changes in phone number formatting. Phone number with brackets are replaced by dash while adding phone number.
And this is how it is displayed in mention suggestions.

Bump on this @puneetlath

So actually, I think we should put this on hold. We're going to be adding handles soon, so let's wait until that point to update this.

Still on hold.

Still on hold for handles.

Still on hold for handles.

Still on hold.

Still on hold.

Still on hold.

Still on hold.

Still on hold.

Still on hold.

Still on hold.

Still on hold.

Still on hold.

Still on hold.

Still on hold.

Posted about adding it here: https://expensify.slack.com/archives/C066HJM2CAZ/p1704234384172179
Mentions with phone number accounts do work now. But it'd be nice to remove the @expensify.sms portion of them.

Here #33902 is an issue for removing @expensify.sms for the phone number mentions. If the above comment is clarified we can proceed with that issue. If this removal of @expensify.sms might be dealt here in this issue or in #32534 then #33902 can be put on hold. @puneetlath

Moving to HIGH as otherwise it's not really practical to invite SMS numbers to rooms, undermining the "universal chat" message.
@puneetlath What would you say is the latest P/S on this -- the original post is kind of missing one.

https://github.com/Expensify/App/issues/32534 is done, so taking this off hold as well.

What's the next step here, and who is doing it?  When?

Who's managing this?  Can we increase the bounty to get more proposals?

rad!

Ah, my apologies. I think we actually have duplicated issues here.
We've got this issue that a contributor already has a draft PR for, so let's consolidate to that one. Sorry for the run-around @BartoszGrajdek!


added truncate table and truncate on first row options #2111

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

[x] I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004
[ ] In any other case, please file an Apache Individual Contributor License Agreement.

Does this have sane defaults if it is an old transform XML?
Does it default to false then?

defaults to false if the option is not available in the pipeline.
verified in the GUI, existing XML is checked in the integration tests.
integration-tests/vertica/0002-vertica-bulk-load.hpl uses the older version of the transform.
integration-tests/vertica/0003-vertica-bulk-load.hpl repeats 0002 to check if the row count remains the same, i.e. the truncate worked.


Feature request: Larger "Other requests from $IP" information

Just a feature request to perhaps display a subnet/CIDR for the "other requests from IP" to evaluate multiple requests coming from the same network. Could be something small like / 28, or perhaps larger such as / 24...
Another thought, although it would be more work, would be to consider sending a query to ARIN for the CIDR of that specific network, and then displaying all incoming requests from that range. (such as using https://github.com/addiscent/ip-addr-to-arin-cidr) For performance, I would imagine quering ARIN at request creation, but then for accuracy displaying actual "other request" data live at time of viewing/handling the request. Also to minimize performance drain would be to limit the subnet to no larger than /24, and perhaps the prior 10 requests.
Just my 2 cents.

Another thought, although it would be more work, would be to consider sending a query to ARIN for the CIDR of that specific network, and then displaying all incoming requests from that range. (such as using https://github.com/addiscent/ip-addr-to-arin-cidr) For performance, I would imagine quering ARIN at request creation, but then for accuracy displaying actual "other request" data live at time of viewing/handling the request. Also to minimize performance drain would be to limit the subnet to no larger than /24, and perhaps the prior 10 requests.

This may be a way forward. Original thought was declined in PR.

Going to decline as this has privacy implications and the RIR query approach is probably more effort than it's worth.


"TripleStore is busy" loop after node updates when running GraphDB

Issue description
Node stops running properly and wont send telemetry data. Log only consists of following type of text:
{"level":30,"time":1648954804624,"pid":606147,"hostname":"ODN2","msg":"Checking for new updates..."}
{"level":30,"time":1648954805380,"pid":606147,"hostname":"ODN2","msg":"Receiving message from QmaYqdZonZ9s2HbAz3gSJHASyvQNDnYV64shuNfKNcxLVa to QmSpebDCY9RTDauQHDh9TtrqUJ6MDSWiWzenypeRpeGKwN: event=/store/1.0.0;"}
{"level":30,"time":1648954805380,"pid":606147,"hostname":"ODN2","msg":"TripleStore is busy."}
Seemingly this happens every time there is a new node update. The node is stuck in the loop until user restarts the node.
Specifications

Node version: 6.0.0-beta.1.33-hotfix.2
Platform: 4 GB Memory / 80 GB Disk / AMS3 - Ubuntu 20.04 (LTS) x64
Node wallet: 0xff37f317971c58d0bb93ad795f30a29a4346535e
Node libp2p identity:

The same "Triplestore is busy" happens to me with or without a pending update. It seems to come randomnly and doesn't seem to follow a pattern in my case. When it does happen, my publisher script also stops working and I stop sending transactions. I couldn't find any error longs before it though.
In all my cases, a simple systemctl restart otnode blazegraph does the job.

Queries to the graph database are queued and executed sequentially. If your node receives a lot of requests, the queue can grow quite large, so we've set a maximum length for that queue after which your node will start denying new requests answering with "busy".
When you see "TripleStore is busy" in the logs, it means the queue is full, and your node is not processing new incoming requests.

the queue doesn't seem to go down on its own despite not accepting new requests. In my case I have to do a node restart for the transactions to clear. I would see several transactions on the explorer (1 every 5-10 seconds) until it clears and then the node starts accepting new queries again. Normal behavior ?

My other node seemed to be able to run for much longer before it got stuck in the loop and didn't process anything, and the second node would have it happen quite fast after restarting. Though I guess the issue is now solved by removing GraphDB and switching to Blaze.


Set select element height

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes: #81, #112
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Set the height of the dropdown inside of auro-select to use the new var(--auro-size-500) design token or a value of 40px when the variable is not defined.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: