automated arm/v7 and arm64 builds for alpine and linux built using docker buildx and github actions

This pull request adds a GitHub action that uses docker buildx for generating binaries for the following platforms.

node16-linux-armv7
node16-linux-arm64
node16-alpine-armv7
node16-alpine-arm64
node15-linux-armv7
node15-linux-arm64
node15-alpine-armv7
node15-alpine-arm64
node14-linux-armv7
node14-linux-arm64
node14-alpine-armv7
node14-alpine-arm64
node13-linux-armv7
node13-linux-arm64
node13-alpine-armv7
node13-alpine-arm64
node12-linux-armv7
node12-linux-arm64
node12-alpine-armv7
node12-alpine-arm64
node11-linux-armv7
node11-linux-arm64
node11-alpine-armv7
node11-alpine-arm64
node10-linux-armv7
node10-linux-arm64
node10-alpine-armv7
node10-alpine-arm64

The binaries will also be deployed by using node-pre-gyp publish.
An example build can be seen here: https://github.com/n1ru4l/node-sqlite3/actions
TODO:

[x] Only trigger GitHub action upon pushing a tag (e.g. v5.0.0)
[ ] Enable GitHub Actions on this Repository (repository maintainer)
[ ] Set AWS_SECRET_ACCESS_KEY and AWS_SECRET_ACCESS_KEY github secrets (repository maintainer)

Nice! Node 10 is still LTS maintenance, would you consider including it?

@tkurki done 😊

Nice work! Would it be difficult to add Windows ARM64 support here?

@MehediH i think that would be something for a different pull request. AFAIK it is not possible to emulate arm64 Windows with docker so it would require us relying on some other method.

@kewde Could you please take a look at this and provide some feedback 😊

Any updates on this PR? When can we expect to get the prebuilt binaries for ARM?

Would be sad to see @n1ru4l's work not make it in. 😢  Sqlite is perfect for ARM! 👍  @kewde is this being considered?

Repository owners only need to setup the credentials as github action secrets and merge this PR.
Ideally I would also prefer using Github releases for hosting the built binaries instead of a S3 bucket that cannot be browsed 😅.
So if a maintainer is reading pls also consider checking out https://github.com/mapbox/node-pre-gyp/issues/509 I would also implement that Github mirror feature.
But right now TBH I am not willing to put in the work if it never gets reviewed...
Mapbox please consider allocating more time for maintaining your open source projects...

@kewde Is there anything we can do to help with this? Not having it is causing a lot of pain when deploying to AWS on the Graviton systems.

Any progress in merging this?
Note linux/arm64 binaries are very important for the upcoming Docker Desktop for Apple Silicon M1 as those will run natively there.

In the meantime does anyone have any examples of how to self-host these binaries? I'd assume one could run the build, post the binaries on S3/local folder and pass in some kind of config or override to use the mirror/cache?

Really hope this will be merged soon, there is a huge need for arm64 binaries.

Can anybody accept this PR and finalise the arm64 binary publishing?
it is really hard needed https://github.com/mapbox/node-sqlite3/issues/1413#issuecomment-809512401
@nickrum, @kewde

travis supports arm64 architectures as well now, if keeping everything in travisci is the sticking point
https://docs.travis-ci.com/user/multi-cpu-architectures/

ARM64 binaries would be amazing! Looking forward to this being merged

@n1ru4l Thanks soooo much!

@kewde can you please review/merge this PR?

Can anybody accept this PR and finalise the arm64 binary publishing?
it is really hard needed #1413 (comment)
@nickrum, @kewde

So, what's the progress now?

After 14 months, Can someone PLEASE merge this? @kewde @kkaefer @orlandov @springmeyer

请为 arm32添加二进制文件
@nickrum，@kewde

@n1ru4l  How to solve this error when compiling to the end
Setting up libpython-stdlib:armhf (2.7.13-2) ...
Setting up dpkg-dev (1.18.25) ...
Setting up python (2.7.13-2) ...
Setting up gcc (4:6.3.0-4) ...
Setting up g++ (4:6.3.0-4) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.3) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...

apt-get clean
NVM_VERSION=v0.33.8
NODE_VERSION=--lts=carbon

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh
bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused

which nvm
. /root/.bashrc
The command '/bin/sh -c echo "#log: ${project}: Setup system"   && set -x   && apt-get update -y   && apt-get install -y   curl   sudo   build-essential   python   && apt-get clean   && NVM_VERSION="v0.33.8"   && NODE_VERSION="--lts=carbon"   && curl -o- https://raw.githubusercontent.com/creationix/nvm/${NVM_VERSION}/install.sh | bash   && which nvm || . ~/.bashrc   && nvm install ${NODE_VERSION}   && nvm use ${NODE_VERSION}   && sync' returned a non-zero code: 1
Command exited with non-zero status 1
0.56user 0.10system 1:05:35elapsed 0%CPU (0avgtext+0avgdata 56700maxresident)k
6592inputs+0outputs (31major+7507minor)pagefaults 0swaps

Any updates? 🙏

we need this
Jess Julian Nielsen @.***> 于2022年1月31日周一 14:55写道：

Any updates? 🙏
—
Reply to this email directly, view it on GitHub
https://github.com/mapbox/node-sqlite3/pull/1362#issuecomment-1025432446,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADE2EXFK5WWR4COK75UAESDUYYW6LANCNFSM4PDVQDZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Hey all! 👋🏻 Ghost recently took over maintenance of node-sqlite3 and I've spent some time updating CI.
Prebuilds are now completely done in GitHub Actions so this PR was perfect to add support for ARM. I've rebased the PR, merged it with what we've currently got, fixed up a few issues and I've just pushed it to master! 🎉 It'll be released soon 🙂
One problem - I ran into this issue with node-pre-gyp. In short, armv6 and armv7 are not differentiated, so building on armv7 will generate an {arch} of arm. For now, I've disabled armv* until we can sort that out.
💯 credit to @n1ru4l for the PR - thanks a lot 🕺🏻
PS. if anyone knows of a magical way to speed up cross-compilation in GitHub Actions, let me know! The ARM builds are currently taking ~40mins so I've had to disable them for every push and only run them on releases 🐌

Released in v5.0.4 🙂


Walkable Tail and some Defense

Implements #120 and #123.
To make our tail walkable we just keep track of our length from the previous turn. If we grew then we know we ate so don't make our tail walkable. If we didn't eat then our tail is going to move with our head.
For #123 I just upped the cost to 10 for cells next to larger snakes heads. I just pulled this number out of the air. We will probably need to tweak it as we watch its behavior.

Snuck another change in here that attempts to make sure we always have a target cell that we can create a path too so we don't panic and default move.


[Distro Request]

Sir/Maam Can You Add A Distro In Neofetch

here is the logo

Please reopen with more information.

What All Information Do I Have To Give


Allow 'private macro' inside classes

I know Crystal has file-level private macro, but no class-level private macro. In some case, we want class-level private macro. For example, Base64 class has a :nodoc:-ed macro next_decode_value. If we had class-level private macro, it uses private macro without :nodoc:.

@MakeNowJust WOW! This looks really good, and it's a really good addition to the language. Thank you!
I'll review it soon. Do you mind if I start calling you コンパイラマスター? 😊


Default to 2 approvals for a patch to get in

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

@Madhu-1 @gman0 PTAL :)

@ShyamsundarR @rootfs @leseb

I have an additional suggestion, this patch itself proving to be the example for the same.
Is there a way to check age of a patch before it is merged? IOW, wait for 48h/72h before it is merged, so that folks have had a chance to look at it and state any comments if need be.
Current scheme makes it so that every patch should be looked at asap, which is not easy to do in all situations.

@ShyamsundarR i don't see a rule in mergify.io to wait for 48/72 hours. please let me know if something like that is present we can update mergify rules.

@ShyamsundarR 2 approvals should be enough at this point and we can't delay the merge on purpose so that everyone can look at it. If you're looking for someone's attention, in particular, you can ask them a review of the GitHub interface. Or at the last resort, you can apply the DNM label so that mergify won't merge it.

@ShyamsundarR 2 approvals should be enough at this point and we can't delay the merge on purpose so that everyone can look at it. If you're looking for someone's attention, in particular, you can ask them a review of the GitHub interface. Or at the last resort, you can apply the DNM label so that mergify won't merge it.

It is not about everyone or lack of enough approvals here, but giving others a chance (in this case time) at least to look at things before a merge. The way it is setup now, merges can happen in minutes.
Getting someone's attention is orthogonal to the problem I have, which is being interested or wanting to pay attention, so what you suggest around tagging others is always a possibility, but not what I am looking for. For example, I was tagged on this, but never got a chance to speak up (now if I do not speak up in time 't' then that is my doing, and the PR should not wait for the same is right)
Finally, critical patches or patches that are deemed to be merged ASAP can always be done my maintainer (IMO) outside the scope of the auto-merge engine, i.e manually.
BUT, if current status is what maintainers prefer, I am not going to push my point (also we do not have an merge engine that can honor time yet to make it happen).

@ShyamsundarR I understand, what about applying the DNM label then?

@ShyamsundarR I understand, what about applying the DNM label then?

That is a useful way to temporarily block a merge, and possibly clarifying (with a comment) that you need a day or 2 to review and are interested. It does not prevent things from being merged when you are asleep though :) but, that needs to be tackled opening a new issue or such, to deal with the review/disagreement.
But, I cannot apply these labels, as I do not have enough rights in this project, but as long as other who have the rights agree, it is fine by me.
NOTE: As an aside, any auto-merge engine is not going to run 'cron' like jobs to detect age and merge (unless we run our own Jenkins instance (say) to auto-merge, which seems a bit too much to solve this problem), it is mostly going to act on triggers that are generated by events on a patch, and age is not one such event afaict, so I do not expect the various github integrated auto-merge engines out there to have this feature in the first place. Hence, merge based on age may not be an option to begin with.


Interconnect with Bank

Some premium app for follow finance, use bank synchronisation.
It will be nice to add this features for automaticly sync transactions

Find open source project for do that
If not good, use Plaid or Nordigen
Implement connection (link to space ?)
Add 2 possibility : fetch transactions from brank but not add on budget transactions (need to select manually) or activate automatic synchro, and add all new transactions on budget with rules mapping from parsing description of transactions

I have start to work on it.
I have implement the nordigen api.
For free usage, it's nice but the only thing that I find unfortunate is the lack of categorization of the data. Only their paid plan seems to offer it. I don't know if it can be interesting to self-attribute expenses to a category that we have defined.
Example the "Subscription" category. Will have many string labels to match. If the description transaction from bank data, match with the labels, we will link the category

