Example build errors

What Git revision are you using?
Commit 30436a8a9c0f02c58631fa9f775f5a4f0d748466
aiken v1.0.26-alpha+075668b
What operating system are you using, and which version?

[x] Linux / Ubuntu
[ ] Linux / Other
[ ] macOS
[ ] Windows

Describe what the problem is?
Build is failing with an unknown type for the examples.
aiken/examples/gift_card$ aiken check
    Compiling aiken-lang/gift_card 0.0.0 (/home/ross-spencer/git/aiken/test/aiken/examples/gift_card)
    Resolving aiken-lang/gift_card
      Fetched 1 package in 0.05s from cache
    Compiling aiken-lang/stdlib main (/home/ross-

aiken/examples/gift_card/build/packages/aiken-lang-stdlib)
        Error aiken::check::unknown::type

  × While trying to make sense of your code...
  ╰─▶ I found a reference to an unknown type.

    ╭─[/home/ross-spencer/git/aiken/test/aiken/examples/gift_card/build/packages/aiken-lang-stdlib/lib/aiken/dict.ak:22:1]
 22 │ pub opaque type Dict<key, value> {
 23 │   inner: AList<ByteArray, value>,
    ·          ───────────┬───────────
    ·                     ╰── unknown type
 24 │ }
    ╰────
  help: Did you mean 'List'?

      Summary 1 error, 0 warnings

What should be the expected behavior?
The examples should pass if there is an update to the codebase or the possible (?) typo corrected in the codebase.

Are there any docs changes that should be in the tutorials?
E.g, https://aiken-lang.org/installation-instructions
Rn I'm personally not sure how to access the information you mean, or downgrade to the previous version I was using where this worked. But if I just follow the instructions I get to the place I am in (incompatible compiler with existing examples?)

You can force the stdlib's version to be "1.8.0" instead of main in the gift card toml file: https://github.com/aiken-lang/aiken/blob/30436a8a9c0f02c58631fa9f775f5a4f0d748466/examples/gift_card/aiken.toml#L13
This should solve your issue 👍.
Although I am curious; what part of the tutorial did led you to use the main version of the standard library? It could be that aiken new does that by default, which is something we might want to change.


UI errors, mock auth, babel on server

Fixup lint stuff
Add nodemon to 'watch' files during dev
Mock authentication with make serve/mock
Use babel everywhere (to use import/export) #18
Update UI Errors to use material design:

Sorry this PR got out of hand. I will stop adding to it. Let me know if you want to review it together

Sorry this PR got out of hand. I will stop adding to it. Let me know if you want to review it together

Looks good so far, need a little more time to read it all

Looks good so far, need a little more time to read it all

Probably easiest to go commit by commit. Let me know if you want to do it together,

Probably easiest to go commit by commit. Let me know if you want to do it together,


Add Github Pages with Documentation

At least you can copy the readme from the original project. Right now we have to jump to it for getting some information. Notice the original project has a wiki as well.

Hi, I would be happy to help a little with documentation if that would be useful. I'm starting to use this library for a project and I'm very grateful for it and would like to give back if possible.

@michaeljones Any contributions you can make are definitely welcome and appreciated!


Archiving import_sorter

Hello everyone. I'm sad to say that today I am going to be archiving import_sorter. Unfortunately I no longer work with dart and flutter anymore and as I go into college I don't have a lot of free time to maintain the project. Anyone is free to fork the code or take over as maintainer but I am going to be archiving the project today. Sorry for any inconveniences this may cause and thank you so much for all the support.

@gleich is it the right approach to close all issues and PRs? Our team relies a lot on it, we even made it a rule in our CI where a PR with incorrect imports order won't be mergeable.
Instead of archiving the project, could you instead call for another maintainer on the README?

yeah that might be the better approach here. I'll reopen the issues and add a maintainer request on the README. Thanks for the suggestion.

I would be interested in taking over the maintenance of this package.
However, I will not be available for two months, starting December 18th, so I'm not sure that I am the best person to do so right now.

That would be amazing! I can lightly maintain it until you get back. I just can't commit in the long run.

Thanks for creating and maintaining this nice tool @gleich! Good luck in college :)

Hey @gleich!
I'm ok with maintaining it myself as well. Anyway, please, do not forget to transfer pub.dev access to a new maintainer.
BTW, there is https://github.com/fluttercommunity which could be a convenient place to keep the project accessible.
In any case, the new maintainer is free to contact me regarding any help desired.

So, what's next? I think, it would be helpful to create a dev chat (on the Matrix network perhaps) to gather all willing to help to maintain the project and discuss the next steps there.

I would keen to take this over and maintain the package, do you still need someone to do so?

@AlmogRnD : @gleich added me as a maintainer to the repository a couple months ago. I haven't addressed the currently open issues, but will get to it in the following weeks.

Any updates on the repository it's unmaintained for years @vkammerer

Yes would be happy to contribute as well

I have raised a PR #70 with latest package version and lint rules along with updated example with latest flutter version. Can someone review this and merge?

First of all, I want to apologise for not having properly maintained the repository this past year. It took quite a long time for me to have access to the repo, and when I finally did, I was back into the daily routine of my job and kept procrastinating..
But it's great to see that there is still interest in the project! We also use it at my company, and I definitely see value in it.
@pythonhubdev I see you've opened a few PRs, I will review them

Thanks @vkammerer


Double click to modify messages

Acceptance criteria
Must

[ ] Double click to start editing, Enter or losing focus to save the new value.
[ ] Escape special characters.
[ ] In scope: sync messages, async messages, creation, return

空格和特殊字符处理还有问题——https://github.com/mermaid-js/zenuml-core/pull/126


Allow customisations in Polyline, Polygon and Circle

https://github.com/hemangsk/capacitor-googlemaps-native/issues/1

Closing this in favor of #157


Issue with maven dependencies

APIM-CLI version
1.14.2
API-Management version
7.7.20231130
Bug description
Maven dependency:

com.github.axway-api-management-plus.apim-cli
apimcli-apis
1.14.2

Throws this error (ie with mvn package)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.887 s
[INFO] Finished at: 2024-03-11T14:37:40-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project changelist: Could not resolve dependencies for project com.boehringer.apim:changelist:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.github.axway-api-management-plus.apim-cli:apimcli-apis:jar:1.14.2 -> com.github.axway-api-management-plus.apim-cli:apimcli-apim-adapter:jar:1.14.2 -> org.ehcache:ehcache:jar:3.10.8 -> org.glassfish.jaxb:jaxb-runtime:jar:2.3.0-b170127.1453 -> org.glassfish.jaxb:jaxb-core:jar:2.3.0-b170127.1453 -> javax.xml.bind:jaxb-api:jar:2.3.0-b161121.1438: Failed to read artifact descriptor for javax.xml.bind:jaxb-api:jar:2.3.0-b161121.1438: The following artifacts could not be resolved: javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 (absent): Could not transfer artifact javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 from/to maven-default-http-blocker (http://<IP_ADDRESS>/): Blocked mirror for repositories: [releases.java.net (http://maven.java.net/content/repositories/releases/, default, releases+snapshots), shapshots.java.net (http://maven.java.net/content/repositories/snapshots/, default, releases+snapshots), jvnet-nexus-staging (http://maven.java.net/content/repositories/staging/, default, releases+snapshots), netbeans (http://bits.netbeans.org/nexus/content/groups/netbeans, default, releases)] -> [Help 1]
Steps to reproduce
create pom.xml with dependency and execute mvn
Relevant log output
No response

Hi @emmanuel-galindo,
Change the maven settings.xml to all http connection. Please reference - https://gist.github.com/vegaasen/1d545aafeda867fcb48ae3f6cd8fd7c7

@rathnapandi  thanks for the tip!! I've spent a lot of time trying to find a solution
but now mvn complains 401 ... it says
[ERROR] Failed to execute goal on project changelist: Could not resolve dependencies for project com.boehringer.apim:changelist:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.github.axway-api-management-plus.apim-cli:apimcli-apis:jar:1.14.2 -> com.github.axway-api-management-plus.apim-cli:apimcli-apim-adapter:jar:1.14.2 -> org.ehcache:ehcache:jar:3.10.8 -> org.glassfish.jaxb:jaxb-runtime:jar:2.3.0-b170127.1453 -> org.glassfish.jaxb:jaxb-core:jar:2.3.0-b170127.1453 -> javax.xml.bind:jaxb-api:jar:2.3.0-b161121.1438: Failed to read artifact descriptor for javax.xml.bind:jaxb-api:jar:2.3.0-b161121.1438: The following artifacts could not be resolved: javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 (absent): Could not transfer artifact javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 from/to netbeans (http://bits.netbeans.org/nexus/content/groups/netbeans): status code: 401, reason phrase: Repository decommissioned. Please refer to https://netbeans.apache.org/about/oracle-transition.html for more information. (401) -> [Help 1]
I tried in another box but same issue.. any idea?


Optimized mergesort.cpp

Fixes: https://github.com/CodersForLife/Data-Structures-Algorithms/issues/111
Language: C++

https://github.com/CodersForLife/Data-Structures-Algorithms/pull/113

@nimit95 This is for C++.


CircuitCider uses v0.12.0 of bevy while bevy_serialization_* uses v0.13.0

There's a dependency mismatch between CircuitCider and bevy_serialization_extras and bevy_serialization_urdf.
bevy_serialization_urdf and bevy_serialization_extras use bevy v0.13.0.
CircuitCider uses v0.12.0
The read me will also need to be updated to show that the minimum rust version is now 1.76 instead of 1.72.
Maybe the minimum rust version thing can be removed.
MVR's are mainly for libraries, but this is a (game?) so it's probably out of place

bevy just updated to 0.13 last week, and so did all of the dependencies our project relies on.
I've made the move to update all of our stuff to the latest version of bevy, so once thats resolved, this will be resolved.

version number mis-match fixed as of latest commit


Added support for get/set file service properties.

I don't think it should be called service_client.hpp. We would have multiple service_client.hpp. How about datalake_service_client.hpp and share_servic_client.hpp? .Net SDK does so

I don't think it should be called service_client.hpp. We would have multiple service_client.hpp. How about datalake_service_client.hpp and share_servic_client.hpp? .Net SDK does so

Sure, I'll change them in a new PR to align with Blob service and .NET SDK.


Update usb_descriptors.c

fixed bFirstInterface number in iad

Yep, copy-paste error from a previous project that included HID as a first interface.


SW-4587 Do not show withdraw button if the batch is not withdrawable

Current dependencies on/for this PR:

main

PR #1920   👈

This stack of pull requests is managed by Graphite.


Microsoft.Build.Exceptions.InvalidProjectFileException: Items that are outside Target elements must have one of the following operations: Include, Update, or Remove.

Since the merge of https://github.com/OmniSharp/omnisharp-roslyn/commit/c2c6cfca3032d0bad1628e16333c76cf83d114fb symbols are no longer analyzed unless I open the file containing them and hit Ctrl+S to force analysis of the file.
If I search for a symbol with "#SymbolName" it won't find it, even though the output of omnisharp shows that everything was analyzed. As soon as I open the file containing the symbol and hit Ctrl+S omnisharp starts analyzing the file and caches the symbols, making them findable.
Further, since the files arent analysed, CodeLense does not show "xx references" on functions, classes, etc in the opened file until Ctrl+S is hit to analayse the file
This is in VSCode.
UPDATE:
Just found several of those exceptions in omnisharp log when loading projects:
Microsoft.Build.Exceptions.InvalidProjectFileException: Items that are outside Target elements must have one of the following operations: Include, Update, or Remove.

This is not caused by https://github.com/OmniSharp/omnisharp-roslyn/commit/c2c6cfca3032d0bad1628e16333c76cf83d114fb, it doesn't impact the symbol search.
Could you please provide a repro / example of the project files you have that cause the error?

Cannot repro issue locally 😢  can you share broken csproj file? It may be releated https://github.com/OmniSharp/omnisharp-roslyn/commit/4de169b1b318f27c644e45e485b3c22312dab2c4 since they merged about same time.

I can not share sadly due to it being a solution from work (with quite a lot of code).
I noticed this exception in omnisharp  when loading projects:
Microsoft.Build.Exceptions.InvalidProjectFileException: Items that are outside Target elements must have one of the following operations: Include, Update, or Remove.
seems the analysis works for some projects but not for others, the ones throwing that exception are not analaysed

do you have any entries for <AdditionalFiles /> in the project files?

I did take a look at the csproj files, turns out they had some invalid  inside with invalid elements (somebody confused app.config with .csproj). Not sure why it worked with the old build though.

OK then it is "by design", I will close the issue.
To be honest, the bundled version with extension 1.20 and the current master of OmniSharp ("omnisharp.path": "latest") are already quite far apart, including a different compiler version that they are using.
If you run into troubles again, feel free to open a new issue (ideally, with repro steps 😀)

Still having issues with "latest" version:
CodeLense appears to not be working:

This is after having VSCode open untouched for like 1hour, so it should definitely have analyzed everything already.

Had a similar issue when trying to make a master build proj.
You might try checking the case of your include. Just making mine Include worked.


Hiccups when displaying readme, manifest, and other metadata on rhs

with console error
[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core
  at <App>

Fixed (for now) by downgrading and pinning a few dependencies, https://github.com/livMatS/dtool-lookup-webapp/commit/657eae44391c627485e7eabf5252b64eddb832bd


[5.10] Ensure dark colors are always used in tutorial hero

Explanation: Fixes issue where the colors for some elements like asides look broken in the tutorial intro in light mode
Scope: CSS-only change that impacts the tutorial intro element
Issue: rdar://118359891
Risk: Low, minor CSS-only change
Testing: Visually tested that asides are using the right colors in all color scheme modes and checked for any regressions with other colors in the tutorial intro
Reviewer: @dobromir-hristov
Original PR: #760

@swift-ci test

@swift-ci test


passing confs thru pipes & API to give user feedback

my rough ideas:
screenpipe --pipe checkSecurityIssuesOnMyScreen.ts checkSecurityIssuesOnMyScreen.json # <- some json conf for it

and feedback
console.log("yo") // <- this would stream logs in some foldable component in the app + logs in cli

pipe.showNotification({title: "yo man", body: llm("tell the user a story"), action: doYouValidateThisStory()})

again we want to avoid to do too much UI like obsidian plugins do
would rather take the software 3.0 path
maybe let pipes create AI tools that are used in the chat or AI streamable tools something
maybe GPTs thing (kinda see this a failure from openai)
feel free to drop ideas

mostly done


New available content

Yesterday around 20:15 I wanted to see DWDD but I could not find it in this app. I went to UitzendingGemist on my SmartTV and there it was. How is content within this app refreshed? At intervals or anyother way? Can it be manually controlled (refresh button)?

You need to manually quit the app (double click home and swipe app to the top) and restart. I believe there already was an issue for this.
gr,
nick

Op 12 nov. 2015 om 11:16 heeft iAmRenzo<EMAIL_ADDRESS>het volgende geschreven:
Yesterday around 20:15 I wanted to see DWDD but I could not find it in this app. I went to UitzendingGemist on my SmartTV and there it was. How is content within this app refreshed? At intervals or anyother way? Can it be manually controlled (refresh button)?
—
Reply to this email directly or view it on GitHub.

Yes, due to the way the views are stacked, the popular and recent views ware not reloaded whenever  they reappear, causing the content to become stale after a while. I'm closing this as there's an issue open for this already, but thanks for reporting, @iAmRenzo!
@amphorainteractive thank you for commenting on this issue. As it generally takes me a while to find the time to go over these issues, your quick response is really appreciated.


Add detail in book Verse

Fixes: #2182

On clicking on books we will redirect to book verse
@iamrahulmahato Please review my changes

@iamrahulmahato please assign me the level


[DNM] Add .codecov.yml

Signed-off-by: mahjonp<EMAIL_ADDRESS>
What have you changed?
Please explain in detail what the changes are in this PR and why they are needed:

Summarize your change
How does this PR work? Include a brief introduction for any changed logic (optional)
Separately describe each logical change (optional)
Describe any limitations of the current code (optional)

Don't assume reviewers understand the original issue.
What is the type of the changes?

New feature (a change which adds functionality)
Improvement (a change which is an improvement to an existing feature)
Bugfix (a change which fixes an issue)
Engineering (engineering change which doesn't change any feature or fix any issue)
Misc (other changes)

How is the PR tested?

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Does this PR affect documentation (docs) or should it be mentioned in the release notes?

Does this PR affect tidb-ansible?

Refer to a related PR or issue link (optional)
Benchmark result if necessary (optional)
Any examples? (optional)

/coverage

/coverage

/test

/test

/coverage


Hey I am new to GitHub and CS50. I am trying to do a check50 command before submitting my first assignment and getting a response that I don't know what it means.

ADD ISSUE DESCRIPTION HERE
$ check50
usage: check50 [-h] [-d] [--offline] [-l] [-o {ansi,json,html} [{ansi,json,html} ...]] [--target TARGET [TARGET ...]] [--output-file FILE]
[--log-level {debug,info,warning,error}] [--ansi-log] [--no-download-checks] [--no-install-dependencies] [-V] [--logout]
slug
check50: error: the following arguments are required: slug
$
Version: 1.68.1
Commit: 30d9c6cd9483b2cc586687151bcbcd635f373630
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Embedder: codespaces

/question

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


Add OpenSSL 1.0.2 prereq on CentOS/RHEL6 for OpenJ9

This can be downloaded live, but I'd rather have it cached. CentOS6 (used on x64 for building) has openssl 1.0.1 which cannot be used by OpenJ9.
Separate PR in to the build repository to start using this https://github.com/AdoptOpenJDK/openjdk-build/pull/1023

@vsebe's change is for JITaaS which I believe needs 1.1.1. This is to allow RHEL/CentOS6 to build against the same level main level (1.0.2) as the other CentOS7.4 systems which have that version preinstalled. I don't want to mess with the system version.
Can you clarify what your issue is with the tags? Your comment is against something that already has an openssl tag on it.

The current openssl role uses tags: openssl, I just think they should be separated and not grouped into one as they are different roles for different purposes.

@sxa555  - https://github.com/AdoptOpenJDK/openjdk-infrastructure/pull/759 installs openssl 1.1.1 on all Linux x86 platforms. Openssl 1.0.2 is not required on centos 6 & rhel 6 x86.

@vsebe My preference was to build the openJ9 JDKs against 1.0.2 since that's the earliest release and the one that's consistent with the CentOS7.4 build platforms therefore safer for compatibility. If we're 100% sure that building against 1.1.1 source (I believe that's a JITaaS requirement so not actually needed for any adoptopenjdk builds) will result in something that will execute against 1.0.2 that I'd be ok with not doing this, but I'd need that confirmation.

@jdekonin Is the openssl111 purely for jitaas? In which case a jitaas tag for 1.1.1 might be more appropriate as per my previous comment to Violete

afaik 1.1.* is required for JITaaS which is currently only supported on xlinux. I assume Adopt would need this (on at least the compile machines) in order to ship binaries with JITaaS support. Even if we aren't testing JITaaS at Adopt.

@AdamBrousseau I thought the JITaaS was still in a separate branch so we wouldn't even be building it at present, or am I out of date? :-)

@sxa555 Will need rebasing

True, I was confusing it with a separate project. JITaaS is still not in the mainline.

@AdamBrousseau In which case we should probably get @vsebe to modify her 1.1.1b upgrade PR (if we decide to land it) to use jitaas instead of openssl although I'm still not convinced we should even have it in the playbooks if it's not required for anything in the mainline code.

@jdekonin Given the discussions and modifications in 1.1.1 can you update your review please?

The merge needs review; there are 3 commits in this PR, 2 of which don't belong.  Travis failure is highlighting trailing white space that should also be fixed.

The merge commit shouldn't be an issue as it'll get squashed on merge. Have resolved whitespace


provide fix for bug related to parsing GET parameters

This fixes #831.  I've updated the code and provided a test case.
This problem is caused when the path option is a GET parameter.  With the current version, you can make it work if you escape the ?; however, I didn't see documentation detailing this.  In this PR I escape the ? if it hasn't already been properly escaped when setting the option.
Basically, this currently doesn't work blog?page={{#}} but doing this blog\\?page={{#}} will work.  Prior to changing out {{#}} with the regexp to match the page number, I convert blog?page={{#}} to blog\\?page={{#}} if the user hasn't already done so.

Whoa, thanks for all the hard work here! Excellent PR. Merging now.

@kyle-mccarthy Looks like this fix isn't working in Firefox. /(?<!\\)\?/ is an invalid regular expression. Could you take another look?

@desandro Sorry about that, I did not realize that Firefox didn't support negative lookbehinds.  I opened another PR fixing the problem (and tested it in FF this time :)).


Can't use Netlify Dev

- Do you want to request a feature or report a bug?
Bug.
- What is the current behavior?
Currently, when trying to run $ netlify dev I get the following output:
❯ netlify dev --live

 ›   Warning: dev is not a netlify command.
Did you mean open? [y/n]:

The CLI doesn't recognize the dev command.
- If the current behavior is a bug, please provide the steps to reproduce.

Run $ netlify dev.

- What is the expected behavior?
Running the command above should launch Netlify Dev as expected.
- Please mention your node.js, and operating system version.
Node.js: v12.3.1
OS: macOS Mojave (10.14)
netlify-cli: 2.7.4
Note that I tried running npm i -g netlify-cli@latest several times to make sure I was running the latest available version of the CLI, but I still have version 2.7.4 installed. The issue might be happening because of my local configuration, and not the CLI.

It turned out that the issue was caused by npm not removing an old symlink at /usr/local/bin/netlify, which prevented me from using the latest version of the CLI (and so I removed the old symlink).


Corrects a couple of bugs

Trims string
as trailing spaces would confuse the replacement function.
Implements a Regular Expression based replacement of spaces
to prevent repeated spaces being replaced individually.

The quick brown fox jumped over the lazy dog
 used to be converted to
The quick brown fox jumped over the lazy dog

Line 20 fixes this by trimming the html content of the element.

The quick brown fox jumped over the lazy  dog
 used to be converted to
The quick brown fox jumped over the lazy  dog

Line 42 fixes this by using a regular expression which matches one or more whitespace characters.

hi @lucanos !
Thanks for this.
I see the value in the check for multiple-consecutive spaces.
I'm a little unsure about the trimming, though. It seems to over-step the boundary of the plugin.
A little background;
I was implementing a lot of CMS driven sites back in those times, and one thing that clients often asked for was to prevent orphans. They kept asking for "this line of silly text" to not wrap "text" on to the next line. I told them they have a wysiwyg where they can apply a nbsp but even that was too technical for them. Eventually I looked for other orphan killers but those plugins failed on complex HTML markup. So I created this one, and I continue using it to the day.

I've never found myself with the problems you've outlined, but I do see that the scenario could arise. Generally CMS's will trim blob/clob/varchar on input and that's probably why I've never encountered it.
My concern comes from; the user might not expect the text to be trimmed. And that if the text really does require trimming (due to the environment and content) then it can be easily accomplished with;
var trimmed = $(".content").html().trim();
$("element").html( trimmed ).unorphanize();

Any response / feedback / insight is welcomed :)


Release/2.0

🚀 🚀 Pull Request
Pushing 2.0 to main

if we do this merge, doesn't that mean we are releasing non-alpha hub? i feel like we shouldn't merge this yet until at least after we get closer to the 2 week mark


Use the PVDAQ raw data API

https://developer.nrel.gov/docs/solar/pvdaq-v3/data/
The current fetch uses the yearly data file API, which downloads a bunch of unnecessary data when we get to the point of only wanting to update the past few days.

My memory is that api is slower.

The raw data API might be faster for systems that only have a few data fields and have fast download times anyways. It is slower for systems that have more data fields (and maybe also with shorter intervals). Interestingly, requesting data for a few days without records is no faster than requesting data for a few days that do have records. Perhaps their database is not indexed on the time - maybe they just parse the csv files.
12:58:57  curl https://developer.nrel.gov/api/pvdaq/v3/data.json\?system_id\=1199\&start_date\=6/23/2020\&end_date\=6/24/2020\&api_key\=**mykey** >> 1199.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 76746    0 76746    0     0  47966      0 --:--:--  0:00:01 --:--:-- 47936
12:59:27  curl https://developer.nrel.gov/api/pvdaq/v3/data_file\?year\=2020\&system_id\=1199\&api_key\=**mykey** >> 1199.csv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3610k    0 3610k    0     0  1155k      0 --:--:--  0:00:03 --:--:-- 1155k
12:59:49  curl https://developer.nrel.gov/api/pvdaq/v3/data_file\?year\=2020\&system_id\=1276\&api_key\=**mykey** >> 1276.csv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1171k    0 1171k    0     0   640k      0 --:--:--  0:00:01 --:--:--  640k
13:01:00  curl https://developer.nrel.gov/api/pvdaq/v3/data.json\?system_id\=1276\&start_date\=6/23/2020\&end_date\=6/24/2020\&api_key\=**mykey** >> 1276.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 26246    0 26246    0     0   1009      0 --:--:--  0:00:26 --:--:--  7132
13:01:44  curl https://developer.nrel.gov/api/pvdaq/v3/data.json\?system_id\=1332\&start_date\=6/23/2020\&end_date\=6/24/2020\&api_key\=**mykey** >> 1332.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    48    0    48    0     0      0      0 --:--:--  0:00:56 --:--:--    13
13:03:23  curl https://developer.nrel.gov/api/pvdaq/v3/data_file\?year\=2020\&system_id\=1332\&api_key\=**mykey** >> 1332.csv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 71.2M    0 71.2M    0     0  1364k      0 --:--:--  0:00:53 --:--:-- 1492k
13:04:43  curl https://developer.nrel.gov/api/pvdaq/v3/data.json\?system_id\=1332\&start_date\=3/23/2020\&end_date\=3/24/2020\&api_key\=**mykey** >> 1332.json
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1866k    0 1866k    0     0  28666      0 --:--:--  0:01:06 --:--:--  582k


Issue about key config google maps

Proposal
To mention about include .env with key of google maps for show correctly map on app.

Fix bug code Google Maps.
The map is not showing correctly because issue of the code register map. Please take a look at the print below for blank space.

The issue was resolved by creating an environment variable on the server deployment.
🥇

The issue was resolved by creating an environment variable on the server deployment.
🥇


Fallback to system if systemlist doesn't exist

systemlist was introduced in 7.4.248 (and was buggy until
7.4.256), which precludes using pick.vim with the versions of Vim
shipped with OS X 10.11 and Ubuntu 14.04.
Using system with fnameescape requires manually stripping the
trailing newline.

As suggested by @srstevenson.

LGTM, tested in Vim 7.4.2152 with systemlist and in Vim 7.4.52 without. Thanks @calleerlandsson!

Code looks solid!

Thanks! I'll merge this.


Having problems in integrating react-toolbox

I'm trying to integrate react-toolbox but its giving an error for loaders. Am I missing anything?
Previously,
webpack.config.js File:
{
'test': /.css$/,
'loader': ExtractTextPlugin.extract("style-loader", "css-loader?sourceMap")
}
I got an error:
composition is only allowed when selector is single :local class name not in ".raised", ".raised" is weird.
So for this I made following changes in webpack.config.js File:
{
'test': /.css$/,
'loader': ExtractTextPlugin.extract("style-loader", "style!css?sourceMap&modules&importLoaders=1&localIdentName=[name][local]_[hash:base64:5]!postcss-loader")
}
But then I got an error like:
Module build failed: ReferenceError: window is not defined
I am new with webpack. Can anyone guide me with this?
Thanks in advance.

The problem in the first example here is that to integrate react-toolbox with css-modules you have to configure css-loader to use css-modules. This can be done by passing the option modules in the querystring which is what you did in the second example.
The configuration looks ok so it's pretty difficult to give you insights. It looks more like a configuration issue so this doesn't belong to the project, I have to close it to avoid noise.
There are plenty of issues resolved and configuration examples in other closed issues because people usually have troubles making it work with webpack. If you have too much issues with configuration you can always use react-toolbox with react-toolbox-themr.
Good luck :)


torchvision transforms broken by Pillow 7.0 release

🐛 Bug
Pillow just released 7.0.0. This breaks torchvision.transforms as the import fails:
Traceback (most recent call last):
  File "examples/mnist.py", line 5, in <module>
    from torchvision.transforms import (
  File "/home/felix/.local/share/virtualenvs/repro-Cd9xy9KO/lib/python3.6/site-packages/torchvision/__init__.py", line 4, in <module>
    from torchvision import datasets
  File "/home/felix/.local/share/virtualenvs/repro-Cd9xy9KO/lib/python3.6/site-packages/torchvision/datasets/__init__.py", line 9, in <module>
    from .fakedata import FakeData
  File "/home/felix/.local/share/virtualenvs/repro-Cd9xy9KO/lib/python3.6/site-packages/torchvision/datasets/fakedata.py", line 3, in <module>
    from .. import transforms
  File "/home/felix/.local/share/virtualenvs/repro-Cd9xy9KO/lib/python3.6/site-packages/torchvision/transforms/__init__.py", line 1, in <module>
    from .transforms import *
  File "/home/felix/.local/share/virtualenvs/repro-Cd9xy9KO/lib/python3.6/site-packages/torchvision/transforms/transforms.py", line 17, in <module>
    from . import functional as F
  File "/home/felix/.local/share/virtualenvs/repro-Cd9xy9KO/lib/python3.6/site-packages/torchvision/transforms/functional.py", line 5, in <module>
    from PIL import Image, ImageOps, ImageEnhance, PILLOW_VERSION
ImportError: cannot import name 'PILLOW_VERSION'

https://github.com/python-pillow/Pillow/releases
To Reproduce
run
from torchvision.transforms import Compose
Environment
torch==1.3.1
torchvision==0.4.2
torchvision==7.0.0
Fix
I pinned pillow to version 6.2.2. After this the import works again

I can confirm this issue when installing https://download.pytorch.org/whl/cpu/torchvision-0.4.2%2Bcpu-cp36-cp36m-linux_x86_64.whl

I still get version 7.0.0 when I install using the following command
pip3 install torch===1.3.1 torchvision===0.4.2 -f https://download.pytorch.org/whl/torch_stable.html
or even using the following command
pip3 install torch===1.3.1 torchvision===0.4.2 -f https://download.pytorch.org/whl/torch_stable.html

It seems like it was fixed here a few months ago: https://github.com/pytorch/vision/commit/b8ef5322b5aea611a6aca2c876578d012b9a890a
But there hasn't been a release that includes it.

Duplicate of https://github.com/pytorch/vision/issues/1712:

We will be releasing a new version of PyTorch and torchvision early next week, so this should be soon fixed.

As @hugovk mentioned in https://github.com/pytorch/vision/issues/1714#issuecomment-570536493, we will be releasing a new version of torchvision early next week, so I believe this can be closed.
Thanks for the reports!

@fmassa thank you for being so responsive!

i am still getting the error, cannot import the Compose. i need a help

@DB11051998 FYI you need to import it via from torchvision.transforms import Compose


Auto-tag OVERWRITE

Using version 1.6.0a5 , auto tag function overwrites fields even when overwrite option is unticked in the following cases:

the system finds a successful match on comicvine , it overwrites existing metadata (I spotted this cause it changed capital/small letters in the title and in some instances even series name . I had capital letters and comicvine used small letters , the metatag changed into small letters)
the system THINKS it has found a match . yet the match is wrong . It still changes/overwrites the correct title,pblisher ..  to something completely different
no CR metadata exists yet , only form data from the filename parser . it overwrites the already existing form data .
it proposes a match , asks to manually accept it . when you accept it overwrites the already existing metadata

The overwrite option specifically refers to saving tags. If there are already CR tags saved in the comic CT will not save CR tags over them by default it does not refer to individual fields in the metadata

There are multiple options such as '--overwrite' and '--clear-metadata' which make this unnecessarily complicated. I plan to address this before the next full release, probably won't be addressed in the next alpha.

Now there are only two options and they should have a sufficiently clear help message.
  --overwrite, --no-overwrite
                        Apply metadata to already tagged archives, otherwise skips archives with existing metadata (relevant for -s or -c).
  --clear-metadata, --no-clear-metadata
                        Clears all existing metadata during import, default is to merge metadata.
                        May be used in conjunction with -o, -f and -m.

different options for merging metadata is being added in #598 by @mizaki

Related to #658
The current options are now:
  --clear-tags, --no-clear-tags
                        Clears all existing tags during import, default is to merge tags.
                        May be used in conjunction with -o, -f and -m.
                        default: False

  --skip-existing-tags, --no-skip-existing-tags
                        Skip archives that already have tags specified with -t,
                        otherwise merges new tags with existing tags (relevant for -s or -c).
                        default: True

  --tag-merge {overlay,add_missing}
                        How to merge fields when reading enabled tags (CR, CBL, etc.) See -t, --tags-read default: overlay
  --tag-merge-lists, --no-tag-merge-lists
                        Merge lists when reading enabled tags (genres, characters, etc.) default: True
  --metadata-merge {overlay,add_missing}
                        How to merge fields when downloading new metadata (CV, Metron, GCD, etc.) default: overlay
  --metadata-merge-lists, --no-metadata-merge-lists
                        Merge lists when downloading new metadata (genres, characters, etc.) default: True


Tidy app activity Strava plot method

Top panel:

Elevation profile - shaded
Speed - line
cadence - bar chart

Middle panel:

Elevation profile
Power profile

Lowest chart:

Elevation profile
Heartbeat profile

Provide choice of X axis - distance/time
Set up ranges for axes:
X axis is tight
Reduce number of ticks on the Y axis
Add some totals next the the Y axis:
Speed - max, median, average
Power - max, NP, average
Heartbeat - max, median, average

Ditched the cadence idea - somehow it does not fit...


added chapter for Meteor cloud radar

@jroettenbacher, thank you for reviewing this. I've implemented all your suggestions. Should we proceed merging it?


Force MockCircle default position to (0, 0)

MockCircle's position in the typical workflow will be populated by its Latitude and Longitude properties. However, if one manually sets Latitude and Longitude to 0 (which is the default), then App Inventor won't serialize this and restore it on load. The result is that MockCircle will be initialized without a position, which later causes an exception when it is added to the map. This change sets the center to 0, 0 so that it is valid in the case of the default.
Fixes #1379

LGTM on my testing pass.

@jisqyv I'd like it if we could get this one into the November release.


Autoflow reflows to one character over the editor's preferred line length

When my editor's preferred line length is 80, Autoflow wraps lines up to 81 characters long. If I actually want the lines to be no more than 80 characters, I have to set the preferred line length to 79.

I see this too. Although sometimes it does wrap to 80.

Could you please give a reproducible example?

Sorry, I can't. I don't remember what I was using it with that did or didn't work at the time, and I stopped using it at that time and haven't used it since.
(if it comes up again, I'll immediately try to get a reproducible case)

I couldn't remember an exact instance that this happened, so I tried just testing it on some random text with the "Lorem ipsum" snippet.
In line 10 of the following sample, Autoflow wraps it at character 81. I thought for a second that maybe it was because the 81st character was a period, but changing it to a letter doesn't affect how Autoflow wraps the text.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit
amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi
ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim
id est laborum.

...That's with my Preferred Line Length setting set back to the default 80.

I think that is misunderstanding. The line 10 of this text is wrapped exactly after 80 characters. If you want to wrap it on character 79 (a reasonable desire when you're trying to follow something like PEP 0008, for example), then you should set margin at column 79 in the Atom settings.

I just tried the text given above. With the Preferred Line Length set to 80, it wraps at the point you specify, but line 10 consists of exactly 80 characters:
in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
         1         2         3         4         5         6         7         8
12345678901234567890123456789012345678901234567890123456789012345678901234567890

I am testing it on Atom 1.2.0 for Windows and have no issues. I think this bug can be closed.

Thanks @ForNeVeR. I'd like to hear that this is fixed also for @terrycloth.

Oh, I see. I tried highlighting line 10 in the text sample, and it is indeed 80 characters long. I don't normally look select a line to see its character count, though, I usually just look at the status bar to see what character I'm at. The problem is actually that Atom displays the count for the character to the right of the cursor, while I would be inclined to count up to the characters to the left of the cursor. For example, when you move the cursor to the very beginning of a line, I would think it ought to say 0 because a blank line has no (visible) characters in it, but the Atom status bar shows 1.
I don't know if this should be refiled as a bug for, um, whatever package handles the line and character count status... But it does seem a little confusing to me.

Displaying line 1 character 1 for the first character position in a file is pretty standard across editors. I'm pretty sure this has been raised and addressed in the status-bar package. You can find the conversation there.
Since this is resolved, I'll close the issue when I get back to my desk. Thanks!

On Nov 16, 2015, at 1:41 PM, Andrew Toskin<EMAIL_ADDRESS>wrote:
Oh, I see. I tried highlighting line 10 in the text sample, and it is indeed 80 characters long. I don't normally look select a line to see its character count, though, I usually just look at the status bar to see what character I'm at. The problem is actually that Atom displays the count for the character to the right of the cursor, while I would be inclined to count up to the characters to the left of the cursor. For example, when you move the cursor to the very beginning of a line, I would think it ought to say 0 because a blank line has no (visible) characters in it, but the Atom status bar shows 1.
I don't know if this should be refiled as a bug for, um, whatever package handles the line and character count status... But it does seem a little confusing to me.
—
Reply to this email directly or view it on GitHub.


Cannot add foreign key constraint for MySQL migration that tries to create foreign key pointing to non-PK and unindexed field

This schema:
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "mysql"
  url      = env("DATABASE_URL")
}

model A {
  id         Int          @id @default(autoincrement())
  custom_id  String
  B          B[]
}

model B {
  id        Int     @id @default(autoincrement())
  a_id String
  A         A @relation(fields: [a_id], references: [custom_id])
}

(Note how custom_id is not indexed at all [and also not unique, which might be invalid, see issue https://github.com/prisma/prisma/issues/13340)
leads to this migration SQL:
-- CreateTable
CREATE TABLE `A` (
    `id` INTEGER NOT NULL AUTO_INCREMENT,
    `custom_id` VARCHAR(191) NOT NULL,

    PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

-- CreateTable
CREATE TABLE `B` (
    `id` INTEGER NOT NULL AUTO_INCREMENT,
    `a_id` VARCHAR(191) NOT NULL,

    PRIMARY KEY (`id`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

-- AddForeignKey
ALTER TABLE `B` ADD CONSTRAINT `B_a_id_fkey` FOREIGN KEY (`a_id`) REFERENCES `A`(`custom_id`) ON DELETE RESTRICT ON UPDATE CASCADE;

Which on execution fails with:
Error: P3018

A migration failed to apply. New migrations cannot be applied before the error is recovered from. Read more about how to resolve migration issues in a production database: https://pris.ly/d/migrate-resolve

Migration name:<PHONE_NUMBER>3128_init

Database error code: 1215

Database error:
Cannot add foreign key constraint

Please check the query number 3 from the migration file.

Adding an index @@index([custom_id]) to A makes the migration pass.

This issue might become obsolete if https://github.com/prisma/prisma/issues/13340 is fixed by changing the validation.


eCapture consuming lot of memory

Describe the bug
eCapture is consuming huge amount of memory.
To Reproduce
Note: Output of command free -h may vary.

Checkout memory before starting eCatpure

file -h

               total        used        free      shared  buff/cache   available
Mem:            11Gi       3.8Gi       2.8Gi       1.1Gi       4.9Gi       5.7Gi
Swap:           15Gi       672Mi        14Gi

Start eCapture

sudo ecapture tls

In another terminal re-check the memory

free -h

               total        used        free      shared  buff/cache   available
Mem:            11Gi       6.3Gi       366Mi       1.1Gi       4.8Gi       3.2Gi
Swap:           15Gi       679Mi        14Gi

You will notice the huge amount of consumption

Expected behaviour
eCapture shouldn't consume that much memory.

This calculation is inaccurate. It's best to only look at the resource usage of this one process, eCapture.
For example, top -p $ECAPTURE_PID.

@cfc4n , I am investigating the issue. I will keep you updated.

Following are some details

While creating perf buffer, notice the size of perCpuBuffer

perCpuBuffer := os.Getpagesize() * BufferSizeOfEbpfMap
https://github.com/gojue/ecapture/blob/db7e37aa29167e22194ee75ad008417e482ed4a1/user/module/imodule.go#L192-L194

BufferSizeofEbpfMap is declared as
https://github.com/gojue/ecapture/blob/db7e37aa29167e22194ee75ad008417e482ed4a1/user/module/const_linux.go#L6-L8

Inside perf.NewReader(), buffer of perCPUBuffer size is allocated for each CPU by calling newPerfEventRing()

https://github.com/cilium/ebpf/blob/f0d238d1934f15fe8c5ef8755337be11bbc114e9/perf/reader.go#L225-L245

Per CPU Memory allocation inside newPerfEventRing() from line 45-49

https://github.com/cilium/ebpf/blob/f0d238d1934f15fe8c5ef8755337be11bbc114e9/perf/ring.go#L25-L49
Calculations
For my machine

os.Getpagesize() = 4096 (bytes)
BufferSizeOfEbpfMap = 10240 (bytes)
perCpuBuffer = os.Getpagesize() * BufferSizeOfEbpfMap = 41943040 (bytes) = 40 MB
Total CPUs = 8
Memory Allocated for 1 module = 40 * 8 = 320 MB
In case of ecapture tls 3 modules are initialised ,
therefore Memory allocated for ecapture tls  = 3 * 320 = 960 MB

Almost 1GB of RAM
fyi @cfc4n

Indeed, as you said, eCapture occupies a relatively large amount of memory.

BufferSizeOfEbpfMap = 40M  :  this is to prevent tls events from being lost. Many times, when network traffic is particularly high, it is easy to fill up the ebpf map.
per CPU :  per CPU type maps have better concurrency safety to avoid errors caused by data write order.
3 modules : This is indeed an area that can be optimized.

Currently, eCapture supports three libraries: openssl\nss\nspr; however, openssl has the highest usage and supports the most mature library compared to the other two which are more niche.
I plan to default close those two modules or create a new subcommand for separate support. Do you have any better ideas?

Regarding BufferSizeOfEbpfMap

this is to prevent tls events from being lost

I agree with this, but I think setting it to 40M by default is not a good idea.
I checked the tetragon implementation, I noticed following things;

BufferSize is user configurable. checkout and
By default it is set to 65535. checkout

So, I think we should do similar things,

Reduce the default size.
Make it configurable using a flag, so that end-user can adjust it as per need.

Regarding per CPU types map performance
I am having a little doubt about the performance of per-cpu-buffers
Give a read to:  https://nakryiko.com/posts/bpf-ringbuf

I plan to default close those two modules or create a new subcommand for separate support

Disabling unnecessary modules by default seems good idea
fyi @cfc4n

I will submit another PR for the custom mapSize flag.

fixed at #435
Terminal 1
sudo free -m
[sudo] password for cfc4n:
               total        used        free      shared  buff/cache   available
Mem:            3876         477         277           1        3121        3106
Swap:           3893           0        3893

#### exec ecapture at other terminal.
sudo free -m
               total        used        free      shared  buff/cache   available
Mem:            3876         513         240           1        3121        3069
Swap:           3893           0        3893

Terminal 2
sudo bin/ecapture tls

and , openssl module create 3 ebpf maps.
{
    Name: "tls_events",
},
{
    Name: "connect_events",
},
{
    Name: "mastersecret_events",
},

mapSizePerCPU = 5M
2 CPUS
3 eBPF maps

all eBPF maps used memory = 2 * 5 * 3 = 30MB.
now, eCapture used memory (include ebpf maps) = 513-477 ≈ 277-240 ≈ 36M .
As expected.


Inconsistent Scores with Example Inference Script

I am trying to run some evaluation but with the example scripts scripts/infer/run_inference_with_python.py I get different scores every time I run it.
My current hypothesis is that the weights of the custom_text_proj are randomly initialized and loading the adapter only adds a delta to the weights in form of the LoRA. Hence, the projection would be different every time I load the model. Could that be the case or is something else going on? How do I load or initialize the weights of the projection?

Yes that's exactly what's happening. 100% agree it's suboptimal (although not really hindering the perfs).
I'm going to update the code to export everything and not just the adapters, not as lightweight but at least reproducible and will push a full checkpoint. It's actually a lot more tricky than I thought with the PEFT library but I'll make it work and post here !

Hey - so everything should be deterministic now !
Would be awesome if you guys can confirm using this new model:
https://huggingface.co/vidore/colpali-v1.1
and the code in branch: https://github.com/illuin-tech/colpali/tree/hard-negs  (optional but should get you better performance and fixes a padding issue)
The base model version is fixed !


template has no poster, logo and audio binding

We should able to do it

Sorry for taking so much time to answer. I'm not fully sure, what you mean here:
The theme is now extracted and has it's own Gem: https://github.com/jekyll-octopod/jekyll-bootflat
I completely don't get, what you mean with poster, binding and template in this context. Please elaborate a bit more.

Feel free to follow up on this and reopen , meanwhile I close the issue.


1genome, more than one genome per species?

Thanks for preparing these files -- very helpful.
Now, I was working with the "sbdi-gtdb-sativa.r09rs220.1genome.assigntaxonomy.fna" file and noticed the some species contain more than a single entry. Would it be possible to clarify?
Thanks,
Dieter

That's not how it should work. Can you give me some examples?

Thanks. Below is some output of counting:
cat sbdi-gtdb-sativa.r09rs220.1genome.assigntaxonomy.fna | grep ">" | sort | uniq -c | awk '{$1=$1}1' | sort -nr -k 1,1

20 >Bacteria;Bacteria;Pseudomonadota;Gammaproteobacteria;Xanthomonadales;Xanthomonadaceae;Xylella;Xylella taiwanensis
20 >Bacteria;Bacteria;Pseudomonadota;Alphaproteobacteria;Rhodobacterales;Rhodobacteraceae;Sulfitobacter;Sulfitobacter sp029285175
20 >Bacteria;Bacteria;Pseudomonadota;Alphaproteobacteria;Rhodobacterales;Rhodobacteraceae;Marivita;Marivita cryptomonadis
20 >Bacteria;Bacteria;Chloroflexota;Dehalococcoidia;Dehalococcoidales;Dehalococcoidaceae;Dehalococcoides;Dehalococcoides mccartyi_B
20 >Bacteria;Bacteria;Bacillota_A;Clostridia;Clostridiales;Clostridiaceae;Clostridium;Clostridium chauvoei
20 >Bacteria;Bacteria;Bacillota;Bacilli;Lactobacillales;Listeriaceae;Listeria;Listeria monocytogenes_D
20 >Bacteria;Bacteria;Bacillota;Bacilli;Lactobacillales;Lactobacillaceae;Dellaglioa;Dellaglioa algida
20 >Bacteria;Bacteria;Actinomycetota;Actinomycetes;Mycobacteriales;Mycobacteriaceae;Rhodococcus;Rhodococcus sp019835985
19 >Bacteria;Bacteria;Spirochaetota;Leptospirae;Leptospirales;Leptospiraceae;Leptospira_A;Leptospira_A levettii
19 >Bacteria;Bacteria;Pseudomonadota;Gammaproteobacteria;Burkholderiales;Burkholderiaceae;Taylorella;Taylorella equigenitalis
So, some species contain 20 seqs, although I did not check whether these are distinct.
Dieter

Thanks! I'll have a look as soon as I can.


chore: bdd-spring-1575016879 to 0.0.1

chore: Promote bdd-spring-1575016879 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


asdf cannot find pip in python 3.10.4

did asdf reshim
set local python to 3.10.4
asdf list python works
python version is correct
asdf exec shows correct pip version
however, No preset version installed for command pip

log
^^/R/e/diffalarm >>> asdf reshim (126) (*minimal+1) 18:00:01
^^/R/e/diffalarm >>> asdf list python  (*minimal+1) 18:00:12
  3.10.4
  3.11.0rc2
  3.6.15
  3.6.7
  3.7.9
^^/R/e/diffalarm >>> asdf local python 3.10.4
^^/R/e/diffalarm >>> python -c "print('Hello World!')"
Hello World!
^^/R/e/diffalarm >>> pip               (*minimal+1) 18:00:41
No preset version installed for command pip
Please install a version by running one of the following:

asdf install python 3.10.4

or add one of the following versions in your config file at /home/scarf/Repo/etc/diffalarm/.tool-versions
python 3.11.0rc2
python 3.6.15
python 3.6.7
python 3.7.9

^^/R/e/diffalarm >>> asdf exec python3 -m pip --version
pip 22.2.2 from /home/scarf/.local/lib/python3.10/site-packages/pip (python 3.10)
^^/R/e/diffalarm >>> python --version  (*minimal+1) 18:01:15
Python 3.10.4
``

Thank you for reporting this! I have the same issue which, by the way, seems related to the whole 3.10.x series, since even version 3.10.0 installed by asdf python plugin has the same bug/anomaly.

same here, back to 3.9.15 for now

I found the solution (in my case) with the related issue , where I run this command to install the pip asdf exec python -m pip install -U pip (this works for me).
The mentioned issue was created in Jan 18. This is a very old problem.

I've got the same issue here, i'm trying to use latest version (current 3.11.2)

The same, but with python 3.9.2 !

I have the same problem with python 3.10.6


guesser_py modified

Description
In the current implementation, the pyttsx3 text-to-speech engine is initialized inside the speak() function every time it is called. This leads to unnecessary repeated initialization of the engine, which causes performance degradation and introduces noticeable delays in speech output. The bug also results in inefficient resource management, as new engine instances are created repeatedly instead of reusing a single instance.
closes #370
🔍 Steps to Reproduce
Run the Program:
Execute the provided code that uses pyttsx3 for speech synthesis and speech_recognition for voice input.
Initiate a Conversation:
When prompted by the program, start interacting by answering questions.
Each time the program speaks (via the speak() function), observe the delay between the text prompt and the speech output.
Observe Speech Delays:
Notice the delay in the time it takes for the program to speak after each prompt (e.g., asking "Is it an animal?" or making a guess).
💡 Expected Behavior
Expected Outcome:
Noticeable delays between prompts and speech output.
Increase in memory and CPU usage over time due to repeated engine initialization.

There is conflicts

shall i modify and raise another pr

There is conflicts

There is conflict


[Scheduled Maintenance] Site down for Maintenance

Additional context
伺服器維護

Resolved: 熱處理及工業物聯網技術專區 is back up in 6c6d488 after 2 days, 19 hours, 57 minutes.


求翻译

头疼，全是英语，看不懂啊

Hey and thanks for posting this! This issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.


(DataDriven) afterScenario is called although scenario is not executed yet

I have a scenario outline like below where I use read() to read a CSV file
Scenario Outline: Filter fleet list
    Given path 'accounts'
    And params { accountType: <accountType>, status: <status> }
    When method get
    Then status 200

    Examples:
      |read('data/FilterList.csv')|

And in Background, I configure a afterScenario to clean up DB after scenario ran
* configure afterScenario = function(){karate.call('classpath:util/database.feature@DeleteFleet');}

Run the test and afterScenario is ran before the scenario, hence making the test fails
14:55:23.088 [pool-1-thread-1] INFO  util.DbUtils - init jdbc template: <url>
14:55:23.101 [pool-1-thread-1] INFO  com.intuit.karate - scenario called at line: 19 by tag: @DeleteFleet
14:55:23.113 [pool-1-thread-1] ERROR com.intuit.karate - feature call failed: classpath:util/database.feature
arg: null
database.feature:21 - evaluation (js) failed: 'SELECT fleet_id FROM fleet_meta_data where fleet_name = ' + "'" + fleetName + "'", javax.script.ScriptException: ReferenceError: "fleetName" is not defined in <eval> at line number 1
stack trace: jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:477)

This issue does not occur if I draw a table in Examples instead using read()
    Examples:
    | accountType | status |
    | STANDALONE  | ACTIVE |
    | PARENT      | ACTIVE |

@dhoanglong91 to re-open, please follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue


__webpack_hmr 404 (Not Found)

Sorry, extremely new here to everything. Everything's working fine in localhost:3000, but once I run 'npm run compile' and uploaded the files under /dist folder into a directory in a ftp server, the message "__webpack_hmr 404 (Not Found)" keeps appearing several times inside the console. Not only that, it seems the routes are no longer working - which is probably associated with this error. Any idea what I might be doing wrong?

Try running npm run deploy:prod and serving those files. If you compile the application to disk in development mode, it will be configured to look for HMR code. This should probably be better than it is, but it's a simple fix regardless.

Run into a few es lint problems but got that fixed. Works like a charm, thank you so much!! Especially for this starter kit - awesome work!!!


Unable to verify a Firebase ID Token

Environment :
    "kreait/laravel-firebase": "^3.1",
    "google/cloud-firestore": "^1.19",
    "laravel/framework": "^6.0",

and followed the example available at : https://firebase-php.readthedocs.io/en/latest/authentication.html
Output
The token is invalid: A key with ID "" could not be found.
    $uid = 'some-uid';
    $customToken = $auth->createCustomToken($uid);
    $customTokenString = $customToken->toString();
    try {
        $verifiedIdToken = $auth->verifyIdToken($customTokenString);
        dd($verifiedIdToken);
    } catch (\Firebase\Auth\Token\Exception\InvalidToken $e) {
        echo 'The token is invalid: '.$e->getMessage();
    } catch (\InvalidArgumentException $e) {
        echo 'The token could not be parsed: '.$e->getMessage();
    }

The verifyIdToken() method can only be used with ID tokens, not with custom tokens. 🙈 😅

@jeromegamez - Thanks for the reply.
Well , I am a newbie in firebase. I am using firebase Authentication with provider -Email/Password.
I am Using function createUserWithEmailAndPassword for creating users. I need a way to authenticate users in Laravel middleware. Please help.

I can definitely sympathize, but unfortunately, I'm unable to provide free 1:1 support here, especially since this package doesn't provide a "native" functionality, but is just an integration layer between the Firebase Service by Google and PHP.
That's why I can not help learning about Firebase here, and only suggest to dig into the Firebase documentation (this SDK's docs link to a lot of the official docs).
In General you should know (and it's also written in the docs) that the Admin SDK performs all operations with Admin privileges. User operations should happen in the client, where user permissions are handled within the client SDK automatically.
If you want to map users in your application to users in Firebase, you can sign them in in the client, send their ID token to your backend and extract the Firebase user ID from the ID Token and store the Firebase UID in your Laravel Application's database and/or check against already mapped users.
There are plans for this package to make integrating Firebase with Laravel easier, but I don't have the time for this at the moment and thus can't give you an ETA right now.
But I invite you to join the discord server mentioned in the readme, if you have concrete steps that you are stuck with, there's a couple of people that might be able to help. 🤞

I'm closing this issue because items not related to a bug in the package or the SDK, but feel free to add further comments if you wish to 🤗


Use yarn resolution to force upgrade bn.js to 5.2.1

Why
bn.js was imported 4 different times and it's quite heavy. Using yarn resolution to force upgrade to the latest version reduces the bundle size by ~0.20 MB
How
Use yarn resolution to force upgrade bn.js to 5.2.1
Test Plan
Test the web3 actions on the web app. The native app shouldn't be impacted because we use react-native-bignumber

LGTM 🔥


♻ refactor: Refactor User entity

Pull Request Test Coverage Report for Build #104

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

Totals

Change from base Build #102:
0.0%

Covered Lines:
372

Relevant Lines:
373

💛  - Coveralls


Should react to written commands

This is a great extension. But it should be possible to have it to react to written commands, because I do not wan't to disturb other developers.
When hitting some different key combination like Alt+F2, it should open a window with a text box and auto-complete suggestions; similar to Ubuntu's HUD, Gnome-Do, or Synapse.

Visual Studio 2012 and newer already have that, with no extension required. It's called Quick Launch. Hit Ctrl+Q and start typing.


⚠ SceneTime has degraded performance

In 6177e55, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1376 ms

Resolved: SceneTime performance has improved in 12bd1a1 after 6 minutes.


RESOLVE ALL permission missing in snowflake_account_grant

Provider Version
0.66
Terraform Version
1.4
Describe the bug
When trying to grant RESOLVE ALL with the snowflake_account_grant resource, the following error is returned:
Error: expected privilege to be one of [MANAGE GRANTS APPLY TAG CREATE DATABASE EXECUTE TASK PURCHASE DATA EXCHANGE LISTING CREATE DATA EXCHANGE LISTING CREATE FAILOVER GROUP MONITOR EXECUTION MONITOR USAGE MONITOR SECURITY MANAGE ORGANIZATION SUPPORT CASES APPLY ROW ACCESS POLICY CREATE ACCOUNT CREATE INTEGRATION AUDIT OVERRIDE SHARE RESTRICTIONS EXECUTE MANAGED TASK IMPORT SHARE MONITOR APPLY MASKING POLICY APPLY SESSION POLICY CREATE WAREHOUSE PROVISION APPLICATION APPLY PASSWORD POLICY CREATE SHARE CREATE USER CREATE CREDENTIAL CREATE NETWORK POLICY ALL PRIVILEGES MANAGE USER SUPPORT CASES ATTACH POLICY CREATE ROLE MANAGE ACCOUNT SUPPORT CASES], got RESOLVE ALL

In the Snowflake console, the following SQL statement is however valid: grant resolve all on account to role SOME_ROLE_NAME;
RESOLVE ALL permission on a role is required for instance to see schemas (which are not owned by the role, but to which the role might have USAGE permissions)
Expected behavior
RESOLVE ALL is accepted as value for the privilege key in snowflake_account_grant
Code samples and commands
resource "snowflake_account_grant" "some_role_grant" {
  roles             = ["SOME_ROLE"]
  privilege       = "RESOLVE ALL"

  with_grant_option = false
}

Created PR: https://github.com/Snowflake-Labs/terraform-provider-snowflake/pull/1861

Hey 👋
Closing the issue as it's referring to the deprecated resource and we're not supporting them. Please, try to use the latest provider version with the non-deprecated resources (e.g. snowflake_grant_privileges_to_account_role). If the issue persists on the non-deprecated resource, please create a new GitHub issue. The migration guide may help during migration to the latest resources.


Vue Implementation

I get this screen

But I can't continue... I press Continue but nothing does...
Somebody can help me?

the same for me, no errors at all

same here

Hi, guys.
I found this issue on apple forum: https://developer.apple.com/forums/thread/651533
I don't test it in real device yet, but I think it would be a problem with de simulator.


Restructure/Optimize the ansible-runner Dockerfile

Is this a BUG REPORT or FEATURE REQUEST?
Choose one: BUG REPORT or FEATURE REQUEST

What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:

Fixed by #833


Introduce support for mxfp4 data type for OV weight compression

What does this PR do?

Added a new possible value for --weight-format CLI argument: mxfp4.
Added weight_format parameter to OVWeightQuantizationConfig with three possible values: int4, int8 and mxfp4. The latter is used for compression with mxfp4 E2M1 mode.
Added a couple of tests for compression with the new data type. Had to add quite a bit of logic to extend test infrastructure to work with data types other than int4/int8.
Deprecate "int4_sym_g128", "int4_asym_g128", "int4_sym_g64", "int4_asym_g64" values for --weight-format CLI argument, as planned before.

Example Usage
Optimum CLI:
optimum-cli export openvino -m facebook/opt-125m --task text-generation-with-past --weight-format mxfp4 ./tmp

Optimum Python API:
model = OVModelForCausalLM.from_pretrained(
    model_id="facebook/opt-125m",
    export=True,
    quantization_config=OVWeightQuantizationConfig(bits=4, weight_format="mxfp4"),
)

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@AlexKoff88 @MaximProshin please take a look

Left couple of minor comment

Thanks! Updated.


Update specs2-core, specs2-mock to 4.12.10

Updates

org.specs2:specs2-core
org.specs2:specs2-mock

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

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

labels: test-library-update, semver-minor

Superseded by #421.


Random Field Theory Function

Sometime around August I posted a question about performing VBM analyses on the sourceforge discussion forum for ANTs. At the time I was trying to transition our lab from using the SPM toolbox in Matlab to ANTsR. Dr. Avants responded with suggestions to make the SCCAN technique work for us.. He also mentioned that development of SPM like functions might be welcome. Without going into too much detail, after reading more on the topic I realized that it would be beneficial to be able to implement some of the statistical techniques utilized in SPM into R.
Since then I've spent a significant amount of time developing several functions that could implement random field theory into R. I've relied heavily upon Worsley et al.'s 'A unified statistical approach for determining significant signals in images of cerebral activation to implement some math that has resulted in comparable results to SPM.  It's still not entirely complete but I have designed the functions to work within ANTsR. I was wondering if this might be something you want to include in ANTsR.

that would be a fantastic contribution.  it would be truly ideal if you can implement roxygen2 documentation for each contributed function that includes examples, authors (yourself) and references to worsley.  ideally, the examples should be fast and self-contained and should illustrate usage clearly to the reader.   see https://github.com/stnava/ANTsR/blob/master/R/eanatDef.R#L1-L35 as a guide or, better, examples written by hadley wickham.  if you could do this via pull request, even better.  let me know if you need further feedback & glad to hear you have progress and agree with the principle of moving away from matlab and toward R for stats in medical imaging.

This would be fantastic!  There are a bunch of optimized ITK functions
available for getting connected regions which may also be of use -- let us
know if you need some help using them.
2015-12-01 13:23 GMT-05:00 stnava<EMAIL_ADDRESS>
that would be a fantastic contribution. it would be truly ideal if you can
implement roxygen2 documentation for each contributed function that
includes examples, authors (yourself) and references to worsley. ideally,
the examples should be fast and self-contained and should illustrate usage
clearly to the reader. see
https://github.com/stnava/ANTsR/blob/master/R/eanatDef.R#L1-L35 as a
guide or, better, examples written by hadley wickham. if you could do this
via pull request, even better. let me know if you need further feedback &
glad to hear you have progress and agree with the principle of moving away
from matlab and toward R for stats in medical imaging.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/62#issuecomment-161054114.

If you could package your changes as a fork (
https://help.github.com/articles/fork-a-repo/), you can submit a pull
request easily (https://help.github.com/articles/using-pull-requests/).
2015-12-01 15:28 GMT-05:00 Ben Kandel<EMAIL_ADDRESS>
This would be fantastic!  There are a bunch of optimized ITK functions
available for getting connected regions which may also be of use -- let us
know if you need some help using them.
2015-12-01 13:23 GMT-05:00 stnava<EMAIL_ADDRESS>
that would be a fantastic contribution. it would be truly ideal if you
can implement roxygen2 documentation for each contributed function that
includes examples, authors (yourself) and references to worsley. ideally,
the examples should be fast and self-contained and should illustrate usage
clearly to the reader. see
https://github.com/stnava/ANTsR/blob/master/R/eanatDef.R#L1-L35 as a
guide or, better, examples written by hadley wickham. if you could do this
via pull request, even better. let me know if you need further feedback &
glad to hear you have progress and agree with the principle of moving away
from matlab and toward R for stats in medical imaging.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/62#issuecomment-161054114.

I'll get started on putting together the documentation and examples. I've only briefly looked at the possibility of using ITK. This is because I don't really understand C++ code and because the only function  I've needed that isn't already in the ANTsR package is calculating resels. The calculation of which requires a very specific evaluation of each voxel in relation to its neighbor voxels. I've developed an R function that can evaluate it, but if ITK can do it better that'd be great.

one other thought - keep your function examples clear and concise.  then
put together a vignette (that should still be fast) but that shows a more
complete statistical mapping example linking together your different
functions.
brian
On Tue, Dec 1, 2015 at 6:09 PM, Tokazama<EMAIL_ADDRESS>wrote:

I'll get started on putting together the documentation and examples. I've
only briefly looked at the possibility of using ITK. This is because I
don't really understand C++ code and because the only function I've needed
that isn't already in the ANTsR package is calculating resels. The
calculation of which requires a very specific evaluation of each voxel in
relation to its neighbor voxels. I've developed an R function that can
evaluate it, but if ITK can do it better that'd be great.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/62#issuecomment-161126756.

One issue I haven't yet resolved is how to acquire an estimate of smoothing in cortical thickness.

I've most likely finished the bulk of what exclusively relates to random field theory and done some rudimentary comparisons against SPM here to ensure the functions perform accurately. Most of the function specific documentation is complete and I'm currently finishing up fixing some of the naming to better fit with ANTsR. I also need to establish a complimentary method of fitting models within R before I put together a good vignette. My understanding is that the standard in most software has been drawn from Friston et al., (2002) Classical and Bayesian Inference in Neuroimaging: Theory. Unless you have any suggestions my plan is to attempt to develop something like this.
Also, I'm interested in Ben's suggestion of using ITK to speed things up. I've been studying up on C++ and quickly put together a script using RcppArmadillo for calculating resels. However, I hesitate to add more dependencies if ITK has an equal or better method of doing it. Is there any functionality in ITK I could look into that might be better. For reference, the equivalent R based function is here and basically uses subsets of arrays to determine relationships between voxels.

i did not read the code very closely but the main comment is this:  it would be ideal if it was implemented in an N-dimensional manner.   and preferably without if statements.  the operations look very straightforward so it should not be too difficult.  i would recommend keeping your reference implementation until you can figure out a faster/validated N-D version.    using ITK is likely to be the easiest way to implement in ND.   see https://github.com/stnava/ANTsR/blob/master/src/smoothImage.cpp for an example of how to pass data back and forth.   image iterators in ITK and/or filters (Add, subtract, multiply) are fast ways to do this and, if  you use filters to add / multiply / subtract, then you get the added bonus of multi-threading.  @jeffduda may be a good person to consult for implementation details.

Happy to help with Rcpp/ITK integration. If no existing filters are
suitable then it's probably worth writing one rather than using iterators,
due to the multi-threading bonus.
On Thu, Mar 10, 2016 at 7:11 AM, stnava<EMAIL_ADDRESS>wrote:

i did not read the code very closely but the main comment is this: it
would be ideal if it was implemented in an N-dimensional manner. and
preferably without if statements. the operations look very
straightforward so it should not be too difficult. i would recommend
keeping your reference implementation until you can figure out a
faster/validated N-D version. using ITK is likely to be the easiest way to
implement in ND. see
https://github.com/stnava/ANTsR/blob/master/src/smoothImage.cpp for an
example of how to pass data back and forth. image iterators in ITK and/or
filters (Add, subtract, multiply) are fast ways to do this and, if you use
filters to add / multiply / subtract, then you get the added bonus of
multi-threading. @jeffduda https://github.com/jeffduda may be a good
person to consult for implementation details.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/62#issuecomment-194815488.

@Tokazama minor documentation issue visible here https://s3.amazonaws.com/archive.travis-ci.org/jobs/119613813/log.txt

Documented arguments not in \usage in documentation object 'statFieldThresh':
  â€˜maskâ€™

looks to be related to functionality that may not be implemented ... mask is referenced in 	\item{pRFT: }


Multi Head Attention primitive

This is a suggestion to add native optimized support for the "Multi Head Attention" layer, at least the forward pass for at least CPU.

Refs :
https://arxiv.org/abs/1706.03762
https://lilianweng.github.io/lil-log/2018/06/24/attention-attention.html#multi-head-self-attention
https://docs.nvidia.com/deeplearning/sdk/cudnn-developer-guide/index.html#cudnnMultiHeadAttnForward
The linear layers should be doable with inner products and the DPA (Dot Product Attention) op implies some matrix multiplications, eltwise exp, and a logsoftmax norm.

Steps to reproduce
Implement a MHA (fwd) with MKLDNN.
Actual behavior
No multi_head_attention primitive
Expected behavior
A mkldnn::multi_head_attention primitive

@WilliamTambellini, all building blocks (except for applying 'mask') are present in MKL-DNN as primitives(softmax, concat, inner product) and the Multi-head attention can be implemented using these primitives. Do you know any particular performance optimizations that a combined multi-head attention primitive can do and thus bring improvement vs stacking the existing primitives?

Hello @irinasok  Well, I have indeed seen some optimizations from nvidia overthere :
https://devblogs.nvidia.com/nlu-with-tensorrt-bert/

Now I don't state that these optim would be worth it for a 'regular' cpu. And these optims are probably doable with a regular stack of some current mkldnn primitives.
Still, there would be some advantages for mkldnn to offer a native MHA :

ease of use for end users : the cudnn MHA primitive allows to run forward in only 1 api call
intel gpu optimizations : I guess for gpus, fusing some kernels at least in self attention is worth it

Anyway, if you think MHA  is not worth to be implemented in mkldnn, no worry, please just close that item.
Kind
W.


[macOS] Copy Shortcut does not work if TextField outside of WebView has focus

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When a user has focus on a Flutter TextField and tries to copy text from a WebView, nothing gets copied.
I attempted to fix this issue by adding the following code:
onWindowFocus: (
    FocusScope.of(context).unfocus();
},

This solution worked for the first copy, but it didn’t consistently resolve the problem afterward.
Expected Behavior
Copy should work without any extra code outside of InAppWebView
Steps with code example to reproduce

Steps with code example to reproduce
I could reproduce the issue on with example from: https://github.com/pichillilorenzo/flutter_inappwebview/blob/master/flutter_inappwebview/example/lib/in_app_webiew_example.screen.dart

Start The Example project (I used MacOS)
Click in Url TextField
Try to copy something from the WebView. Don't click anything else to not remove the focus from the textfield manually
Try paste copied text

Stacktrace/Logs

Stacktrace/Logs
<Replace this line by pasting your stacktrace or logs here>

Flutter version
3.24.3
Operating System, Device-specific and/or Tool
macOS
Plugin version
6.1.5
Additional information
No response
Self grab

[ ] I'm ready to work on this issue!

It seems there is an issue with the native Flutter PlatformView itself on macOS!
The same problem occurs also with the webview_flutter plugin, so you should open a new issue to the official Flutter repository.
In the meantime, I was able somehow to create a workaround for it on the native side, but this is something that should be fixed natively on Flutter itself.
This workaround should be available in the next 6.2.0 version

Released new version 6.2.0-beta.1.


add Sonos Five

Thanks for measuring and the PR.
These speakers have a really high power output. I'm doubting a littebit if we want to add these to the powercalc library, as I am not certain if it will give a good estimation.
Maybe it's a good idea to stream some various kind of music on max power level, and measure the average power during that time. Let's see if this is quite comparable to the figures we got with pink noise.
When you are not able to do it I might be as we also have these speakers at work.
For example let's assume we got the following figures with 3 totally different songs:

110
98.5
113

Or we get the following:

175
70
156

The first example would be acceptable for me as it will give a good indication and kWh calculation would also be quite realistic.
But on the second example the kWh could potentially be double or half the amount which is used in reality.
You can record the average like this:
docker run --rm --env-file=.env  bramgerritsen/powercalc-measure:master average 120
Which measures for 2 minutes.

@NicoLeOca did you see my comments?

@bramstroker
I did
Sorry I did not reply. I have been praising for an empty house for a week to run this test now... hopefully tomorrow

Thanks. No worries.. take your time.

So in order for the obtained data to be comparable, we must have common sound samples in all measurements.
Nice example is file with pink noise linked here:
https://github.com/bramstroker/homeassistant-powercalc/issues/1236#issuecomment-1306814837
Of course, this won't fully represent typical music listening, but it should give a fairly good approximation of (at least maximum) power.
This requires a bit more extensive testing as it is difficult to assess the actual power density in this file compared to a real "average" piece of music as it obviously depends on how the files were mastered.

Yes that's something I suspected. This confirmed my suspicion that we cannot reliably guess average consumption with a speaker with such a high output wattage, only based on volume.
For the google home devices etc I did some testing and the playing of actual music vs pink noise had quite similar average results.
But the higher the speaker output the bigger the error percentage will be.
So for this device the actual consumption could be half or double the amount that powercalc calculates.
One thing that I noticed in the log output above is same values are repeated.
i.e.
2023-04-17 11:15:31,263 [INFO] Measured power: 74.8
2023-04-17 11:15:34,279 [INFO] Measured power: 74.8
2023-04-17 11:15:37,291 [INFO] Measured power: 74.8
2023-04-17 11:15:40,301 [INFO] Measured power: 74.8
2023-04-17 11:15:43,316 [INFO] Measured power: 74.8
2023-04-17 11:15:46,328 [INFO] Measured power: 74.8

So it seems to me your powermeter is not updating frequently enough. This is a commonly known problem with Zwave / Zigbee devices. In that sense they are not perfectly suitable for powercalc measurements.
I  have the same device at my office so will do some testing myself with Shelly plug, to see which averages I get when playing some random music on highest volume level in comparance to pink noise.

Was any progress made on this PR? I have a few Sonos Fives I'd like to add to Powercalc 👍


The two text field questions are showing up in the middle of the question form

Reported by @dasaderi after the June 15, 2020 deployment

After investigating git blame, it looks like those two text-field questions were moved there back in April by another developer. It's very easy to move it back, but just wanted to bring this into attention, in case the text-fields were moved to where they are now for another reason.


Issues searching for unusual characters

Found some unexpected behavior when searching for the characters Ö and Â (which appear on cards Bösium Strip and Khârn the Betrayer).
—If a search has zero results, the result message does not display the unusual character: '0 combos where cards have a value containing "Bsium".'
—If the search ONLY contains unusual characters (searching for "â"), I get the response "No valid search parameters submitted"
However, a search for "Khârn" does correctly lead to the one Khârn combo on site. (There are no Bösium combos on site but I can easily add one to test.)
====
Firefox 104.0.2 for MacOS 11.6.5.

This also applies to the character ñ which appears on Robo-Piñata.

Solved in next release (already available for preview)


fix(scripts) add missing quotes

Add missing quotes to the scripts to avoid errors
Add missing shell command to top of publish_dict.sh

Improve code quality by checking the scripts with ShellCheck
These issues should be fixed with this Git commit:
In publish_dict.sh line 1:
echo Publish $1
^-- SC2148: Tips depend on target shell and yours is unknown. Add a shebang.
             ^-- SC2086: Double quote to prevent globbing and word splitting.

In publish_dict.sh line 2:
cd $1 && npm run publish-patch
   ^-- SC2086: Double quote to prevent globbing and word splitting.

In publish_langs.sh line 19:
    echo Running: ./scripts/publish_dict.sh $i
                                            ^-- SC2086: Double quote to prevent globbing and word splitting.

In publish_langs.sh line 20:
    ./scripts/publish_dict.sh $i
                              ^-- SC2086: Double quote to prevent globbing and word splitting.

In addition to those in the Git commit, ShellCheck also found this (but I was not sure how to fix it):
In publish_langs.sh line 9:
read -p 'Proceed y/N: ' keepgoing
^-- SC2162: read without -r will mangle backslashes.

Related notes from ShellCheck wiki tell more about the problem:
https://github.com/koalaman/shellcheck/wiki/SC2162

Thanks for running it through ShellCheck. I was unaware of it.
The fix for the read is just adding -r


Feat: Refine the concept part of the documentation to maintain brevity and precision

What would you like to be added?

[ ] Eliminate extraneous details to focus on the main concept.

[ ] Add an outline to the content structure to make it easier to understand, a resource relationship diagram will be a plus.

Why is this needed?
To help improve user experience.

Dupe of #1221. Closing


How can I use this to set the lang to leaflet-routing-machine?

How can I set the lang to 'pt-BR' using osrm-text-instructions to  leaflet-routing-machine?
Someone has a sample to share how to do this.
                waypoints: [
                    L.latLng(57.74, 11.94),
                    L.latLng(57.6792, 11.949)
                ],
                language: 'pt-BR',
            }).addTo(map);

Thanks.

This is the question mostly to leaflet-routing-machine, isn't it? :wink:

Sorry, I will change the topic to  leaflet-routing-machine.


vite-wasm-plugin does not work with serviceworker

When trying to build a service worker that imports Webassembly I get the same error as if vite-plugin-wasm is not there:

"ESM integration proposal for Wasm" is not supported currently. Use vite-plugin-wasm or other community plugins to handle this. Alternatively, you can use .wasm?init or .wasm?url. See https://vitejs.dev/guide/features.html#webassembly for more details.

Building for developement does not throw an error but there is no serviceworker present.
Without the wasm import everything works just fine.
The config looks like this:

Am I configuring this wrong, is it a problem with VietPWA or is it a problem with the wasm plugin.

Update:
It works (at least for production builds) when providing the plugins directly to vite's build function inside src/modules.tsx of VitePWA.

configured plugins should be added to Vite's plugins entry, we need another entry

It works (at least for production builds) when also providing the plugins directly to vite's build function inside src/modules.tsx of VitePWA.

does the sw work running the app via local preview? what's the top level await plugin?
I'm going to add a new vitePlugins option in this PR: https://github.com/vite-pwa/vite-plugin-pwa/pull/629

do you have a reproduction where I can test the changes?

@ffreddow can you test with new v0.18.0 version using injectManifest.buildPlugins.vite?

I created  reproduction repository (https://github.com/ffreddow/vite-pwa-plugins-test).
I still get the same error when running the dev server. The production build looks fine when staring at it but something doesn't work out with the preview (probably because of a dynamic import, which is afaik forbidden in a serviceworker, so I guess that's not a problem with VitePWA).

You need to register both plugins in vite and inject manifest vite plugins: in dev, the pwa plugin will use vite (no build) and so you need both plugins in vite, on build, pwa plugon will use a new vite build from the api, the build will not use main vite plugins it will use the configured inject manifest vite plugins


Dynamically resize y-axis range

For the first two plots:  The y-axis range does not resize as expected for the original and Gundersen versions.  Whatever fix done for Marshfield should be applied to these.

Dynamically resize y-axis range.
Commit: 050729b462b3147d7709a53dd4301c99ce36ecc6 and 638471cddd9250b3fe943a1757912badf42b9248

The axes are not resizing on the first two Gundersen plots.

Just updated RStudio Connect.

The y-axis does not resize on the metro area plots.

Just updated RStudio Connect for metro area plots.
Previously updated RStudio Connect for Gundersen plots.
@SteveGoldstein Please confirm for both plots.

Confirmed:  both plots look good!