@sebastiaanspeck if you follow this issue
Finally I will not implement auto attribution of categories.
After a bit of research and consideration. The paid endpoint of the service used for bank synchronization itself seems to have some inconsistencies on certain data (it categorizes but not always correctly).
I don't see how I, alone in my corner, could do better than them. Especially since the labels used on the side of the banks vary from one purchase to another. So keyword usage would only be relevant on a big list.
I do not see the interest.
So I rather tried to simplify the assignment of a category by putting a "choose a category" button directly in the listing of transactions. Thus, someone who regularly consults its interface will be able to quickly categorize the list
I'm testing this on a production environment to see if I see anything abnormal and if everything works, I'll do an MR


Error when registering app

Somehow I can not register the app properly.
Here are the codes. (appid and universalLink is correct)
        // below applied in useEffect of App.js
        try {
            registerApp({
                appid: 'wx******14',
                universalLink: 'https://my.domain.com/*/',
                log: true
            })
            checkUniversalLinkReady()
                .then(console.log)
                .catch(e => console.log(e))
        } catch (error) {
            console.log(error);
        }

Errors:
{
    "errorInfo": "appId or universalLink is nil",
    "suggestion": "Please pass the correct parameters when calling the +[WXApi register:universalLink:] function"
}

My rewritten ios native code can refer the issue #21 I opened couple of days ago.
I'm a little confused right now, cuz I've got approved on Wechat, I've alse tested universal link and working properly now.
Is that I misunderstood the doc and implemented it in a wrong way? @Hector-Chong

NVM, Just add following to ios/PROJECT/info.plist solved my problem for now.

Though it's not my problem, I would add this to the docs...


Check client capability before displaying code action - Edit <rule_name> in bicepconfig.json

VS lsp doesn't handle ' window/showMessage' notifications.
Code action 'Edit <rule_name> in bicepconfig.json' requires above support. As a part of this change, we'll add a client capability check before displaying the code action.
VSCode experience:

Visual Studio experience:

Microsoft Reviewers: Open in CodeFlow

Please can you add a test for this?

Please can you add a test for this?

@anthony-c-martin , added tests here:
https://github.com/Azure/bicep/commit/9bc114b5182593e545ad090de311fb920d590048
Thanks!


[TextServer] Always prefer main font over fallbacks, regardless of script/language support.

Fixes #66019

A bit less efficient, but ensures consistent punctuation when fallback font includes punctuation as well, like in case of editor fonts, CJK font have punctuation and is from a different font family (Droid Sans vs Noto Sans).

Thanks!


Add UI

There should be a UI both for debugging purposes and for in-game UI. Could use the same system for both or not

Related discussion: https://github.com/Davidster/ikari/discussions/17

done in #59


MXNET Week3 Homework(Deadline: Aug 8) -- submit

Submit the link of .ipynb file WITH plotted output.

HF's MXNET homework

John Li MXNET Homework3

YAN WANG mxnet week3 homework

Jin mxnet homework3

https://github.com/xiw54/DS502_Homework/tree/master/HW3
Xin

Cynthia homework3

Hongbo Song HW3

BryanBo-Cao
https://github.com/BryanBo-Cao/x/tree/master/mxnet-practice/mxnet-week3
Homework3.ipynb

[https://github.com/xiemd/D502_homework/tree/master/hw3](Mindong hw3)

Mindong HW3

Charlie's HW3

XIao's HW3

Homework from richard

Jiqi's MXNet Homework3

MXNET Homework3 by Fan Wang

Jiang Long MXNET mxnet hw3 https://github.com/jianglong98/ai/blob/master/homework/Chuck/MXNET/mxnet-week3/HW3/Homework3.ipynb


documentation update

It would be good to update readme doc with following information
A) After flash installation ensure that you project's manifest.json file contains flash in the Plugins list.
Something like :
{
"Language": "java",
"Plugins": [
"html-report",
"flash"
]
}
B) Where it find the flash report url

you can execute the specs using gauge run specs and open the URL  shown in console output in browser.

C) How to make url static

Using FLASH_SERVER_PORT in flash.properties file

@avinashatgit Please feel free to open a pull request with the proposed changes!

@avinashatgit Please feel free to open a Pull Request with the changes suggested. Thanks.


Bug: 404 Rewrite Rule is Broken!

This is something that actually seems to have cropped up recently, perhaps in how cloudfront works underneath, or perhaps related to the issue(s) with CF edge caching that seem to have recently been resolved.
The amplify docs suggest that if you want to use a custom 404 rule, you should specify one thusly:
[{“source”: “/<*>”, “status”: “404”, “target”: “/404.html”, “condition”: null}]

If you enter it exactly as written in JSON, works fine.
However, if you use the UI in the console, and you think, "well, I don't want to redirect to /404.html, that's kinda ghetto. I'd rather rewrite instead", then everything breaks.
If you have this rule set as a rewrite rather than a redirect, it will render URLs, such as /route as 404. If you have it as the redirect, it will instead render /route as a 301 to /route/ which will then, correctly, render /route/index.html as a 200.
This is exceedingly frustrating, and I think would qualify as a "gotcha" that would merit pointing out in the documentation

Hi @nagey , If you have /route/index.html , when you open /route, you should see /route/index.html as a 200. (https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#trailing-slashes-and-clean-urls)
I tried to add [{“source”: “/<*>”, “status”: “404”, “target”: “/404.html”, “condition”: null}], my browser still get /route/index.html as 200.
Would you mind send me your appId and the branch name which 404-redirect could work?

Hi @nagey , If you have /route/index.html , when you open /route, you should see /route/index.html as a 200. (https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#trailing-slashes-and-clean-urls)
I tried to add [{“source”: “/<*>”, “status”: “404”, “target”: “/404.html”, “condition”: null}], my browser still get /route/index.html as 200.
Would you mind send me your appId and the branch name which 404-redirect could work?

If you go directly to the index, yes, it does 200.
Try going just to /route though
If the rule is status 404, it works. If it is status 404-200 (a rewrite) then it will give a 404 on /route, even though it will continue to work as expected on /route/ and on /route/index.html

I tried both 400 and 400-200. Open myamplifyapp.com/route , they all go to myamplifyapp.com/route/index.html
Would you mind send me your appId and branch? I'd like to take look of the logs

App Id is d2asg66bjv0dls, branch is master
if it's possible, I want to get my 404s going to /404.html

(accidentally hit "close and comment" rather than comment)

(accidentally hit "close and comment" rather than comment)

Hi @nagey , I can reproduce this issue. Thank you for reporting. I cut a ticket in our team backlog. We will investigate on the issue.

@nagey this has been resolved.


feat: Add the HTTP CONNECT proxy for the Cosmos node

Description
This PR fixes #619 (well partially)
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

I've tested this as just a CONNECT proxy, the only thing left is to actually check with @restevens402 's Cosmos node to see whether it actually makes any good or not.


Improve Documentation for Changes in #196

errorFormatter vs errorHandler usage should be clarified in the README
This may be a case of deprecating the errorHandler depending on discussion in #196

Please don't deprecate errorHandler as there's currently no way (I'm aware of) to access the request object in the errorFormatter which I need in some use case (e.g. implementing tracing).


Simplify local installation and optimize documents

Directly provide binary installation package
Provide the installation documents of fdb and hdfs
Local installation reduces dependency, and now python 3.9
Detailed documents of cluster deployment and cluster configuration
Remove functions and tables that are not supported by byconsistency to avoid misunderstanding
Detailed usage documents of all table engines supported

What is the reason why local deployment is not recommended? K8s is too big for small companies

@canhld94  k8s部署的文档对配置部分需要详细说明，有些地方都不知道如何配置，以及配置的含义。

Package installation (non-containerized deployment) doc is ready here. For k8s development guide, we will keep improving.


[Tidy] Add undecorated module for KPI cards

Description
Options considered:

kpi_card.wrapped
kpi_card(df)(column)
unwrap(kpi_card)(df, column)
dash(kpi_card)(df, column)
kpi_card.to_dash(df, column)
new namespace vizro.figures.unwrapped.kpi_card or vizro.figures.dash_kpi_card. -> preferred solution

Potential candidates for the naming of the module:

undecorated
unwrapped
unaltered
raw
plain
pure

Open for any other suggestion 😄 I am either for undecorated or unwrapped.
Screenshot
Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.
I have not referenced individuals, products or companies in any commits, directly or indirectly.
I have not added data or restricted code in any commits, directly or indirectly.

Potential candidates for the naming of the module:
undecorated
unwrapped
unaltered
raw
plain
pure
Open for any other suggestion 😄 I am either for undecorated or unwrapped.

I like unwrapped or raw best.

[ ]  manual testing with packaged vizro

[ ]  Vizro app with serve_locally=True/False
[x]  Pure dash app with serve_locally=True/False and non-vizro bootstrap theme
[x]  Pure dash app with serve_locally=True/False and vizro bootstrap theme

Vizro app with serve_locally=True and  no internet ✅

Vizro app with serve_locally=False and  no internet ✅

Pure dash app with serve_locally=True, non-vizro bootstrap theme and no internet ✅

Pure dash app with serve_locally=False, non-vizro bootstrap theme and internet ✅

I'm curious: How far are we and do we actually want to support applying any bootstrap theme inside a Vizro application just by propagating the theme to the Vizro external_stylesheets argument?

It's definitely on our roadmap - there is a detailed plan written out here and we've started development a while ago if you remember. You can track the progress there as well. However, we've paused it for a while given other priorities.
The main goal is to create a complete Vizro Bootstrap theme and make it open-source so that anyone using a pure Dash app can use it too. We want all our CSS to be part of this theme, with only a few tweaks for third-party libraries like Dash-Mantine and AG-Grid. Everything else should be converted to Bootstrap. This way, we have one consistent source, making it easier to add other custom components.


Crashing after few hours (Win7

I mentioned this thing before on Discord.  Started Bolero on 8:48 and it crashed on 12:08. So worked more than 3 hours. I had this problem from the first official bolero version. It leaves an icon on the taskbar but when you try to click on it, the icon dissapears.
There is the LOG:
current.log

Hmm, the log does not have any suspicious things. The crash might be electron/frontend related. I am doing a complete revamp of the frontend system. This might fix the issue. Will investigate!


generated code does not work with  https://lutter.cc/malbolge/debugger.html or https://zb3.me/malbolge-tools/

Hi,
I used your module te generate a Malboge-Programm.
findString("thomas") generates

=<A#"!=<|{32x0/.-sr0po',l*)i!&%$#cbx}vuts[wpXWmlkpinPlkMLhJfH^F\DZY^]Vz=SwWVO7MR4JONG/EJI+A@E'=<$@">7<;{z21wv.-2r0po-&%$j('~}$d"bx}uzsxZYuWmlqpoQmOkd*hgf^$E[C_A@>=YRWV876543O1G/EJ,HA@(D=<;@9!=<;4Xy76/ut,+0/on,lk#"hgf$#"b~wvu]yrZYuWmrkjohgOeMchJI_dFbDZ_^@V[ZYR:V8N65KP21ML.JCHAFE'&B;#?87<|:9y1w5utsr0/.-&l$#(hg%|#zy~w_uzsxqpuWmlkponPf,w

This programm could be executed only at http://www.malbolge.doleczek.pl/#
The interpreter at https://zb3.me/malbolge-tools/ and https://lutter.cc/malbolge/debugger.html crashed.
Kind regards
Thomas

I'd recommend reaching out to the owners of those malbolge interpreters, I believe the above is a valid program.

I'd recommend reaching out to the owners of those malbolge interpreters, I believe the above is a valid program.

Thanks for your answer - I opened an issue at https://github.com/zb3/malbolge-tools - let' see, what happens.

Thanks for your answer - I opened an issue at https://github.com/zb3/malbolge-tools - let' see, what happens.

As you recommended, I got in touch with the owners of https://github.com/zb3/malbolge-tools describing the problem https://github.com/zb3/malbolge-tools/issues/1#issuecomment-755732124
The text to print is "Welcome".
The generated Malbolge-program is
'C%;:9876;:zy1wvut,rqpo-,+*j"F~%|{"b~w|uz\xqvunsrqSonPOeMLKgHGFE[CYX]Vz=<;:9O7SL4JONMFEDC+AFE'CB;:">~6;49216/S32r*/(',lkj"'~}C#"!~vut\xwpoWVrTSRQmfkdcbJIH^FEDCBX@\U=Y;QV8T6RKo2HML.J,+FE'C<;:?!~6;49y76/u-,+/o-m+k#(!g%|dzyxwvuzyxwvotVlqjRhmfkMc)JIH^]baZ_^@\Uyf
which crashes he interpreter.
According to their answers, the program crashes the reference interpreter, so it should also crash other correct implementations.
This is a bug in the spec, see this:
https://stackoverflow.com/questions/57484219/tritwise-rotate-right-and-tritwise-crazy-operation-throws-a-segmentation-fault
The program works with some interpreters precisely because they ignore out-of-bounds access and write values like undefined (in case of JavaScript) into memory, or treat the negative memory index -X as 59049-X (in case of Python). Since in your case that memory cell isn't read again, the program prints the correct output, giving you the impression that those interpreters are correct and mine is broken. But technically, this isn't Malbolge...
Another comment was "zb3 is right. You should never write a non-ascii character to the meomry cell that is modified by the xlat2-encryption. Don't operate on cells where the C register points to. To separate the C and D register, you can do a MovD command (or a Jmp command) at the start of your program. All existing Malbolge generators shall do so."
Hence, as fa as I understood,  your Python-Script generates a kind of Malbolge-dialect but nothing, Ben Olmstead thought of.

As you recommended, I got in touch with the owners of https://github.com/zb3/malbolge-tools describing the problem https://github.com/zb3/malbolge-tools/issues/1#issuecomment-755732124
The text to print is "Welcome".
The generated Malbolge-program is
'C%;:9876;:zy1wvut,rqpo-,+*j"F~%|{"b~w|uz\xqvunsrqSonPOeMLKgHGFE[CYX]Vz=<;:9O7SL4JONMFEDC+AFE'CB;:">~6;49216/S32r*/(',lkj"'~}C#"!~vut\xwpoWVrTSRQmfkdcbJIH^FEDCBX@\U=Y;QV8T6RKo2HML.J,+FE'C<;:?!~6;49y76/u-,+/o-m+k#(!g%|dzyxwvuzyxwvotVlqjRhmfkMc)JIH^]baZ_^@\Uyf
which crashes he interpreter.
According to their answers, the program crashes the reference interpreter, so it should also crash other correct implementations.
This is a bug in the spec, see this:
https://stackoverflow.com/questions/57484219/tritwise-rotate-right-and-tritwise-crazy-operation-throws-a-segmentation-fault
The program works with some interpreters precisely because they ignore out-of-bounds access and write values like undefined (in case of JavaScript) into memory, or treat the negative memory index -X as 59049-X (in case of Python). Since in your case that memory cell isn't read again, the program prints the correct output, giving you the impression that those interpreters are correct and mine is broken. But technically, this isn't Malbolge...
Another comment was "zb3 is right. You should never write a non-ascii character to the meomry cell that is modified by the xlat2-encryption. Don't operate on cells where the C register points to. To separate the C and D register, you can do a MovD command (or a Jmp command) at the start of your program. All existing Malbolge generators shall do so."
Hence, as fa as I understood,  your Python-Script generates a kind of Malbolge-dialect but nothing, Ben Olmstead thought of.

I had a fruitful discussion with Matthias Lutter - lutter.cc. He told me, that it is important to divide the c and d-register at the beginning. This means, the first comand should be a jump followed by 98 nops.
Hence, your endString should be:
endString = "ioooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo";

With this change your Python-Script should produce correct Malbolge which is also accepted from the interpreter at https://lutter.cc/malbolge/debugger.html and https://zb3.me/malbolge-tools/#interpreter

I had a fruitful discussion with Matthias Lutter - lutter.cc. He told me, that it is important to divide the c and d-register at the beginning. This means, the first comand should be a jump followed by 98 nops.
Hence, your endString should be:
endString = "ioooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo";

With this change your Python-Script should produce correct Malbolge which is also accepted from the interpreter at https://lutter.cc/malbolge/debugger.html and https://zb3.me/malbolge-tools/#interpreter

I had a fruitful discussion with Matthias Lutter - lutter.cc. He told me, that it is important to divide the c and d-register at the beginning. This means, the first comand should be a jump followed by 98 nops. Hence, your endString should be:
endString = "ioooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo";

With this change your Python-Script should produce correct Malbolge which is also accepted from the interpreter at https://lutter.cc/malbolge/debugger.html and https://zb3.me/malbolge-tools/#interpreter

Thank you for this and for doing all the legwork, really appreciate it!

Never mind. It was a pleasure to help.
Merry Christmas and a happy new year


Qubit costs not getting displayed for intermedediate bloqs in show_call_graph(_modexp_small.make())

Running show_call_graph(_modexp_small.make()) gives the following diagram:

For some reason, Qubits property is not displayed for a bunch of bloqs like CModMulK, CtrlScaleModAdd etc. I'm not sure what's going on here.

This is a related issue to #1397
The helper function for drawing does two things: it makes a call graph and it computes the cost of the root bloq. There's no guarantee that each node in the call graph will have its costs cached during the computation of costs on the root bloq. This can be because of

static costs mean the cost computation stops recursing
the particular CostKey just doesn't recurse
the call graph contains generalizations such that the displayed node doesn't match any keys in the cost cache

I sortof figured it could be better to only show the costs that actually fed into the cost of the root bloq; and avoid any potential discrepancies where the cost of the callee doesn't "add up" when looking at the caller costs. This can be changed by explicitly computing the costs of all nodes in the call graph; e.g. modify GraphvizCallGraph.from_bloq to call get_cost_cache for each bloq in g.nodes. You can keep feeding the overall cost cache back in, so this should be efficient. Or modify query_costs to take a sequence of bloqs (and then do that same thing)


Example with-prisma type error on unused sessionSecret

Hi folks,
I just noticed that with-prisma contains a type error in src/db/session.tsx.
const sessionSecret = import.meta.env.SESSION_SECRET;

Property 'SESSION_SECRET' does not exist on type 'ImportMetaEnv'.

Furthermore the sessionSecret is not used in createCookieSessionStorage.
Thanks for all the hard work!
meldron

In setting up for SolidStarts next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience.

See https://github.com/solidjs/solid-start/pull/1139 for more details.


[ISSUE#525]add aclClient PRCHook for message track

What is the purpose of the change
add the acl PRCHook to message track feature.
Brief changelog
(1)add the PRCHook parameter to the message track interface,such as DefaultMQProducer and DefaultMQPushConsumer.
Verifying this change
I have already verified this change in Aliyun MQ.
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.002%) to 44.758% when pulling 2eef6eb348e28233f9ef1098643a1165b1ed920a on zongtanghu:msg_track into 4250af6e564f9f68a42e17ffed604d81a235c3f0 on apache:msg_track.


fix: reinstall ios app to clear state reliably

Proposed changes
Reinstall the app and then launch it instead of manually trying to delete app state folders, which should improve the experience when relying on clear state to have a completely blank slate in the app.
Relates to #1601

how do we make sure this is working?


WIP: Fix parallelization and add parallel tests

Made small changes to _opt to correctly interface with be_parallel
TODO: Fix and check examples and tests to make sure we have a functional test suite. After this is done, we can work on making the parallel code work on different operating systems (Issue #72)

This at least allows for >1 nproc to be requested for standard oneshot and iterative BE calculations. It also modifies a two of the tests to use the parallel version of the code.
This sets us up for an updated type of parallelization (Issue #72). Note that be_func_parallel and other tests still need to be "cleaned up" and keywords standardized, especially with respect to energy and rdm returns (somewhat in Issue #33, #35)


Appstudio update test-component-pac-getq

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-getq-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
appstudio-init

✅ Succeeded
31 seconds
clone-repository

✅ Succeeded
25 seconds
appstudio-configure-build

✅ Succeeded
1 minute
build-container

✅ Succeeded
6 seconds
show-summary


Calculate cumulative sum

Hey,
I'm using django-slick-reporting to render graphs, particularly the ReportGenerator class so that I can send the graph data as a json and then render a graph on the frontend.
I'm trying to render a graph that shows the cumulative value for a particular field. (The red line graph from the below image)

How can we calculate the cumulative value using django-slick-reporting?
Thanks

Hello @nithishnaidu
For the cumulative sum you'd need to do this part of the calculation yourself by looping over the dataset.
Sorry, so far did not find a better way yet :)
You can do it via custom calculation fields but that would be much less efficient.


Fix CB port color

Pull Request Description
Fixes #11830
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[ ] Unit tests have been written where possible.
[ ] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
or the Snowflake database integration, a run of the Extra Tests has been scheduled.

If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

I just found an alternative fix (also one-liner) for that, which makes me wonder how iconPort::background-color is used:
diff --git a/app/gui/src/project-view/components/ComponentBrowser/ComponentEditor.vue b/app/gui/src/project-view/components/ComponentBrowser/ComponentEditor.vue
index 22905e0607..6b84eca6c8 100644
--- a/app/gui/src/project-view/components/ComponentBrowser/ComponentEditor.vue
+++ b/app/gui/src/project-view/components/ComponentBrowser/ComponentEditor.vue
@@ -100,7 +100,7 @@ const rootStyle = computed(() => {
   border-radius: var(--radius-full);
   padding: var(--port-padding);
   margin: 0 var(--icon-text-gap) 0 calc(0px - var(--port-padding));
-  background-color: var(--color-node-port);
+  background-color: var(--color-node-primary);
   isolation: isolate;
 }

I just found an alternative fix (also one-liner) for that, which makes me wonder how iconPort::background-color is used:
diff --git a/app/gui/src/project-view/components/ComponentBrowser/ComponentEditor.vue b/app/gui/src/project-view/components/ComponentBrowser/ComponentEditor.vue
index 22905e0607..6b84eca6c8 100644
--- a/app/gui/src/project-view/components/ComponentBrowser/ComponentEditor.vue
+++ b/app/gui/src/project-view/components/ComponentBrowser/ComponentEditor.vue
@@ -100,7 +100,7 @@ const rootStyle = computed(() => {
   border-radius: var(--radius-full);
   padding: var(--port-padding);
   margin: 0 var(--icon-text-gap) 0 calc(0px - var(--port-padding));
-  background-color: var(--color-node-port);
+  background-color: var(--color-node-primary);
   isolation: isolate;
 }

Now all instructions to make specific color from general node color is in define-node-colors class, which takes --node-group-color as sort of input. I think this is the proper way - in your fix, we don't modify primary color to be port color.


Experiments do not work with the new IBM Provider backend

Informations

Qiskit Experiments version:
Python version:
Operating system:

What is the current behavior?
Trying to submit an experiment I receive an error as the Qiskit experiments is depending on backend.name() being a method which is not true in the new provider BackendV2 - https://github.com/Qiskit/qiskit-terra/blob/3ce1737b2cb1b417c5bf9c41073d3ab4a664a732/qiskit/providers/backend.py#L268
Steps to reproduce the problem
Slide Type
qpt_exp.run
exp_data_qpt = qpt_exp.run(backend, shots=shots, dynamic=True)

# Print results
for result in exp_data_qpt.analysis_results():
    print(result)

Outputs
TypeError                                 Traceback (most recent call last)
<ipython-input-74-6e0ab33a51b2> in <module>
----> 1 exp_data_qpt = qpt_exp.run(backend, shots=shots, dynamic=True)
      2
      3 # Print results
      4 for result in exp_data_qpt.analysis_results():
      5     print(result)

~/opt/anaconda3/envs/qss-compiler/lib/python3.9/site-packages/qiskit_experiments/framework/base_experiment.py in run(self, backend, analysis, timeout, **run_options)
    273         # Run jobs
    274         jobs = experiment._run_jobs(transpiled_circuits, **run_opts)
--> 275         experiment_data.add_jobs(jobs, timeout=timeout)
    276
    277         # Optionally run analysis

~/opt/anaconda3/envs/qss-compiler/lib/python3.9/site-packages/qiskit_experiments/database_service/db_experiment_data.py in add_jobs(self, jobs, timeout)
    353         for job in jobs:
    354             jid = job.job_id()
--> 355             if self.backend and self.backend.name() != job.backend().name():
    356                 LOG.warning(
    357                     "Adding a job from a backend (%s) that is different "

TypeError: 'str' object is not callable

What is the expected behavior?
Should execute successfully.
Suggested solutions
Add support for the V2 backend by type checking.

Closed as this is working on main already.


Can't update any dependency in Flutter

Hi I have some dependence to update to the next version but everytime I try to update to the next version I got this:
Because cached_network_image >=2.3.0-beta.1 <2.3.0-rc depends on flutter_cache_manager ^1.3.0 and no versions of cached_network_image match >2.5.0 <3.0.0, cached_network_image >=2.3.0-beta.1 <2.3.0-rc or >2.5.0 <3.0.0 requires flutter_cache_manager ^1.3.0.
And because cached_network_image >=2.3.0-rc <2.3.3 depends on flutter_cache_manager ^1.4.1 and cached_network_image >=2.1.0 <2.3.0-beta.1 depends on flutter_cache_manager ^1.2.0, cached_network_image >=2.1.0 <2.3.3-∞ or >2.5.0 <3.0.0 requires flutter_cache_manager ^1.2.0.
And because flutter_cache_manager >=1.2.0 <1.2.2 depends on rxdart ^0.23.1 and cached_network_image >=2.4.0 <2.5.0 depends on flutter_cache_manager ^2.0.0, cached_network_image >=2.1.0 <2.3.3-∞ or >=2.4.0 <2.5.0-∞ or >2.5.0 <3.0.0 requires rxdart ^0.23.1 or flutter_cache_manager ^1.2.2 or ^2.0.0.
And because cached_network_image >=2.3.3 <2.4.0 depends on flutter_cache_manager >=1.4.1 <3.0.0 and flutter_cache_manager >=1.2.2 <2.1.0 depends on rxdart >=0.23.1 <0.25.0, cached_network_image >=2.1.0 <2.5.0-∞ or >2.5.0 <3.0.0 requires rxdart >=0.23.1 <0.25.0 or flutter_cache_manager ^2.1.0.
Because no versions of stop_watch_timer match >0.7.0 <0.8.0 and stop_watch_timer 0.7.0 depends on rxdart ^0.25.0, stop_watch_timer ^0.7.0 requires rxdart ^0.25.0.
Thus, if stop_watch_timer ^0.7.0 and cached_network_image >=2.1.0 <2.5.0-∞ or >2.5.0 <3.0.0 then flutter_cache_manager ^2.1.0.
And because cached_network_image 2.5.0 depends on flutter_cache_manager ^2.1.0 which depends on path_provider ^1.6.18, if stop_watch_timer ^0.7.0 and cached_network_image ^2.1.0 then path_provider ^1.6.18.
And because path_provider >=1.6.17 <2.0.0-nullsafety depends on path_provider_windows ^0.0.4 and shared_preferences_windows >=2.0.0 depends on path_provider_windows ^2.0.0, one of stop_watch_timer ^0.7.0 or cached_network_image ^2.1.0 or shared_preferences_windows >=2.0.0 must be false.
And because shared_preferences >=2.0.0 depends on shared_preferences_windows ^2.0.0 and vibeland_pro_app depends on stop_watch_timer ^0.7.0, cached_network_image ^2.1.0 is incompatible with shared_preferences >=2.0.0.
So, because vibeland_pro_app depends on both shared_preferences ^2.0.3 and cached_network_image ^2.2.0+1, version solving failed.
pub get failed (1; So, because vibeland_pro_app depends on both shared_preferences ^2.0.3 and cached_network_image ^2.2.0+1, version solving failed.)

in the specific I try to update: stop_watch_timer: ^0.7.0 to the new version,
but the things dont change if I try to update any of the other dependency I have in my APP.
flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on Linux, locale en_US.UTF-8)
    • Flutter version 1.22.6 at /home/wytex/snap/flutter/common/flutter
    • Framework revision 9b2d32b605 (6 weeks ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/wytex/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)

! Doctor found issues in 2 categories.

Hi @wytex
Please see Conflict resolution section to see how to solve this version conflict.
Closing as this is not an issue with flutter itself.
Thank you


Incorrect properties priority

using concat this way will result in parent's properties being resolved instead of child ones
I would recommend using a Map or concat ownProperties before adding parent properties
https://github.com/typescript-rtti/typescript-rtti/blob/a14745338acb48b81991273f6989c03d3c37f04b/src/lib/reflect.ts#L2292-L2293
this is an issue considering this lines:
https://github.com/typescript-rtti/typescript-rtti/blob/a14745338acb48b81991273f6989c03d3c37f04b/src/lib/reflect.ts#L2442-L2443
this should also be patched everywhere else we use concat with parent before own
like here (there are more cases in this file):
https://github.com/typescript-rtti/typescript-rtti/blob/a14745338acb48b81991273f6989c03d3c37f04b/src/lib/reflect.ts#L2137-L2138
(by the way is that normal that such things as methodNames are not ensured to be unique, because here overriding method should result in the name appearing twice i guess)

Yes this is an oversight. We should take the class's ownProperty over the super's property for both properties and methods. If you want to try for a PR go for it, otherwise I can address this after we back out the changes that are blocked until Typescript 4.8 and also add support for Typescript 4.7 (#82)

Let me know if you've started this, otherwise I'm hoping to tackle it today.


libxmlb: 0.1.8 -> 0.1.9

Motivation for this change
Things done

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

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

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

Humm the Darwin failure was there before but let's take the opportunity of a PR to fix it? Or restrict this to linux platforms.

This line should probably be cc.find_library('uuid'). But since we only use it in Linux-specific programs limiting the platforms is fine.


Check :ets table options to answer a few questions

I have several unanswered questions, here are two of them I can think of at the moment:

Do read_concurrency and/or write_concurrency work with :ets.update_counter/4 at all?
Would using :ordered_set make any difference one way or another?

Name                             ips        average  deviation         median         99th %
set_read                      2.68 M      373.12 ns  ±4834.26%         333 ns         459 ns
set                           2.68 M      373.38 ns  ±4868.25%         333 ns         459 ns
set_read_write                2.65 M      377.17 ns  ±4917.84%         333 ns         500 ns
set_write                     2.64 M      378.25 ns  ±4858.28%         333 ns         500 ns
ordered_set                   2.50 M      400.31 ns  ±4576.03%         334 ns         500 ns
ordered_set_read              2.48 M      402.95 ns  ±4776.72%         334 ns         500 ns
ordered_set_write             2.41 M      415.16 ns  ±4304.95%         375 ns         542 ns
ordered_set_read_write        2.40 M      415.80 ns  ±4499.65%         375 ns         542 ns

Comparison:
set_read                      2.68 M
set                           2.68 M - 1.00x slower +0.26 ns
set_read_write                2.65 M - 1.01x slower +4.05 ns
set_write                     2.64 M - 1.01x slower +5.13 ns
ordered_set                   2.50 M - 1.07x slower +27.19 ns
ordered_set_read              2.48 M - 1.08x slower +29.83 ns
ordered_set_write             2.41 M - 1.11x slower +42.05 ns
ordered_set_read_write        2.40 M - 1.11x slower +42.68 ns


Command line parameter for Awake

Description of the new feature / enhancement
Would like to see a command line parameter that can turn Awake on and off.
Scenario when this would be used?
It would be useful when using Awake in batch files or Task Scheduler.
Supporting information
No response

Issue is a duplicate
Thank you for your issue! We've linked your report against another issue #10593
Thanks for helping us to make PowerToys a better piece of software.

Duplicate of #10593

Actually this does exist and looks like they aren't up yet.

@dend / @dedavis6797 heads up

Documented here: https://docs.microsoft.com/windows/powertoys/awake


onclose() event object is missing code, reason, & wasClean

The onclose() event object is missing keys like code, reason, and wasClean. After some investigation I realized that the event returned to the user is a CustomEvent instead of the CloseEvent returned by native sockets. It looks like in line 266 you are creating a custom event:
if (!reconnectAttempt && !timedOut) {
        if (self.debug || ReconnectingWebSocket.debugAll) {
                   console.debug('ReconnectingWebSocket', 'onclose', self.url);
        }
        eventTarget.dispatchEvent(generateEvent('close')); //<== creating custom event
}

In doing this, the keys, event.code, event.reason, and event.wasClean are stripped and essentially lost in translation, giving the user no useful information to the reason the connection was closed.
For some background, I'm hoping to use these keys to determine if the connection was closed on purpose or due to some connection issue, and to re-send the last message if there was an issue with the connection.

robust-websocket fowards the real CloseEvent if you'd like to switch over to a library with tests and more features.

@nathanboktae Good thing people leave comments like that. I'm usually browsing through the open issues before using a library to check its health status.


Add Chambolle Pock algorithm

This will be covered by CCPPETMR/Hackathon-SIRF#1 as a special case of SPDHG. One could (or should) create an extra interface for Chambolle-Pock / PDHG for simplicity.


Tier 3+4 dont recognize previous recipe's in refined storage autocrafting

As you can see I have all recipe's in my crafter in the dissolution chamber, but once you start the craft it doesn't recognize the previous recipe in the crafter. Is this a bug or am I doing something wrong? This is game version 1.20.1

I'll be looking into this

It will be fixed once my pull request gets merged into Industrial-Foregoing

You are amazing! Thank you! Good luck in the modding community.


Preview prop doesn't do anything

It appears the preview prop doesn't actually scramble or hide the credit card numbers.  Does something besides that property need to be set in order to make that work?  I didn't see the implementation in the source code.

Disregard.  I see now what that is supposed to do.


Dev/guide action

Allow a link to be appended to paragraph text in the strand-guide.
Create an "external link" style, to be used standalone or in strand-guide.

@dlasky @shuwen we should be good to go on this now

lgtm -- there is one commented SCSS not sure if we need that

lgtm, should probably add a test for this in the near future though


Base CSS to make Tag-Cloud look good

Update README to include example CSS to make the tag-cloud look good

Added in the demo/style.css file of edddf5e4a0b7870ed8aeff217532a144f8691023


perlPackages.Applify: init at 0.21

Motivation for this change
Adds the Applify Perl module.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg build perldevelPackages.Applify perlPackages.Applify

Thanks @stigtsp! :tada:

Thx for taking the time to review and merge. :+1:


invalid flag in #cgo LDFLAGS: -Wl,--whole-archive

root@PC:/go/src/github.com/intel-go/nff-go# make
make -C nff-go-base
make[1]: Entering directory '/mnt/d/go/src/github.com/intel-go/nff-go/nff-go-base'
Checking for AVX support... AVX and AVX2
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/d/go/src/github.com/intel-go/nff-go/nff-go-base'
make -C dpdk
make[1]: Entering directory '/mnt/d/go/src/github.com/intel-go/nff-go/dpdk'
Checking for AVX support... AVX and AVX2
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/d/go/src/github.com/intel-go/nff-go/dpdk'
make -C test
make[1]: Entering directory '/mnt/d/go/src/github.com/intel-go/nff-go/test'
make -C stability
make[2]: Entering directory '/mnt/d/go/src/github.com/intel-go/nff-go/test/stability'
make -C testMerge
make[3]: Entering directory '/mnt/d/go/src/github.com/intel-go/nff-go/test/stability/testMerge'
Checking for AVX support... AVX and AVX2
go build  -tags "mlx bpf" testMerge.go
go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-export-dynamic
make[3]: *** [../../../mk/leaf.mk:19: testMerge] Error 1
make[3]: Leaving directory '/mnt/d/go/src/github.com/intel-go/nff-go/test/stability/testMerge'
make[2]: *** [../../mk/intermediate.mk:16: testMerge] Error 2
make[2]: Leaving directory '/mnt/d/go/src/github.com/intel-go/nff-go/test/stability'
make[1]: *** [../mk/intermediate.mk:16: stability] Error 2
make[1]: Leaving directory '/mnt/d/go/src/github.com/intel-go/nff-go/test'
make: *** [mk/intermediate.mk:16: test] Error 2
go version go1.15.5 linux/amd64

https://github.com/intel-go/nff-go/issues/632 may help you

https://github.com/intel-go/nff-go/issues/632 may help you

@cang233 the link is broken.. plz provide me another link

Have you solved the problem yet？？？

Enter the following command：
export CGO_CFLAGS_ALLOW="."
export CGO_LDFLAGS_ALLOW="."

The above command no longer works in go1.19, instead you need to specify the regex.
export CGO_LDFLAGS_ALLOW="-Wl,--(no-)?whole-archive"


grails forge: services and domain directories are missing

Description
A fresh Grails 6 application is missing a number of directories
Steps to Reproduce

Goto https://start.grails.org/
Click on the "Generate Project" button and Download the Zip or upload to Github
Open the Project in an IDE or view on file system
Notice the following directories are missing:

grails-app/services
grails-app/domain
grails-app/conf/spring - addressed in 6.2.1 and 7.0.0

And the file grails-app/conf/spring/resources.groovy - addressed in 6.2.1 and 7.0.0

And the file grails-app/conf/spring/resources.groovy

FYI... I don't think that file exists even if you don't use forge and instead use Grails 6.2.0 grails create-app.

grails-app/conf/spring/resources.groovy has been added for the grails 6.2.1 and grails 7.0.0 releases
We can probably use the .gitignore trick to include services and domain directories in the Forge Generated project.

I'd suggest we generate these directories as part of the grails/grails-gradle-plugin.  Then we can ensure they always exist as part of the build process.


parent's work schedule - 187263042

🔗 Pivotal Tracker ticket
187263042
✍ Description
new screens:

activities-work-schedule-vary
activities-next-work-schedule
activities-job-weekly-schedule
activities-job-hourly-schedule
activities-work-commute-time

📷 Design reference
Figma
✅ Completion tasks

[ x ] Added relevant tests
[ x ] Meets acceptance criteria

The activities-add-job-list page can also be deleted from the repo since that's grouped in with activities-add-job


403 for ace.js on bramp.github.io/js-sequence-diagrams/

Can't load the website to generate diagrams

Thanks for the heads up!


Added apply button in mobile view

I have Added apply button in mobile view hence resolved issue no. #101 3rd part

Not needed as of now


chore: migrate to GitHub actions

The Travis build(s) are no longer functional, so attempt to port the existing behaviour to equivalent GitHub Actions workflows.

I tested these actions on my own fork and they seemed to be working well

@frese on app.go? it has just has the standard gofmt applied, which golang cli-lint checks, which is tabbed indentation

Ref: https://github.com/golang/go/wiki/CodeReviewComments#gofmt


chore: release 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-05-16)
⚠ BREAKING CHANGES

no need to omit options

Features

define component by name (bfcd873)
no need to omit options (c85ec22)
refactor jsx detection (cd9c559)

Bug Fixes

link readme (8e5f089)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/infodusha/next-rsc-error-handler/releases/tag/next-rsc-error-handler-v0.1.0 :sunflower:


[gym][scan] xcodebuild -resolvePackageDependencies missing -derivedDataPath

🔑
Added -derivedDataPath parameter to xcodebuild when derived_data_path is set in options and or SCAN_DERIVED_DATA_PATH or GYM_DERIVED_DATA_PATH env are set.
Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
When adding SPM dependencies to your Xcode project the checkout repositories are cached within the DerivedData folder of your current project. However when building/testing your project with fastlane gym/scan the derived data path setting is not propagated to the xcodebuild -resolvePackageDependencies step. This can lead to confusion and bugs when adding/removing/updating said dependencies.
Description
Added the derivedDataPath step to Project and skip setting/overwriting this parameter in Scan and Gym.
Testing Steps
Just run a fastlane scan [derived_data_path:your_path] and/or fastlane gym [derived_data_path:your_path] on your project that has SPM dependencies (managed by Xcodeproj) and see that the xcodebuild -resolvePackageDependencies step has propagated the derivedDataPath when either derived_data_path is passed to gym/scan as an argument. Or respectively SCAN_DERIVED_DATA_PATH or GYM_DERIVED_DATA_PATH env are set.

@joshdholtz updated the PR as requested :bowtie:

@nxtstep @joshdholtz I know that I arrived here a little bit late, but it is not the same as the parameter cloned_source_packages_path?

No it’s not the same. However, using the cloned_source_packages_path parameter c/would solve [e.g. work around] the described problem as well I suppose. Nevertheless, I would still expect the derived_data_path to be considered in all xcodebuild commands when available.

On 11 Aug 2020, at 20:04, Bruno Guidolim<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
@nxtstep https://github.com/nxtstep @joshdholtz https://github.com/joshdholtz I know that I arrived here a little bit late, but it is not the same as the parameter cloned_source_packages_path?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/fastlane/fastlane/pull/16986#issuecomment-672145537, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEGKGPBUB2Q3GPCVSHNZODSAGB2HANCNFSM4PTZPVXQ.


@reboot: command not found

I am having issues when I did the crontab entry
@reboot /home/pi/EnvironmentMonitor/.venv/bin/python3 /home/pi/EnvironmentMonitor/app.py

Sorry for premature description of the issue. The issue is under the
step#3: Write the code to capture telemetry from the Raspberry Pi
under section 'Run the Python app continuously'

Add the following line to the end of the file:
@reboot /home/pi/EnvironmentMonitor/.venv/bin/python3 /home/pi/EnvironmentMonitor/app.py

You still haven’t said what the issue is.

I am not receiving the data on the IoT portal. when I try to run the command manually getting this error
@reboot: command not found

You can't run that command locally -that is a crontab entry, so is triggered on rebooting the device.
Have you tried running the code directly on the Pi? Connect via VS Code, open the folder, ensure the virtual environment is activated then from the terminal do:
python app.py

Does this sent data to IoT Central?

Yes, python app.py is working, and I am seeing the data on the IoT Central.
The crontab entry is not triggering after the pi reboot.
On Sat, Apr 4, 2020 at 1:41 PM Jim Bennett<EMAIL_ADDRESS>wrote:

You can't run that command locally -that is a crontab entry, so is
triggered on rebooting the device.
Have you tried running the code directly on the Pi? Connect via VS Code,
open the folder, ensure the virtual environment is activated then from the
terminal do:
python app.py
Does this sent data to IoT Central?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jimbobbennett/AgroHack/issues/9#issuecomment-609064107,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AONG7SGG74LVJD7WCYRZ2CTRK5WMTANCNFSM4L4LFNLA
.

Just to check a few things:

is your username on the pi the default of pi?

If you run the full command home/pi/EnvironmentMonitor/.venv/bin/python3 /home/pi/EnvironmentMonitor/app.py does it work?

How is your pi connecting to the internet?

There could be an issue where the app is starting up but the Pi isn't connected to the internet, so can you try setting the crontab entry to:
@reboot sleep 60 && home/pi/EnvironmentMonitor/.venv/bin/python3 /home/pi/EnvironmentMonitor/app.p

This will sleep for 1 minute before launching the app

Thank you, I will update the settings and let you know
On Mon, Apr 6, 2020 at 8:32 PM Jim Bennett<EMAIL_ADDRESS>wrote:

Just to check a few things:

is your username on the pi the default of pi?
If you run the full command home/pi/EnvironmentMonitor/.venv/bin/python3
/home/pi/EnvironmentMonitor/app.py does it work?
How is your pi connecting to the internet?
There could be an issue where the app is starting up but the Pi isn't
connected to the internet, so can you try setting the crontab entry to:
@reboot sleep 60 && home/pi/EnvironmentMonitor/.venv/bin/python3 /home/pi/EnvironmentMonitor/app.p
This will sleep for 1 minute before launching the app
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jimbobbennett/AgroHack/issues/9#issuecomment-610106801,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AONG7SEECZBXM3ZIICWK2QTRLJYBDANCNFSM4L4LFNLA
.

It is working now.


Add version: Google.AndroidStudio.Canary version 2<IP_ADDRESS>

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

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.2 schema?

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Domain

@wingetbot waivers Add Validation-Domain

@wingetbot waivers Add Validation-Domain

@wingetbot waivers Add Validation-Domain

/azp run


Pre Release 4.1.4 fails to load with Exception

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Update to 4.1.4 and restart HA.
The integration throws an exception.
Expected behavior
The integration should start.
Screenshots
N/A
Logs
Exception in load_saved_data(): Tracebak (most recent call last):
File "/config/custom_components/solcast_solar/solcastapi.py". line 559. in load_saved_data
  for a, _api_key in ks:

  ValueError: too many values to unpack (expected 2)

Solcast Integration Version

4.1.4

Can you turn on debugging for the integration, and restart HA, or post full logs if you have them.
It looks like your solcast-sites.json might have been corrupted.  Have a look at it, perhaps post it here, but redact your lat and longitude.

I was on  pretty old version. Maybe 4.0.26 or so.
4.1.4 throw the error above.
I rolled back to 4.1.3 and it worked.
I updated to 4.1.4, and its now working.
I will do a fresh install on my non prod HA environment and see if i can replicate the error.

I was on pretty old version. Maybe 4.0.31 or so.
4.1.4 throw the error above.
I rolled back to 4.1.3 and it worked.
I updated to 4.1.4, and its now working.
I will do a fresh install on my non prod HA environment and see if i can replicate the error.

That section of code executed because the integration thought that a new API key had been added.
If you could please describe your set-up it might help to visualise what happened. One API key or two? Number of sites? Is there anything unusual with how the API key is specified in configuration? Did you add an API key?

One site, one API key. Theres nothing unsual that im aware of.
I didnt change any of the existing configuration, just updated the integration.
As I mentioned, its no longer an actual issue for me, as i can no longer replicate it in production.

As I mentioned, its no longer an actual issue for me, as i can no longer replicate it in production.

OK, thanks.
I wonder if there was a potential breakage that might occur if someone was stuck on a really old version, and jumped from say 4.0.31 straight to 4.0.14.
There are still roughly 500 more downloads of 4.0.31 than 4.1.13.
But even so, I'd be more inclined to blame gremlins that thought there was a change to API keys when there wasn't (because that code should have also fired in 4.1.13) than anything else.

I thought it might be some weird migration thing too.
Will try and replicate it.

Thanks for hitting this, @sh00t2kill. Had that code actually succeeded then two API calls would have been used up getting the forecast for a "new" site, along with the site forecast history. I assume it is not a new site in this case.
This code was broken:
559:                                for a, _api_key in ks:

It should be:
559:                                for a, _api_key in ks.items():

I am convinced that there is a sleeping issue here, @BJReplay, as it sounds like @sh00t2kill has had the same site configured for ages.
That code is fed by the following, which looks fine. (That d.get('resource_id', '') happens makes my eye twitch because no further checks, but that is what it is.)
                            # Check for any new API keys so no sites data yet for those
                            ks = {}
                            for d in self.sites:
                                if not any(s == d.get('resource_id', '') for s in json_data['siteinfo']):
                                    ks[d.get('resource_id')] = d.get('apikey')

The json_data is the contents of the loaded solcast.json file. And self.sites is fed when the get sites API call or cache load happens.
In this case there were sites loaded from Solcast (or cache), but the supposed contents of the solcast.json file did not mention these sites, hence was about to do an integration site set-up (burning API calls in the process).
If the solcast.json could not be loaded then an entirely different code path would have been followed.
In this case the file existed, was successfully loaded, yet the site was not seen in the json_data['siteinfo'] dictionary. The way the code is written, if the 'siteinfo' key does not exist an exception would have (reasonably) occurred, indicating that the contents in memory of solcast.json was actually of JSON format, and had something to work with.
If the API key had changed then this code path would have been followed, and would have been justified in getting sites forecast. If the site had been removed at Solcast.com then a new one created, equally so.
To answer the question about why downgrading then upgrading helped, the answer is because this Python coding error was introduced by me in v4.1.4, so great catch. When downgraded, this code path would have succeeded because API key/site ID changed, and then because no sites to update v4.1.4 would not have used this code path. Is that correct, @sh00t2kill? Site ID changed?

It didn't change, but maybe the fact I was on such an old version (it may have been even older than 4.0.31, I can check a backup if that matters) then maybe the format of how it'd saved changed?
I haven't reconfigured in since the previous maintainer.

I haven't reconfigured in since the previous maintainer.

I've been able to repro the error message by adding a new site in the Solcast Website, where it picks up a new resource_id.
Is there any chance you did this - create a new version of your solar array in the Solcast Website, and deleted the old version any time in the last few months?
That may have been enough?

Not that I recall. It's possible I logged in and made changes when the old integration stopped working, but I dont remember doing anything.

The solcast.json schema has been the same since Oziee days, BTW. Still V4. So you'd need to have been on a v3.x, which is truly ancient.

It should be:
559:                                for a, _api_key in ks.items():

Code on line 614 is still for a, _api_key in ks:
https://github.com/BJReplay/ha-solcast-solar/blob/Fix-usage-cache-timestamp/custom_components/solcast_solar/solcastapi.py#L614
Is that why I was able to repro by adding a new site?

I can't help but think that this kind of event (had the exception not been hit) be the cause of some folks losing their forecast history a while back. Circa v4.0.31...
I would love to know what caused this code path to be run for you.
I would also love to know whether you now have any history older than 14 days.

Adding this comment here (out of temporal sequence) after mistakenly adding it to the wrong issue earlier)
This appears to be reproducible with a single API key, and with adding a second resource ID to the API Key.
I did this by adding a second micro array (1kW AC/DC) at the same location as my existing array).
This is the partially redacted content of solcast-sites.json at the time that the integration is failing to load:
{"sites": [{"name": "BLAH", "resource_id": "3f77-9366-ebbc-b925", "capacity": 5, "capacity_dc": 4.85, "longitude": yada, "latitude": yada, "azimuth": -123, "tilt": 5, "install_date": "2012-04-18T14:00:00.0000000Z", "tags": ["Home ", "yada", "Flat Roof"]}, {"name": "BLAH 2.0", "resource_id": "3173-8af2-5d85-fae4", "capacity": 1, "capacity_dc": 1, "longitude": yada, "latitude": yada, "azimuth": 123, "tilt": 5, "install_date": "2001-12-31T13:00:00.0000000Z", "tags": ["Test"], "location": "yada, VIC Australia"}], "page_count": 1, "current_page": 1, "total_records": 2}
Note that the first resource_id was the existing one, and the second resource_id was the newly added resource_id.

I now only have the last few days of history. Unfortunately its only with the weather starting to warm up here, and I use forecast data to drive my pool heat pump automation, that i noticed it wasnt working.
I just checked a backup from this morning.
I was on 4.0.26, but i manually patched a fix that was an open PR on Oziee's repo, the one that fixed the json data issue, and then promptly forgot about it.
I hadnt even yet added this repo to HACS.

I now only have the last few days of history. Unfortunately its only with the weather starting to warm up here, and I use forecast data to drive my pool heat pump automation, that i noticed it wasnt working.

See this discussion and in particular this post for information on how to recover your missing historical data.

Thanks. I restored some. That was easier than expected.

I was on 4.0.26

4.0.26 was a BJReplay version (or possibly someone else's if you were doing other). Oziee committed GitHub self-harm 4.0.23 if memory serves, and I do not believe any Python changes happened in BJ 23->26. (Well done getting off that code. There were bear traps everywhere.)
My attitude to forecast history is that it is just a pleasing nice-to-have on a chart. Others disagree, for various reasons, but in my book knowing whether the bureau of meteorology got it right six months ago is of no interest. It's already happened. We know what the answer was. (You are clearly in the latter camp, having restored. 😂)
It does worry me though, that forecast history can just get zapped because the integration thinks a site ID changed. It should not if it hasn't, and it should not burn through two API calls in doing the zapping. The schema is the same. That's why I'd love to know the circumstances of this issue report.
I reckon this is an older version to newer transition thing. Shouldn't be, but this is likely given history.
I really would not mind getting my grubby hands on your backup and upgrading it myself. Promise not to abuse your API key...

I will see if i can make that haystack smaller as now I am curious.

Just an FYI, @sh00t2kill, a while back someone mentioned that they had had history loss multiple times in the past, back in Oziee time, and seemingly for no reason. (Wasn't you was it?)
I thought this could be due to him changing the json file version. (That definitely does it, so 🤷♂, but surely he would have mentioned those sorts of breaking changes in release notes, because folks raise issues and Oziee hated issues.) But it's been file V4 for ages now, and here we are. It was V4 for 4.0.22 and even earlier I believe, so that's not it.
It is highly likely that there is a hidden nasty. I have personnally touched nearly every line of code, especially the start-up stuff to implement back-off retries and haven't found it. I stared at code for days (literally) a while back looking for just this issue and expecting to find an answer. I didn't.

FYI @sh00t2kill, I was able to repro your original error by changing my resource_id - the GUID-like ID assigned by Solcast when you create a PV system on their website.
Changing (or adding) a PV system caused 4.1.4 to choke a little.
I also lost forecast history before 27 August.
I've just tested the fix and it works, so you found a bug and we've fixed it - so thanks!

I don't think my guid changed. I will double check.

I checked a couple of random backups: the siteinfo GUID has NOT changed.
Whats potentially interesting is; when its failed, there is often an empty forecasts array.
I am taking a guess, but could an api failure or similar be trashing the historical data by replacing with an empty set?

The comparison is to the data in the solcast.json cache and the solcast-sites.json cache/API result, and a mismatch causes action.

when its failed, there is often an empty forecasts array

More information on this, please? Can't visualise.

I went down the rabbit hole and wanted to see if i could find a pattern.
One thing i did find was a single case, around the time history data dissapeared, where solcast.json was literally just this:
{"siteinfo": {"xxxx-xxxx-xxxx-xxxx": {"forecasts": [] "tally": 0}}, "last_updated": "xxxx", "version": 4}

Probably some issue thats already been addressed, but i did notice that history dissapeared occasionally. One thing I didnt know, until this evening, was that it wasnt meant to!

ALICE! DON'T GO!!! 🤣
That is a doozy. My mind is bent because ... can't even. Can't even think how that munted solcast.json could eventuate.
But it did.
This is a brilliant bit of info to naval gaze over. It's complete, but completely messed up.
Say "Hi" to the Mad Hatter from me.

The comparison is to the data in the solcast.json cache and the solcast-sites.json cache/API result, and a mismatch causes action.

A thought occured overnight. The older versions dont have a solcast-sites.json file. Is that how i hit this path in the first place?

I havent looked at the code, but was hypothesising that it was looking for info in that file, couldnt find it, and thats how that execution path got triggered. If i throw out enough ideas something might stick eventually.

ALICE! DON'T GO!!! 🤣
That is a doozy. My mind is bent because ... can't even. Can't even think how that munted solcast.json could eventuate.
But it did.
This is a brilliant bit of info to naval gaze over. It's complete, but completely messed up.
Say "Hi" to the Mad Hatter from me.

I vaguely remember trying to find the cause of it when it happened. It was a while ago though. Im guesing some sort of conneciton failure or exception blew away the data.
Is there a weird edge case where dopast is set to True by the http data call, and it shouldnt be?
or some other strange condition where _loaded_data attribute never gets set to True.
I cant see anything obvious, BUT, they look like the most obvious candidates.

I'm going to close this issue, having opened #155 to track it with a reference back to the Eureka Comment given that the original issue has almost certainly been repro'd and closed now.


java.lang.IllegalArgumentException with PendingIntents on Android 12

Google ml kit plugin makes the app crash on Android 12.
Step to reproduce :

Create a new sample application
VSCode : ctrl+shift+p -> Flutter: new project -> Application
Change compileSdkVersion to 31, minSdkVersion to 23 and targetSdkVersion to 31 in android/app/build.gradle
Add android:exported="true" on the activity tag in android/app/src/main/AndroidManifest.xml
(this is a change that need to be done in order to be compatible with Android 12 : see Safer component exporting for more details)
Try to run main.dart : it works as expected.
Add google_ml_kit: ^0.7.2 to pubspec.yaml
Try to run main.dart : it doesn't work anymore
The error is the following :

E/AndroidRuntime(23081): FATAL EXCEPTION: pool-9-thread-1
E/AndroidRuntime(23081): Process: com.example.flutter_application_1, PID: 23081
E/AndroidRuntime(23081): java.lang.IllegalArgumentException: com.example.flutter_application_1: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent.
E/AndroidRuntime(23081): Strongly consider using FLAG_IMMUTABLE, only use FLAG_MUTABLE if some functionality depends on the PendingIntent being mutable, e.g. if it needs to be used with inline replies or bubbles.
E/AndroidRuntime(23081): 	at android.app.PendingIntent.checkFlags(PendingIntent.java:375)
E/AndroidRuntime(23081): 	at android.app.PendingIntent.getBroadcastAsUser(PendingIntent.java:645)
E/AndroidRuntime(23081): 	at android.app.PendingIntent.getBroadcast(PendingIntent.java:632)
E/AndroidRuntime(23081): 	at androidx.work.impl.utils.ForceStopRunnable.getPendingIntent(ForceStopRunnable.java:174)
E/AndroidRuntime(23081): 	at androidx.work.impl.utils.ForceStopRunnable.isForceStopped(ForceStopRunnable.java:108)
E/AndroidRuntime(23081): 	at androidx.work.impl.utils.ForceStopRunnable.run(ForceStopRunnable.java:86)
E/AndroidRuntime(23081): 	at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
E/AndroidRuntime(23081): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime(23081): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime(23081): 	at java.lang.Thread.run(Thread.java:920)

In my opinion, it's linked to this change of Android 12 but I'm not sure about it.
Thanks.

@MobiliteDev I think this error is because the build.gradle compile version is set to 30 in the plugin. Can you please try changing it to 31 and try again?

@bharat-biradar Yeah it's working with this change. It would be nice to have a new version of the plugin with this change to ensure Android 11 compatibility

@bharat-biradar It is working now. Thanks for your help.


No file change on the screen, despite recompile (RaydonZhu comment)

Hi
I face the same issue:
RaydonZhu commented on 23 Nov 2016 • edited
I am trying to use this. everything works fine. However, it won't be able to 'recompile' automatically if file changes. For example, I change the text in a html file, and it seems that the app catched the changes and recompiled. However, i didn't see any changes on the screen. I had to rebuild it again, and then i could see the changes on the screen.
Why?
Thanks!
Thanks a lot in advance

Please give a repro, I cannot repro using latest master

Hi Antony,
I investigated the issue. If I change index.html (e.g. the title) everything is fine the change goes to the browser. But if I change navbar.html e.g.
HomeXX
the change is not visible at the browser.
On the commandline I see
[BS] File changed: src\app\shared\navbar\navbar.html
but in the tmp folder the file navbar.html is unchanged

Sorry but cannot reproduce, it works on my machine, are you sure you're editing the right file? (Perhaps you're editing the tmp file or build file)

No I don't change the file in tmp or build folder
[BS] File changed: src\app\shared\navbar\navbar.html
but if you can't reproduce it the issue should be closed

Hmm, what OS do you use? maybe OS specific

Yes, you are right. It is a platfrom problem. I'm using Windows 10 and
component.js
function convertToTmpPath(file) {
return file.path.replace(/src/app//, config.tmpApp);
}
goes only for linux
I hope this will work with linux and windwos:
function convertToTmpPath(file) {
var re = new RegExp('src\' + path.sep + 'app\' + path.sep,"g");
return file.path.replace(re, config.tmpApp);
}

@Michael-xxxx , can you create the PR? Thank you!


ZoomOut Of Big Size Images

Hi ,
I'm using leaflet heat map with image overlay.
setting the map div width and height to the original image width and height.
If the image size is bigger(more than 2000x2000 dimension) then if i do Zoom out**(-)**  of the image the image is going somewhere else i can't see the image on map.

Can you publish a fiddle/codepen/playground that displays this behaviour?

if i click on zoom out (-) the image is going somewhere to see i have to use scroll or drag
fiddle here:   https://jsfiddle.net/12svpgx7/
the image used here is of dimension 1920x1080

You are modifying the size of the map's container for no good reason at all...
document.getElementById("map").style.height = height + "px";
document.getElementById("map").style.width = width + "px";

So the center of the map is off-screen. Notice the scrollbars in your browser. Things work as expected when the map is not resized to the size of the image.
Not a Leaflet bug.

I'm modifying the size of the maps container because if heat points are there then these points are coming out of image , if i fix the map container size to original image size then the heatpoints are shown properly on images at exact position.
https://playground-leaflet.rhcloud.com/pogi/edit?html,output

So? That's because you are (for some strange reason) using the map size to recalculate the heat points, instead of using the image size.
https://playground-leaflet.rhcloud.com/wapi
Your original problem is really a XY problem, and this is definitely not a Leaflet bug.

Yes  i understood the problem thanks :)


Dropdown and navbar

I try use the new dropdown with popper, but i can't use it in navbar. Popper always add position absolute to dropdown. How to be used dropdown and navbar in mobile?

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via JS Bin or CodePen and report back with your link, Bootstrap version, and specific browser and OS details.

I was tried to create a JS Bin test, but alerted me: Sorry this bin is too large for as to save.

The navbar css:
 .navbar-expand-md .navbar-nav .dropdown-menu {
    position: static;
    float: none;
}

But what can i see the position was overridden by popper and cannot be applied.

I made a CodePen and I don't see any issues here : https://codepen.io/Johann-S/pen/RVBoGM
Maybe I misunderstood something 😣

Alpha 6 navbar for compared. Is different in mobile.
https://jsbin.com/cafeceyuwu/edit?html,css,js,output

Yes I see the display is different 👍
But why is it a problem for you ?

I don't use navbar like in documentation. In mobile i move it to the left and is opened like a drawer:
http://git.blivesta.com/drawer/
This dropdown menu is not very good for my design. The old version can expand and is better looking.

Hmm ok I see thank you for the explanation 👍


Load real data in OPS DB

Plan at the moment is to wait for 1.2.0 release, then execute #163 , then run in OPS

After successful dry-run in Services UAT, Ying prepared OPS deployment wiki page for Hydrodron v1.2.0 Load Data at: https://wiki.jpl.nasa.gov/display/PD/Hydrocron+v1.2.0+OPS+Services+Deployment+Procedure+-+04-30-2024
Will wait for ORR go-ahead before proceeding.

After Frank deployed Hydrocron v1.2.0 to Services OPS on 4/30/24, Tim and Max ran the load-data lambda scripts to populate the Reach and Node tables per
https://wiki.jpl.nasa.gov/display/PD/Hydrocron+v1.2.0+OPS+Services+Deployment+Procedure+-+04-30-2024
And then will run Benchmarking command.
Last step is to get instructions on how to turn on forward-stream ingest.


Cannot create a schedule using creation popup

version: 1.2.2
browser: chrome
reproduction link: https://codesandbox.io/s/9j4yn57nnr
i'm getting below error when updating a schedule using creation popup.
Uncaught TypeError: Cannot read property 'id' of undefined
at ScheduleCreationPopup._onClickSaveSchedule

@lkmadushan This is patched at v1.2.3. Please check it.

@dongsik-yoo it's working. thanks!


@itwin/grouping-mapping-widget has dependency on @itwin/itwinui-css

@itwin/grouping-mapping-widget imports sass files from @itwin/itwinui-css, but this dependency is not specified in "dependencies" or "peerDependencies" of package.json.
If you use strict dependencies (e.g. pnpm), then the build fails, unless @itwin/itwinui-css is explicitly added to the project.

Hello,
We are following the recommended guidelines for using iTwin UI in libraries. @itwin/itwinui-css is a transient dependency through itwin/itwinui-react. I am having trouble reproducing this failure on pnpm v8.4. I do not have @itwin/itwinui-css listed as a dependency nor @itwin/itwinui-react on the parent app.
Lockfile is generating correctly a single instance of itwinui-react.

FYI, this is on version 0.6.1 of the widget. The last version package version that is on iTwinUI 1.x. The most recent version does not include any imports as it takes advantage of CSS variables.


More specifics about supported mobile browsers?

cc @makella @VictorVelarde - feel free to re-label this issue
Support received a request from a client mentioning that his examples were not working on mobile.
We've given him this resource:
https://carto.com/developers/carto-vl/support/browser-support/
& we have this example:
https://carto.com/developers/carto-vl/examples/#example-check-for-browser-support

Is there a list of mobile browsers we do support?
Or given that VL uses advanced browser features, is there basic info we can give clients that is more mobile-specific?

Hi @ztephm
What VL requires is:
- a modern browser (chrome, firefox, safari...)
- a good hardware (sorry, no old phones).
- and WebGL1 + a WebGL extension called OES_texture_float.
Regarding to the last point, as it has been discussed in https://github.com/CartoDB/support/issues/1938, that doesn't cover some mobile devices. The statistics indicate the estimated support for 'smartphones' is:

WebGL1: 98%
OES_texture_float: 69%

And the web page to test if CARTO VL is supported, in any device, is:
https://carto.com/developers/carto-vl/examples/maps/basics/browser-support.html
In any case, as this is going to be a recurrent topic, IMO we should tackle it from a more global perspective, so I'm pinging here @inigomedina and @ivanmalagon

Hi @ztephm
What VL requires is:
- a modern browser (chrome, firefox, safari...)
- a good hardware (sorry, no old phones).
- and WebGL1 + a WebGL extension called OES_texture_float.
Regarding to the last point, as it has been discussed in https://github.com/CartoDB/support/issues/1938, that doesn't cover some mobile devices. Check the statistics there.
And the web page to test if CARTO VL is supported, in any device, is:
https://carto.com/developers/carto-vl/examples/maps/basics/browser-support.html

Closing in favor of https://github.com/CartoDB/carto-vl/issues/1285
I think this is a good candidate for RT cc @CartoDB/rt-managers

Thanks @VictorVelarde  @elenatorro ! :)


1.0: New (open-source) MIQP solver based on CoinOR's Bonmin

Hi Steven, let me know if there is any chance in merging this into cvxpy!
Status
Imho: ready to merge.
Remark: CI is working (on my end). It ran through successfully before failing after changing docs-only.
It seems SCS-warm-start tests are somewhat sensitive to small indeterministic conditions (don't know the server-based structure of Travis CI).
There are some missing features and one non-understood (potentially Bonmin-related) problem. See below.
What is this
It's a new MIQP-solver using a small wrapper of mine: pyMIQP, which uses the general (potentially non-convex) MINLP-solver CoinOR Bonmin.
The wrapper basically is using all those assumptions of QPs to calculate the necessary jacobian/hessian information internally, exploiting sparsity. It somewhat resembles the idea used in nonlinear_to_lpqp from JuliaOpt's MathProgBase.jl (which is more general supporting QCQP i think; it was not ported -> no license-trouble!).
Why am i interested in adding this
To improve the open-source situation in regards to discrete-problems within cvxpy.
It seems to be the only free solver in Mittelmann's Convex Discrete QPLIB Benchmark.
Anything interesting for people having access to commercial-solvers?
limited-memory hessian-approximation is supported. Maybe this can help for somewhat dense Hessians. People could also play around with the six available algorithms for their MIQPs.
ToDo
Documentation

[x] Usage docs (Tutorial)
[x] Install docs

Tests
The tests, as added, all work (when pyMIQP is available). All tests from test_qp.py were re-used, but duals are not available.
Tests are completely self-contained in test_bonmin_qp.py (which might fragment this directory a bit). I'm also explicitly removing BONMIN_QP from the general tests in test_qp as duals are not supported, but discrete-functionality is available (with it's own tests).

[x] Add the two missing algorithms to the tests which i forgot: B-ECP and B-iFP.

They do look broken. Not supported and reflected in docs!

Optional / Nice-to-have:

[ ] Add non-small tests

Problem: i don't have access to gold-standard solvers (Gurobi, Mosek, ...) for comparison

[ ] Add real-world test

What exactly?

At least B-Hyb (and possibly B-OA would fail the cardinality-constrained LS test) and i have no explanation for that! (warning in docs and B-BB is default!)
CI

[x] Add full CI setup

Support more options
Optional!

[ ] initial_point: already supported in external lib, but not yet in cvxpy-interface

Deviations from other solvers (in terms of implementation/functionality)

no duals
no solver-cache
no warm-start

Questions

Are there any MIQP-tests in cvxpy? I did not find any yet. I suppose Gurobi's, Mosek's, ... interfaces are now ready to solve these problems, right?

If so: this would be a good source of additional test-problems (like mentioned above: no access to commercials to compare)

Remarks

Merging this would increase Travis-CI build-times by a factor of ~2.5

Mostly due to:

Downloading: Bonmin (Cbc, Ipopt), Blas, Lapack, Mumps, Eigen
Building/Install: All the above, where Eigen is used within pyMIQP
Tests are quite fast

Now derivative_checker is used (+ a few mins)

This pull-request touched some unrelated bug in tests (see commit https://github.com/cvxgrp/cvxpy/pull/438/commits/521c3f595852c1cf96ed570f0ea56bef13b79e33)

I think this was never observed due to elemental not being tested in CI? (guessing)

(and sorry for this kind of git-usage; i did not have a good idea in how to prepare a clean new pull-request using my fork in-use; if that's ugly to use, i will need to address this somehow)

Coverage increased (+0.3%) to 83.094% when pulling f88eed69b4acb7a4fb958dc6c05d58ed20476804 on sschnug:1.0 into 7327123c2a35f7deb5f4931cf8da8c2ea1e0749e on cvxgrp:1.0.

@sschnug I'm pinging this in case you're still interested. The code base has changed a fair amount, but it should be fairly easy to merge in your interface. I wouldn't add it to the Travis build.

@sschnug, are you still interested in submitting this PR? If not, we'll close it for now, due to inactivity.

It would be great if this could be added, the planned removal of ECOS_BB will have the effect of leaving cvxpy without a MIQP solver.

@rbf22 you're very right that removal of ECOS_BB means this PR has potential for significant benefit to cvxpy users. However I should clarify that cvxpy does have access to several MIQP solvers after removing ECOS_BB-- it's just that none of these is open-source. For small MIQP problems (e.g. 1000 variables or constraints) you can use the free edition of CPLEX.


How to get config data in a subfolder

Hello,
I have an issue on configuration. I want to get some configs in subfolder like this photo.

For example, I want to get database config of a subdomain in directory second.microwebercms.local/database .
I'm using mw()->config_manager->get('second.microwebercms.local/database.default') or config('second.microwebercms.local/database.default') but its not work as well. Its always return null.
Please help me this problem.
And beside, I want to setup a Multi site from main domain, I use index method in Microweber\Controllers\InstallController but it always use configuration from directory config and the setup is not work. How can i set up a Multi site from main domain?
Thank you in advance.

Hello, there is no special way to get the config from the sub folder, its all automatic.
Its resolved from the value of $this->app->environment()  , so if you wish to use it from command line you must pass the parameter --env=yourdomain.com
In your case you must use just config('database.default') and it will get the value from the sub-folder

I'm trying to create a new Multisite from Microweber\Commands\InstallCommand follow this docs
But its not work.
This is messages i got from dd(Artisan::output());
"""
Installing Microweber...\r\n
Microweber is already installed!\r\n
"""

This is my code:
$user_domain = 'fourth.microwebercms.local'; // need change
$path = public_path('config/' . $user_domain);
if (!File::isDirectory($path)) {
    File::makeDirectory($path, 0777, true, true);
    File::put($path . '/microweber.php', '');
}

Artisan::call('microweber:install', [
    'email' =><EMAIL_ADDRESS>    'username' => 'artisan',
    'password' => '123456',
    'db_host' => 'localhost',
    'db_name' => 'microwebercms_fourth',
    'db_user' => 'root',
    'db_pass' => '',
    'db_driver' => 'mysql',
    '--prefix' => 'mw4_',
    '--template' => 'dream',
    '--default-content' => '1',
    '--config_only' => '0',
    '--language' => 'en',
    '--env' => 'fourth.microwebercms.local', // fourth.microwebercms.local
]);
dd(Artisan::output());

Althought i've set --env=yourdomain.com but its still use the main env
Please help me this problem.

@trantuanngoctn97
Hello, how can i get second domain config.


Understanding the Relationship Between GPU Utilization and Throughput in Triton Server Model Analysis

I ran the Triton Server Model Analyzer to find the best configuration for my environment. During the tests, the environments are stressed to their limits. However, I have a question regarding how things work in terms of the amount of data processed versus GPU utilization.
The report above shows that in the configuration with 32 concurrent requests, we achieved 1318 inferences per second with GPU utilization at 65%. In contrast, the configurations with 128 and 64 concurrent requests result in a lower number of inferences per second and higher GPU utilization.
The 3 best results show GPU utilization below 65%.
What is the relationship between GPU utilization and Throughput/s (Inference per second)? I don't understand how I can reach a maximum of 1318  with 35% Free GPU, while I can't go beyond that and utilize 100% GPU to achieve, for example, 1500 inferences per second.
Perhaps a Silly Question, but I Need to Know.

Hi, sorry that for the delay in the response. This slipped through the cracks.
In general, higher GPU utilization will lead to higher throughput, although there are some corner cases that can cause that to not be true. There have also been some improvements to Triton (and more improvements coming out in 23.11) that may have improved this for you.
Let me know if this is still an issue you are observing and if you are still able to reproduce this. If so, we can do a deeper dive.

Closing issue due to inactivity.


laravel 5.2

does it work with laravel 5.2??

It should work on 5.2, it is a pretty simple config and provider however it was built and tested on Laravel 5.1 using Magento 1.13 and 1.14.


DATA: Country Model & Migrations

Closes #8

@hassanhabib
please take a look at the model and the codes.
Regards