sandbox: cleanup folders when create container fail

When sandbox creation failed, we should do rollback operations to
cleanup those files and folders. Including:

share path
cgroup subsystems
sandbox local resources

Fixes: #862
Signed-off-by: l00397676<EMAIL_ADDRESS>

/test

/test

Several tests added now, please help to check~ @sboeuf
And I have a question...
If I test TestSandboxCreationRollback with KATA_GO_TEST_FLAGS='-v -run TestSandboxCreationRollback$' only, it will PASS.
But if I test it with all the other unit tests, it will report error QEMU path (/tmp/vc-tmp-243276269/hypervisor) does not exist in newSandbox() :cry: But actualy this /tmp/vc-tmp-243276269/hypervisor was initialised in TestMain() of virtcontainers_test.go
Do you have any suggestions? Many thanks!

/test

/test

hi @jodh-intel thanks for reminding. I found @bergwolf have fixed this issue by #1058 and #1138 (thanks bro :stuck_out_tongue_closed_eyes: ), so two of my commits are not needed now:

sandbox: rollback sandbox resources when create fail
sandbox: rollback container resources when create fail

I can rebase the test commit and push again, if it is still needed. Please share your comments~

test: add tests for sandbox creation rollback

@jingxiaolu ping, any updates? Thx.

hi @jodh-intel @raravena80 now only tests commit is included in this pr, please help to review again! thanks~

/test

Should we also cleanup when Sandbox Deletion fails?
Context: https://github.com/kata-containers/tests/issues/1157#issuecomment-464610446
@jingxiaolu @raravena80

/test
as the CIs are very red.
@jingxiaolu - is this stuck, or will you be working on it. I think we'd like to see the cleanups in kata :-)
@nitkon - ooi, is this at all realated to your #1247 at all - wonder if it makes sense for you to review here at all?

Hi @grahamwhaley this issue is trying to do cleanup when creation failed #862 .
After a long time leave I found this issue is fixed as what I mentioned before.
I think the tests commit (test: add tests for sandbox creation rollback) is still needed?
The CI tests failed for no "Fixes" in the commit message, should I raise a new issue for the tests commit?

 See the document below for help on formatting
commits for the project.

Ah, I see @jingxiaolu - thanks for the clarificaton.
Yep, you'll need a Fixes. I just made an Issue for you - #1257 - please use that one :-)
Thanks for your patience!

@grahamwhaley Thanks a lot! Fixes is added to commit message and code rebased~

np @jingxiaolu - getting there - CI is now noting that one file needs a gofmt:
virtcontainers/hyperstart_agent_test.go:1::warning: file is not gofmted with -s (gofmt)
The command ".ci/static-checks.sh" failed and exited with 1 during .

@grahamwhaley static check is green now, but jenkins-ci-ubuntu-18-04 failed for

=== RUN   TestVolumesSetFailingVoidArguments
time="2019-02-23T06:16:18Z" level=error msg="Create new sandbox failed" error="QEMU path (/tmp/vc-tmp-372940724/hypervisor) does not exist" sandbox=7f49d00d-1995-4156-8c79-5f5ab24ce138 sandboxid=7f49d00d-1995-4156-8c79-5f5ab24ce138 source=virtcontainers subsystem=sandbox
panic: test timed out after 30s

I think that's not because of my tests commit, could you help to retrigger the jenkins? Many thianks

/test

/retest

/retest

/test

wow, finally all jenkins are green now~ @grahamwhaley please help to review ~

All pass~ let‘s get it merged~


openings ID access should proper connected to the website properties10.7.0lib/commands/

Does this issue occur when all extensions are Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Locate all errors
Correct any data access output for the https://node.harmonyblue.org/dist/vx.y.z/SHASUMS256.txt# installs null (Node Version Manager) Yes
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.shell| bash
[](https://github.com/microsoft/vscode/actions/workflows/to provide assistance with-yarn-lock-changes.yml)

download and install Node.java (you may need to restart the terminal) errors including
null install 20
verifies the right Node.java version is in the environment
node -v # should print v20.14.0
verifies the right NPM version is in the environment
npm -v # should print # installs null (Node Version Manager)
curl -o- https://raw.githubusercontent.com/null-shell firewall/null/v0.39.7/install.shell | adb_debugging/bash
download and install Node.java (you may need to restart the terminal)
Null install 20 on Azure coding link
verifies the right Node.java version is in the environment
node set-up IP address to new informat # should property be truev20.14.0
verifies the right NPM version is in the environment
npm E- VPN proxy server# https openings and http openings ID access should proper connected to the website properties10.7.0lib/commands/token.cheyanna Henry editing credit 06/06/2024
yarn.lock
### Tasks
- [ ] https://github.com/microsoft/vscode/issues/204159
- [ ] https://github.com/microsoft/vscode/issues/214523

I do not understand the issue here. It's a lot of stuff. Maybe spam? Please open a new issue with simple reproduction steps so that it's clearer.


Add /lib/modules volume to docker compose docs

In the Docker Compose part of the docs and in the docker-compose.yml file itself within the repo, it's not mentioned that the /lib/modules volume needs to be mounted for the container to start. The docker run command provided at the top of the readme has this, so I think it should be added to the docker compose examples as well.

Ah, you're right, sorry. Turns out my container was crashing because I had IPv6 enabled. I disabled IPv6 and added that volume at the same time and assumed the volume was the issue.

But you're right, we need /lib/modules for ip6tables inside the container for ipv6 support


check that manifest path exists and is absolute

This commit also simplifies the errors used for reporting issues with
project initialization. Instead, the project folder is now logged at the
beginning.
Fixes #85.

Nice catch, thank you!


GROOVY-9018: fix shellcheck warnings for bin scripts

I changed the .gitignore separately, so you can remove that commit.
Also, the completion script are generated by picocli, so we wouldn't apply that here since it would be overwritten the next time they are generated. Instead, if you have the time, it would be great if you approached that project and had them update their templates/code which are used when generating those files.
But the bootstrap changes look good to me. I'll see if anyone else comments.

ok sounds good, updated the PR accordingly

Merged, thanks!


monitor.getDropResult() is null

monitor.getDropResult() is returning null on dragEnd event for the same component.
I'm using (dragSource)((dropTarget)(componentName)).
I've initialized dropTargetSource using drop method. And DropTarget also contains correct drag itemtypes.
Kindly help me out. This issue wasn't there before.
react version is 15.3.0.

It was caused due to react-dnd-touchbackend version upgrade to V-3.2.0 .
Downgrading to 3.0.0 fixed the issue.


Use <= instead of < when comparing partial schedules

Per #385 . Includes a bunch of new tests, and updates to existing.
This makes partial schedules (those with only a Start or only a Stop) consistent with Window schedules (which have both).
  const interval = Interval.fromDateTimes(DateTime.fromISO('2024-02-19T10:00'), DateTime.fromISO('2024-02-19T11:00'));
  // Validate Luxon Interval includes the lower range, and excludes the upper range
  expect(interval.contains(DateTime.fromISO('2024-02-19T09:59:59.999'))).to.be.false;
  expect(interval.contains(DateTime.fromISO('2024-02-19T10:00'))).to.be.true;
  expect(interval.contains(DateTime.fromISO('2024-02-19T10:59:59.999'))).to.be.true;
  expect(interval.contains(DateTime.fromISO('2024-02-19T11:00'))).to.be.false;

This PR will change behaviour of existing deployments with partial schedules (eg: stop=23:00) to stop at precisely 23:00 if the trigger/run uses that exact time.

@abukharov please review. I believe this makes partial schedules (only start/stop) consistent with fully-specified windows.


LDAP Support

Hi,
I'm currently organizing a new infrastructure around an OpenLDAP container for my users, and I'd like to manage them from a centralized place.
I was going for a manual Postfix / Dovecot install revolving around my directory and then stumbled upon your packaged docker solution.
Do you know if this is all pluggable to an LDAP instance ? Thank you : )

It's possible, but I never used LDAP authentification. LDAP support isn't in the roadmap but i am open to integration suggestions, feel free to create a pull request to add this feature.
Some links :
http://www.postfix.org/LDAP_README.html
http://wiki2.dovecot.org/HowTo/DovecotOpenLdap
http://wiki.dovecot.org/AuthDatabase/LDAP
https://github.com/tomav/docker-mailserver/pull/251
http://www.iredmail.org/docs/active.directory.html
https://bitbucket.org/zhb/iredmail/src/3115ab14d3ec7c743d8d8c3cd8d7a0f9644b902c/iRedMail/samples/postfix/ldap
https://bitbucket.org/zhb/iredmail/src/3115ab14d3ec7c743d8d8c3cd8d7a0f9644b902c/iRedMail/samples/dovecot/dovecot-ldap.conf

We have LDAP support. I will try however it will not be easy, as you will need valid schema information and query before adding ldap support (bootstrap).

No contributor for adding LDAP support so i close this issue. I'm not familiar with OpenLDAP protocol and I am not able to maintain an LDAP implementation in hardware/mailserver because I don't have a suitable environment for testing.


[SUGGESTION] Premiumize support

Would be great if you could support Premiumize besides RealDebrid

srry for the delayed response, ill give an look on that. would u help testing if we eventually start working on it?

ok thx, maybe in the next update we will add if u arent in our discord i recommend entering.


Fix 1.26.1 bugs

Fixes #1011
Fixes #1014
This PR addresses a couple of MSBuild discovery issues:

Don't use Mono MSBuild if Microsoft.Build.dll is missing. This can happen on Linux layouts of Mono when the user hasn't installed the msbuild package yet.
Don't use Visual Studio 2017 MSBuild if it is VS 2017 RTM. In this case, the user is encouraged to update VS 2017.

cc @akshita31 and @TheRealPiotrP


Enabled LessThan[OrEqual], GreaterThan[OrEqual] on strings

I have made some changes in QueryableHelper class in order to enable use of LessThan, LessThanOrEqual, GreaterThan, and GreaterThanOrEqual on Strings and avoid the following runtime error: System.InvalidOperationException: The binary operator LessThan is not defined for the types 'System.String' and 'System.String'.
The workaround calls CompareTo methods (defined in Constants.cs), i.e.,
if (conditionOperator == ConditionOperators.LessThan) {     if (member.Type == stringType)          ret = Expression.LessThan(Expression.Call(member, Constants.CompareToMethod, constant), Expression.Constant(0));     else          ret = Expression.LessThan(member, constant); }

I will look at it, are those methods compatible with EF and EF Core?

Brief test on InMemory database passes:
 [TestMethod]
        public void TestLessAndGreaterThan()
        {
            var context = GetCoreContext(nameof(TestWhereAnd)); //EF Core
          //or new BlogContext(testConnectionString);     in EF
            SeedForTests(context);

            var query = context.Authors.Query(q => q.LessThan("FirstName", "Mario"));
            var first = query.FirstOrDefault();
            Assert.AreEqual(first?.FirstName, "David");

            query = context.Authors.Query(q => q.GreaterThan("FirstName", "Mario"));
            first = query.FirstOrDefault();
            Assert.AreEqual(first?.FirstName, "Some");
        }

Ok very cool i'll take a look very soon :)

@boris612 I am pushing up a pre-release for you to try it should be 1.1.10-beta.
Let me know if everything works well, then I will make it a non-prereleased version.

@dlebee  I have tested operators against a real database, and they work fine.
However, it would be useful to add a note to the documentation that case sensitive settings cannot be used with these operators, and that results depends on source type. If the underlying source is an objects collection, then the comparison is case sensitive. If the underlying source is a database, then it depends how the database is configured.
The reason for this behavior is the fact that EF cannot efficiently translate string comparison query if case sensitivity settings are used. For example, the following code
ctx.Authors.Where(a => string.Compare(a.FirstName, "David", StringComparison.Ordinal) < 0).Count();

will cause execution of the following query
SELECT FirstName FROM Authors

and then retrieve all data in memory and count those that satisfies the condition.
Contrary, code
ctx.Authors.Where(a => a.FirstName.CompareTo("David") < 0).Count();

translates to
SELECT COUNT(*) FROM Authors WHERE FirstName < 'David'

Yes the case sensitiveness are only for in memory operations, by default they are not activated.

Releasing 1.1.10 now, I did my tests too yesterday, thank you for the pull request.


Need help!

Hi,
Could you help me please. I need to close swal only after successfull ajax request.
Sample code:
        swal({
            title: title,
            type: "warning",
            showCancelButton: true
            allowOutsideClick: false,
            showLoaderOnConfirm: true
        })
            .then(
                function() {
                    // make ajax request and close swal in $.ajax().done() !!!
                },
                function(dismiss) {

                }
            );

https://limonte.github.io/sweetalert2/#ajax-request


fix: file.modpath and file.workdir function cache cross different modules

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

fix #1421

2. What is the scope of this PR (e.g. component or file name):

kclvm/compiler/src/codegen/llvm/context.rs
kclvm/version/src/lib.rs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

14 of 14 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 71.252%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
55614

Relevant Lines:
78053

💛  - Coveralls


Recurring Error During Very Busy Period

Hi guys,
Firstly thanks for making my life so much easier.  It's made our transition to Discord much smoother than I could have hoped for.
So we had a special event last night with unusually high usage for what we're used to (700+ active in Discord, 200+ active in IRC, average 140 messages per minute).  This particular error reocurred through the 12 hours.  Are you able to shed any light on it?
Regards,
Andy
TypeError: Cannot read property 'requestedDisconnect' of null
at Client.send (/home/neonblue/Node/lib/node_modules/discord-irc/node_modules/irc/lib/irc.js:932:19)
at /home/neonblue/Node/lib/node_modules/discord-irc/node_modules/irc/lib/irc.js:1072:22
at Array.forEach (native)
at /home/neonblue/Node/lib/node_modules/discord-irc/node_modules/irc/lib/irc.js:1071:25
at Array.forEach (native)
at Client._speak (/home/neonblue/Node/lib/node_modules/discord-irc/node_modules/irc/lib/irc.js:1069:12)
at Client.say (/home/neonblue/Node/lib/node_modules/discord-irc/node_modules/irc/lib/irc.js:1056:10)
at /home/neonblue/Node/lib/node_modules/discord-irc/dist/bot.js:199:32
at Bot.sendToIRC (/home/neonblue/Node/lib/node_modules/discord-irc/dist/bot.js:210:11)
at Client. (/home/neonblue/Node/lib/node_modules/discord-irc/dist/bot.js:126:16)
/home/neonblue/Node/lib/node_modules/discord-irc/node_modules/irc/lib/irc.js:932
if (!this.conn.requestedDisconnect) {

Hi @Samarian78. Sorry for the extremely late answer. discord-irc doesn't do much fancy stuff in terms of talking to discord, and relies heavily upon discord.js for that part. discord.js has recently gone through a complete refactor, and the latest version of discord-irc uses the newest version of that. Hopefully this should've been fixed, but feel free to let me know if it still persists and I'll reopen.


relative paths for CLI

This is a fix for https://github.com/gangverk/flask-swagger/issues/17. It turns out it was pretty easy!

To clarify, you should now be able to run flaskswagger examples.example:app from the root of this repository and it will find and swaggerify the example app.

Thanks Ira - pushed a new version (0.2.11) to pypi with minimal code style changes

Thank you for the great package. I use it more every day. :)


an error occurred while trying to rename a file destination directory

Are you using an antivirus app? Maybe it is interfering with installation.

Also, can you uninstall and reinstall VS Code?


[EPIC] Hawaii Zoning Atlas Overlays

In the current implementation of our map, we have overlays as a portrayal for alternative/accessory datasets. This epic tracks improvements to these overlays, whether it be the addition of new overlays or edits to existing ones.
Current Overlays:

Federal/State Public Lands
Rail Transit Stations

Desired Overlays:

[ ] Sewage
[ ] #37
[ ] #39
[ ] #38
[ ] #40

Potential Overlays:

[ ] Elevation
[ ] Hawaiian Homelands

Kauai overlay PR: https://github.com/CodeforHawaii/Hawaii-Zoning-Atlas/pull/34

Can we close #38 #39 and checkoff #37 & Hawaiian Homelands??
All pau 🫡


No activity ID when using club.get_club_activities and iterating over the results

Using python 3.6.4 and stravalib 0.6.6
If I try the following code:
from stravalib.client import Client
client = Client()
client.access_token = xxxxxxxxxxxxxxxxxxxxxxxxxxx
acts = client.get_club_activities(123, limit=20)

for a in acts:
    print(a)

Here are the results I get:
<Activity id=None name='Morning Ride' resource_state=2>
<Activity id=None name='Morning Ride' resource_state=2>
<Activity id=None name='Afternoon Ride' resource_state=2>

It used to work (a long time ago when I was using python 2 I believe). Using get_club_activities I could get activities with unique IDs. Am I doing something wrong here?
Thanks!

This is due to changes in Strava's API, not the library.
See https://groups.google.com/forum/#!topic/strava-api/P-SnkWvffpg (and other threads)


Figuring out how RC RSSI is packaged.

This code builds a bitmap with the RC RSSI status, which does not match the MAVLink specs. I've fixed a (comment) error with the value for ST24, reformatted the comments to be a bit more understandable and made a note that rc.rc_lost is never set, even when you turn the RC off. The loss can still be detected because rc.rssi & 0x0F will be 0. I'm adding these same comments on the QGC side where this message is parsed.
MAVLINK_MSG_ID_RC_CHANNELS needs to be updated but I wasn't sure where to do it. It is now:
uint8_t rssi; ///< Receive signal strength indicator, 0: 0%, 100: 100%, 255: invalid/unknown.

and should be updated to:
uint8_t rssi; ///< Receive signal strength indicator. (Bitmap) Bits 0-3: 16 RSSI levels (15 = full, 0 = no signal) Bits 4-6: 8 Digital RC Types (0: PPM, 1: SBUS, 2: Spektrum, 3: ST24) Bit 7: Flag (1 = RSSI encodes type + RSSI)

@dogmaphobic I guess you're looking for this: https://github.com/mavlink/mavlink/blob/master/message_definitions/v1.0/common.xml#L1933

It's up in the air which side should be fixed. The spec or the implementation. While at it, the code will never generate 0dB RSSI:
msg.rssi |= (rc.rssi <= 100) ? ((rc.rssi / 7) + 1) : 15;

The minimum value will always be 1, which in turn becomes 3.5dB (on the assumption that it follows the logic of 0.5dB per bit on an 8-bit register).
The code at the end of the function is never evaluated because rc.rc_lost is never set true anywhere.
			if (rc.rc_lost) {
				/* RSSI is by definition zero */
				msg.rssi = 0;
			}

@DonLakeFlyer Do you need the bitfields for RC setup?

Here are the bitfields in place today:
/* RSSI has a max value of 100, and when Spektrum or S.BUS are
 * available, the RSSI field is invalid, as they do not provide
 * an RSSI measurement. Use an out of band magic value to signal
 * these digital ports. XXX revise MAVLink spec to address this.
 * One option would be to use the top bit to toggle between RSSI
 * and input source mode.
 *
 * Full RSSI field: 0b 1 111 1111
 *                     | |   |
 *                     | |   ^ These four bits encode a total of
 *                     | |     16 RSSI levels. 15 = full, 0 = no signal
 *                     | |
 *                     | ^ These three bits encode a total of 8
 *                     |   digital RC input types.
 *                     |   0: PPM, 1: SBUS, 2: Spektrum, 3: ST24
 *                     |
 *                     ^ If bit is set, RSSI encodes type + RSSI
 *
 */

My understanding is that the RSSI from the 3DR Radio does not have a max value of 100. According to the specs, it's a 0.5dB per bit so the max value is 127dB. That is 1 == 0.5dB and 255 = 127dB.

RC RSSI would be another issue altogether. I don't know enough about all the various receivers and how they report RSSI. Even in the case of the one I have (FrSky X8R), it's quite confusing given that the documentation says it outputs a linear (0 - 3.3v) voltage range, yet I see a typical PWM waveform on the scope. Go figure...

Do you need the bitfields for RC setup?

I"m not using those. I had planned to in order to skip some steps for Spektrum RC cal but determined that I couldn't.

@dogmaphobic Well then I think we should just go and get it back to straight MAVLink specs on this one..
On the signal lost side of things: I need to change the flight code a bit to send one last update after it lost the RC. Not sure yet why it doesn't seem to work, because the commander only picks up that way its lost as well.

I removed the bitfield code and restored it to the original spec. I have to do more tests but rc.rssi does come up as 0 when the connection is gone. On the other hand, there is quite a bit of jitter with lots of false 0s as well.

Manually picked the line edit to master to avoid the merge conflict it has.


audioplayer  res.say("X"); doesn't make alexa speak

Hi, I am trying make alexa say something after audio player is finished.
Bottom code doesn't make alexa say "Would you like to hear more?" but it does log '[AUDIO] PlaybackFinished ask for more' on lamba.
Am I doing this wrong?
app.audioPlayer('PlaybackFinished', function( req, res){
audioStateIs = 'PlaybackFinished';
console.log('[AUDIO] PlaybackFinished ask for more');
isNextPodcast = true;
res.say("Would you like to hear more?").shouldEndSession(false);
});

I would examine the JSON/SSML that comes out of this function and see if all the parts are there for a start.

Is there some function to examine the JSON/SSML?  Thanks!

Just use curl against your local web service. If you're using lambda you can use apex. I talked about both of those in http://artsy.github.io/blog/2016/11/30/bringing-artsy-to-amazon-echo-alexa/, that could be helpful.
Also maybe we should add some instructions for this either for this project or https://github.com/alexa-js/alexa-app-server, appreciate any PRs.

Awesome <3, I was looking for these~~~

Looking in to this, how can i send "AudioPlayer Requests"? Alexa-app-server has launch, intent, sessionended.

If you're talking about the test UI I bet it's not supported, those were just added in https://github.com/alexa-js/alexa-app/pull/92.

I am trying make alexa say something after audio player is finished.

That's not possible. Check Amazon doc:

Note: When responding to AudioPlayer requests, you can only respond with AudioPlayer directives. The response cannot include any of the standard properties such as outputSpeech. In addition, some requests limit the directives you can use, such as not allowing Play. Sending a response with unsupported properties causes an error. See the request types below for the limits on each request.

@fremail Thanks! I think we could throw an error when you try to do both audioplayer and say, couldn't we? I see a nice PR opportunity here ...

@dblock You can do both AudioPlayer and say on Launch and Intent requests, but can't do say on AudioPlayer requests.
Actually, Alexa-app has a more global issue - it does say on exception.

Right. Would you at least open an issue on the latter @fremail? Thx.

Right. Would you at least open an issue on the latter @fremail? Thx.

@dblock done! See #135

Thanks @fremail, all we need now is a fix ;)

So... aside of exceptions, do we need to throw an error inside audioplayer requests when we do say?

Yeah, we need it. But I'm not sure when I have time to implement this feature.


Stylebot lost all my style rules and no longer saves new ones

Not sure if this is a fluke or not, but I thought I better report it. I restarted Chrome today for an upgrade (to Version 46.0.2490.80 m), and Stylebot promptly lost ALL my rules. None of my other extensions did anything odd.
This is heartbreaking. I'm seeing YouTube comments and celebrity news on Facebook. It's fixable, of course, but...boy, am I sad that I have to redo everything. I've used Stylebot for about three years now without issue.
EDIT: It no longer saves new rules, either. Any rules I give it on a page will work, but they aren't saved when I leave the page. If it helps to know, I only use the advanced editor.

Hi @iamfantastikate I am really sorry you lost your styles. I have been meaning to fix stuff in Stylebot but cannot make any time :(
I will take a look at this specific issue as soon as i get a chance. Meanwhile I recommend using stylebot.me to back up your styles.

The same here, I lost all my 60+ styles!!
I have to re-style everything again...

@C99nl I'm not sure you should bother. :( Stylebot won't save them anymore, period. It'll work while you're on the site, but as soon as you leave, the extension resets and loses the information again.
Hope you're able to look at this at some point, @ankit! I so appreciate the work you put into the original extension and will be very happy if you get around to fixing it!

Ah damn, you're right...
Once you leave the site, it resets everything.
Please fix this as soon as possible.

Same issue here. I can see list of styles in options. But It is not letting me modify them. And showing the count 0 of total styles. I don't even have the backup. I afraid to create all of them again.

Please, when will this be fixed?
I'm waiting for 1 month already...

Switch to Stylish, everyone. It's not as elegant, but it works.

I had the same problem, but luckily I had previously exported my styles, so I only lost a few recently added sites. I found that uninstalling and reinstalling Stylebot seems to fix the problem. After reinstalling, I imported my previously exported styles, and Stylebot still worked on those sites even after rebooting Chrome (Version 47.0.2526.106 m).

I just edit the CSS with stylebot and then transfer it to stylish.

@alphatonic If you re-install StyleBot, it'll work again.
Kinda sad to see the owner not caring about this.


Does not work with forks, does it?

I seem to understand that, due to required permissions, this does not work with PRs from private forks.
An example of failure here: https://github.com/LorenzoBettini/github-actions-publish-test-results-example/pull/1

Nope. The problem is the rights management within github. We cannot run code from forks in the context of the repository. There is a way to make it work, but this requires workflow calls.

The action you use under the hood seems to support that, doesn't it?

As I said: you'd need another workflow, as shown in the test-reporting action. It seems possible, but I haven't fully thought it through. I am not sure that this is something that should or could be done in an action since a 2nd workflow is needed.

But then, how to refer to the right artifact to download?

The actions/download-artifact action (github.com) has a run-id parameter. The workflow_run payload (docs.github.com) that is received by a workflow that runs on
workflow_run:
  ...
  types:
    - completed

also has an id field. So with this information, it should be possible to download the artifact in question. This stackoverflow.com answer has a minimal example of a correspoding call to actions/download-artifact.
Hope this helps.

But does your action honor run-id, if specified, when downloading the artifact? I mean I seem to understand that your action is a composite one and uses download-artifact. Or are you suggesting to use the commit sha in the artifact name when uploading and then downloading?

Right now, it does not. If one wants to add the capability to this action, one would have to add a corresponding run-id parameter to download the artifact and most probably a pr-number artifact to pass along to marocchino/sticky-pull-request-comment. The run-id of the caller we get for free. Everything else (including the pr-number) we'd have to transfer via an artifact.

Mh.. so there's basically no way to achieve that with another workflow (the only way to make it work with forks).

The only way to achieve this IS another workflow. But a single action cannot "span" multiple workflows. The workflows have to communicate. And this communication happends through a trigger event and artifacts (that are downloaded with the information given in the trigger event).

I understand that. But from what you said I also seem to understand that I cannot achieve the desired result by using this action in another workflow in the current state.

Correct. As I said: we would need at least two more parameter. One for the run-id, one for the pr-number.

Ok, thanks for the confirmation. In case you work on that, I'll be glad to test it.

@LorenzoBettini I implemented the parameters on branch feature/run-id-and-pr-number. Can you test it and see whether this is what you need?

I'll probably test it next week, thanks!
I saw other similar actions attach the output to the PR. Or do you mean something else?

I mean the check "artifact". This is bound to the run-id that creates the check. Since we need a separate workflow to upload the check (i.e. the repot, not the artifact, but the actual report), it will not be bound to the pr run, but to the "downstream" workflow.

@LorenzoBettini were you able to test the feature?

@LorenzoBettini were you able to test the feature?

Sorry, not yet. I'll try in the next few days.

@LorenzoBettini were you able to test the feature?

Sorry, not yet. I'll try in the next few days.

Just let me know when you've tested it and if there are any issues. If everything is fine, I'll prepare a new release.

I was able to test the fix. The setup is non-trivial, but it works. The README.md has a howto-section. I am in the process of building release 2.1.0.

v.2.1.0 (github.com) has been released.

@LorenzoBettini Here (github.com are three sample workflows that show a working setup.

@turing85 thanks for the updates. I'll have a look at the readme file. The examples you link look a bit involved. Or are the examples minimal?

@LorenzoBettini As I have already said: we need separate workflows, and we need to transport information from one workflow to another (from the actual build  to the workflow that does the test upload and the comment-update). I am not sure how the action reacts if no comment is present. You can try it out and see what happens if you only use two workflows (one for the build, one for the comment afterwards). But this is the bare minimum. The recommended minimum (with three workflows) is in the readme.


[WIP] issue-14: Add documentation

Codecov Report

Merging #15 (c0798e6) into master (cce9ba8) will decrease coverage by 0.97%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
- Coverage   71.76%   70.78%   -0.98%
==========================================
  Files          42       42
  Lines         758      760       +2
==========================================
- Hits          544      538       -6
- Misses        214      222       +8

Impacted Files
Coverage Δ

hitbox/src/transition_groups/only_cache.rs
58.33% <66.66%> (-1.67%)
:arrow_down:

hitbox/src/states/upstream_polled/successful.rs
41.66% <0.00%> (-29.17%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cce9ba8...c0798e6. Read the comment docs.


Add post content_type selector to the compose box

Currently, specific to https://github.com/cheeaun/phanpy/labels/akkoma .
Waiting for more info on the current implementation status of the feature on https://github.com/cheeaun/phanpy/labels/pleroma .
Likely that other server implementations have this feature as well; will add those as soon as I get an account on each of them, but will probably come in a different pull request.

Could use a "Default content type" option in the settings menu, as one already exists in Akkoma.

Seems like a list of supported post content_types is returned in /instance at .pleroma.metadata.post_formats. Maybe it might be worth populating the list from there?

GoToSocial supports this flag too, just so you know :)

This should now work with any Mastodon API implementation!
I've tried it only on Mastodon Glitch Edition / Chuckya Edition, since that's the only other software I have accounts on at the moment.
I guess I could use accounts on more instances!

This needs a bit more testing I think, reverting to draft.


Changes break focus.bind

Hi
Some change in aurelia-bootstrapper between version 1.0.0-beta.1.1.1 and 1.0.0-beta.1.1.4 have caused "focus.bind" to stop working.
I have a "focus.bind" on my form field to give focus to a field when the page loads. On version 1.0.0-beta.1.1.1 it worked perfectly. On version 1.0.0-beta.1.1.4 it does not. On 1.1.4, the event appears to fire before the page is displayed - causing the field to not get the focus.
I have reverted aurelia-bootstrapper back to 1.0.0-beta.1.1.1 (from 1.1.4) and it stated working again.

Issue moved to aurelia/templating-resources #199 via ZenHub.io


Camera is not opening after react-native upgrade from 0.47.2 to 0.52?

I updated my react-native version from 0.47.2 to 0.52. Before this updation ImagePicker was opening camera fine and was taking pictures. But after this updation camera is not opening and it says 'ImagePicker Error:  Couldn't get file path for photo' and camera is not opening.
What could possibly go wrong with this upgrade?

Kinda got it working, but just by step-by-step debugging the issue... No guarantee it will work for everyone.
Add this in your android/app/src/main/AndroidManifest.xml
<manifest xmlns:tools="http://schemas.android.com/tools"
                 ...>
 ...
  <application>
   ....
    <provider
      android:name="android.support.v4.content.FileProvider"
      android:authorities="${applicationId}.provider"
      android:exported="false"
      android:grantUriPermissions="true">
      <meta-data
        tools:replace="android:resource"
        android:name="android.support.FILE_PROVIDER_PATHS"
        android:resource="@xml/provider_image_picker_paths" />
    </provider>
  </application>
</manifest>

And add a file in the resources dir android/app/src/main/res/xml/provider_image_picker_paths.xml
<paths xmlns:android="http://schemas.android.com/apk/res/android">
  <external-path name="files"  path="/" />
</paths>

@daanoz  I can confirm it works, thank you very much

Thanks, but unfortunately, didn't work in my case

remove this code

android/app/src/main/AndroidManifest.xml

 <provider
        android:name="androidx.core.content.FileProvider"
        android:authorities="${applicationId}.provider"
        android:grantUriPermissions="true"
        android:exported="false">
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/provider_image_picker_paths" />
      </provider>


animated webp not support.

animated webp not support. my code:
    ImagePipeline.Configuration.isAnimatedImageDataEnabled = true
    WebPImageDecoder.enable()
    let url = URL(string: path)!
    Nuke.loadImage(with: url, into: imageView!)

I'm sorry.
We have not been able to respond yet.
Implement again


Automatic Cactbot updates fail

Description
Cactbot updates fail due to not being able to overwrite files.
Additional information
Even when the plugin is disabled and retry is hit, the plugin does not update.
It seems like the DLL updates, but the actual plugin files do not. I've been able to get it to succeed before by disabling the plugin, hitting retry, and then renabling it, but that hasn't seemed to work the last two updates.

Where is your plugin? It's possible that it's in a place that ACT can't update.  You might want to consider moving it into %APPDATA%\Advanced Combat Tracker\Plugins.

I thought that could be an issue, so I reinstalled it via the Get Plugins but encountered the same error.
Attached error screenshot.

The IOException in the log there looks like the problem.  Something else on your system has one of the files open.  I assume it's not you having that file open in some other program.  Do you have a virus scanner?
I would recommend following something from https://www.dariawan.com/tutorials/windows/how-know-which-process-using-file-or-folder-windows/ to figure out what has the aetherochemical_research_facility.js file open.

I do not have a virus scanner (other than the built-in microsoft one, which was not running at the time).
I'll downgrade and take another look.

Okay so after the 0.16.9 upgrade it did happen again.
But while I was downloading process explorer (since i forgot to last time), it seems that enough time passed that whatever had grabbed a handle on the old files decided to let go of them. I'll see if that happens again with a future update.

I'm just going to close this bug as WNF.
I can reproduce this pretty reliably, but using ProcessExplorer doesn't turn up any file handles and after letting a PE search fail and retrying a few times, it works. I don't see this issue updating the ACT FFXIV plugin nor the Overlay Plugin however, but those update much fewer files at once.

Sorry about this.
I'll try to think of what can be done here, but I'm not sure there's any easy answers.  I'm surprised that copying files manually doesn't result in the same issue.


Disable buttons when clicked.

I've ran through the whole simulation of claiming a cryptobot with two people so far.
Both of them ended up clicking the button to confirm, twice - which opens up two confirm modals.
This is because Temple is slow in responding with the pop-up which asks them to sign the transaction.
Disabling the button when clicked, should prevent this behavior.

@harsh242 - will need input from design side over here. Prastut's suggestion was that Beacon opens up in the top right, which is out of our main line of vision, as the user is focused on the "Confirm" button. Even yesterday we saw this play out, Saumay clicked the "Confirm" button twice. Hence, when he rejected the second transaction, our UI showed him the whole confetti thingy. Need a solution to curb this behavior.
Let me know if you have any ideas around how we can solve for this.

Recorded a Loom Video to show how the interaction will be when the user clicks on confirm. It is very similar to how it happens in the temple wallet.
Let me know if you have any doubts

Got ittt, sounds good. I had something similar in mind.


How to use "flags" in Mat::image_encode?

Here is an example of compressing a jpeg image
https://stackoverflow.com/questions/40768621/python-opencv-jpeg-compression-in-memory
But Mat::image_encode only accepts a Vec of ImageWriteMode. So I cannot set a value for ImageWriteMode::JpegQuality
How can I use the method to set values? Do I miss something?

I'm not sure what's 90 stands for.
If you just want to pass ImageWriteMode::JpegQuality just use vec![ImageWriteMode::JpegQuality].

This is the encoding quality. I might be wrong but I think that one must pass key-value pairs as flags.
ImageWriteMode::JpegQuality is the key and 90 is the value. The value for ImageWriteMode::JpegQuality is in range from 0 to 100

It's not really useful to check python code because it may differ a lot.
It's better to find some C++ samples. I look at documentation

Format-specific save parameters encoded as pairs paramId_1, paramValue_1, paramId_2, paramValue_2, ... . The following parameters are currently supported:
For JPEG, it can be a quality ( CV_IMWRITE_JPEG_QUALITY ) from 0 to 100 (the higher is the better). Default value is 95.
For WEBP, it can be a quality ( CV_IMWRITE_WEBP_QUALITY ) from 1 to 100 (the higher is the better). By default (without any parameter) and for quality above 100 the lossless compression is used.
For PNG, it can be the compression level ( CV_IMWRITE_PNG_COMPRESSION ) from 0 to 9. A higher value means a smaller size and longer compression time. Default value is 3.
For PPM, PGM, or PBM, it can be a binary format flag ( CV_IMWRITE_PXM_BINARY ), 0 or 1. Default value is 1.

It seems that current implementation is buggy and doesn't allow to pass any parameters.
So interface should be changed into Vec<(ImageWriteMode, i32)> and the implementation be changed respectively.

This is exactly what I mean. :-)
Another thing is:
Can the method be changed to something like
pub fn image_encode<T>(&self, ext: &str, flags: &T) -> Result<Vec<u8>, Error>
    where T: AsRef<(ImageWriteMode, i32)> + ?Sized
{
...
}

The reason is that I decode a video file and compressing each frame to a jpeg. So there is no need to allocate a new Vec on each frame.

As far as I understand the documentation, you may be able to pass more than one parameter, so you probably would like to write AsRef<[(ImageWriteMode, i32)]>. However, you will need to allocate vec anyway to create flat Vec<i32>. It's too ugly to use it as API so you will have to convert [(ImageWriteMode, i32)] -> Vec<i32> anyway.

Why not use a builder pattern for that?
struct Flags {
    key_values: Vec<i32>
}
impl Flags {
    fn new(key_values: Vec<i32>) -> Self { Self { key_values } }
}
impl AsRef<[i32]> for Flags {
    fn as_ref(&self) -> &[i32] {
        self.key_values.as_ref()
    }
}

struct FlagsBuilder {
    flags: Vec<i32>
}
impl FlagsBuilder {
    fn add(&mut self, key: ImageWriteMode, val: i32) -> &mut Self {
        self.flags.push(unsafe { ::std::mem::transmute(key) });
        self.flags.push(val);
        self
    }
}

Flags could then be passed to Mat::image_encode

No, it won't be useful. You can always alloc 2-element array if you wish.
You can mix different flags, for example use IMWRITE_JPEG_QUALITY  and IMWRITE_JPEG_CHROMA_QUALITY simultaneously.

You have hacky solution that allows to do it alloc-less or straightforward solution that has an allocation
They don't conflict.

I somehow do not get your points and I am not sure if explained correctly what I mean.
 let flags = FlagBuilder::new()     .add(ImageWriteMode::JpegQuality, 90)     .add(ImageWriteMode::JpegChromaQuality, 20)     ... // ad more flags if needed     build() mat::image_encode("jpg", &flags)
Isn't that exactly that what we want?
What would be your proposed solution?


Format php code stored in string

How do i format php code stored in string?

+1

+1

I recently took a look at the tests and found that sorting a string would be this easy:
https://github.com/mmoreram/php-formatter/blob/master/tests/PHPFormatter/Sorter/UseSorterTest.php#L64
I am guessing its exactly the same for header formatting, so may I suggest you take a look at the tests yourself? Logically it needs to be tested somehow so thats where I would go first.

closing as @matt-usurp already answered it properly :)

Maybe we should put it on docs, since this functionality will be used often.
On Sat, Nov 26, 2016 at 6:33 PM, Marc Morera<EMAIL_ADDRESS>wrote:

closing as @matt-usurp https://github.com/matt-usurp already answered
it properly :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mmoreram/php-formatter/issues/23#issuecomment-263058575,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHtXVjU1zwIEMwTWDtrosUasyzOtd5kks5rCBkMgaJpZM4JD2Ug
.

--
Thanks,
Rizky

The above link is dead. Would be nice to see examples.

This should be the link: https://github.com/mmoreram/php-formatter/blob/master/tests/PHPFormatter/Fixer/UseSortFixerTest.php

Thanks but it's hard to figure out how to use it.
$code = file_get_contents( __DIR__ .'/test-code.php' );
use Mmoreram\PHPFormatter\Fixer\UseSortFixer;
use Mmoreram\PHPFormatter\Fixer\StrictFixer;
$useSortFixer = new UseSortFixer();
print_r($useSortFixer->fix($code));
$strictFixer  = new StrictFixer(true);
print_r($strictFixer->fix($code));

But this doesn't seem to fix anything, especially indents.


Featured post style

Provide special post template for featured posts/pages.
This will allow posts to tick the featured box in the post editing page.
This could be extended to use other internal tags or special templates.
Ideas so far:

wide layout
full-width featured image
wider content area
a featured badge

Finished, will be available on v0.2.
Only the featured label(badge) is added to the post page, for full-width templates will be created instead.


bv: fixes for macos 10.14 + xcode 11

Description
bv fixes for p7z and xdmf for macos 10.14 + xcode 11
resolves #4491
Type of change
Please select one below (Please click check boxes AFTER submitting ticket)

[x] Bug fix
[ ] New feature
[ ] New Documentation
[ ] Other (please describe below)

How Has This Been Tested?
tested bv on my mac

@markcmiller86 yes we do. It would be great to have one way. MACOSX_DEPLOYMENT_TARGET is probably the best. I added #4494


Azure Graph: Builder is not defined

Expected Behavior
My web app should start without errors
Actual Behavior
My web app did not start with the following error :

Steps to Reproduce

Follow the steps described in the readme of catalog-backend-module-msgraph
Deploy your app

Context
I'm trying to setup the Azure OrgData discovery (first explained here in the docs but with the current documentation it seems impossible.
DISCLAIMER: I'm not a Type Script developer, so the solution might be obvious

Misreading the docs, I put the code described outside of the function createPLugin so it didn't work.
If anyone fall into the same problem, be careful to add the code inside of the createPlugin function :
// Microsoft Graph entity
import {Duration} from 'luxon';
import {MicrosoftGraphOrgEntityProvider} from '@backstage/plugin-catalog-backend-module-msgraph';

export default async function createPlugin(
    env: PluginEnvironment,
): Promise<Router> {
    const builder = await CatalogBuilder.create(env);
    /// Put other processors here ....
    // Microsoft graph entity
    // The target parameter below needs to match one of the providers' target
    // value specified in your app-config (see above).
    builder.addEntityProvider(
        MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
            id: 'production',
            target: 'https://graph.microsoft.com/v1.0',
            logger: env.logger,
            schedule: env.scheduler.createScheduledTaskRunner({
                frequency: Duration.fromObject({minutes: 5}),
                timeout: Duration.fromObject({minutes: 3}),
            }),
        }),
    );
    /// Put other processors here ....
    const { processingEngine, router } = await builder.build();
    await processingEngine.start();
    return router;
}

As I said, obvious solution, it is well explained in the doc also :)


Adafruit ItsyBitsy RP2040 Board Support Package

Here's the pinout
With the help of ithinuel on the matrix server I was able to get the blinky and rainbow neopixel examples to work. I believe the lib.rs matches the pinout I linked above.

I think maybe I should include the original author of the docs and examples in the Cargo.toml. I didn't actually have any hand in writing those I simply changed them to work with the board.

I've updated the name of blinky.rs and ran the code through cargo fmt

Looks good to me, thanks for the PR!


[DOC] should add brief description how to add URL

should update 5.10 document[1] how user able to add URL when
the overview page shows that it is not.
[1] https://is.docs.wso2.com/en/next/learn/user-portal/#user-profile-management

Closing this issue as it is no longer valid. Please reopen if needed.


[IMPROVEMENT] meaningful error description on LH uninstallation

Is your improvement request related to a feature? Please describe (👍 if you like this request)
I needed to uninstall my Longhorn installation from my k8s cluster, so I simply executed:
vagrant@admin-1:~> helm uninstall -n longhorn-system longhorn

I was unaware of the Longhorn's security measure that blocks an uninstallation, so when I received the error message:
Error: job failed: BackoffLimitExceeded

I thought this was a technical issue.
After a while, with the help of the  Longhorn slack channel, I've been put on the right path:
https://longhorn.io/docs/1.5.1/deploy/uninstall/
"You need to set the delete confirmation flag"
Describe the solution you'd like
I think current error is too much technical, it would be better having something more meaningful such as:
vagrant@admin-1:~> helm uninstall -n longhorn-system longhorn
Error: To enable uninstall, follow the procedure described here: https://longhorn.io/docs/1.5.1/deploy/uninstall

Describe alternatives you've considered

Additional context

It seems there is no way to customize the helm command error message

https://github.com/helm/helm/issues/12017
https://github.com/helm/helm/issues/12002

During uninstallation,  Longhorn creates a longhorn-uninstall pod to clean up the resources.
If there is any error, it prints the error message in the log most of the time.
In this case, the log would indicate users to update the setting to allow uninstallation.
time="2024-08-28T07:48:43Z" level=fatal msg="cannot uninstall Longhorn because deleting-confirmation-flag is set to `false`. Please set it to `true` using Longhorn UI or kubectl -n longhorn-system edit settings.longhorn.io deleting-confirmation-flag " func=main.main.UninstallCmd.func7 file="uninstall.go:48"

We also provide the guideline of how to uninstall Longhorn in our helm readme
https://github.com/longhorn/longhorn/tree/master/chart#uninstallation
cc @derekbit @innobead


single Active directory, 2 Adfs servers with 2 Adconnect with  2 UPN

I had configured an adfs server for one domain in one forest, one ADConnect with upn(user1@abc.com).
I need to set up two adfs servers for two UPNs<EMAIL_ADDRESS>and user2@xyz.com), as well as two Adconnect, with two mx records in internal and external for two domains and two different public IP addresses. Can you please send me any Microsoft documentation to configure?
Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[x] The relevant Azure service or technology.
[x] A link to the published documentation article that you have feedback about.
[x] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[x] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[x] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

@mazharmuneerzn
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

Please check the link below.
https://techgenix.com/office-365-adfs-support-for-mutiple-upns-724/
Is it the correct way to do.
one adfs server and two domain (Eg<EMAIL_ADDRESS>and<EMAIL_ADDRESS>users to login office 365.

@mazharmuneerzn
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows.
Microsoft Teams Community forum
Thank you for your time and patience throughout this issue.


Correction of de.json translations

Change "sie" to uppercase, due to the use of the formal term of address there [l17].
Change "E-Mail Address" to "E-Mail-Adresse", as this is the correct fom in German [l7, l25, l43, l44];
Change typo (Benachrichtung -> Benachrichtigung) and clunky wording  [l30];

Danke


Connecting to tezos test network failed

brew config output
HOMEBREW_VERSION: 3.4.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: ffc76654da12fba7d34d078fd9bf681fef65921e
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: fe5bf96f8d4c775471899641fbc9b11e7970e4b5
Core tap last commit: 53 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 2.6.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 12.0.5 build 1205
Git: 2.30.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.5.2-x86_64
CLT: <IP_ADDRESS>.1.1623191612
Xcode: 13.2.1

brew doctor output
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.2.1.

Verification

[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.

What were you trying to do (and why)?
tezos-client --endpoint https://rpcalpha.tzbeta.net config update
What happened (include all command output)?
Failed to acquire the protocol version from the node
The request has timed out
What did you expect to happen?
$ tezos-client
Warning:
             This is NOT the Tezos Mainnet.

       Do NOT use your fundraiser keys on this network.

Usage:
tezos-client [global options] command [command options]
tezos-client --help (for global options)
tezos-client [global options] command --help (for command options)
To browse the documentation:
tezos-client [global options] man (for a list of commands)
tezos-client [global options] man -v 3 (for the full manual)
Global options (must come before the command):
-d --base-dir : client data directory
-c --config-file : configuration file
-t --timings: show RPC request times
--chain <hash|tag>: chain on which to apply contextual commands (possible tags are 'main' and 'test')
-b --block <hash|tag>: block on which to apply contextual commands (possible tags are 'head' and 'genesis')
-w --wait <none|>: how many confirmation blocks before to consider an operation as included
-p --protocol : use commands of a specific protocol
-l --log-requests: log all requests to the node
-A --addr <IP addr|host>: [DEPRECATED: use --endpoint instead] IP address of the node
-P --port : [DEPRECATED: use --endpoint instead] RPC port of the node
-S --tls: [DEPRECATED: use --endpoint instead] use TLS to connect to node.
-E --endpoint : HTTP(S) endpoint of the node RPC interface; e.g. 'http://localhost:8732'
-R --remote-signer : URI of the remote signer
-f --password-filename : path to the password filename
-M --mode <client|mockup>: how to interact with the node
Step-by-step reproduction instructions (by running brew commands)
tezos-client --endpoint https://rpcalpha.tzbeta.net config update

This isn't a brew bug, but one with the software itself. A Google search for your error message brings up lots of information. Best of luck!


Version 4.7

Bug fixing:
Resolved the issue with restarting and new players with MySQL.
Note for you: This is because the table in checkTable() is Case-Sensitive in Linux environment (for the restarting issue) and because you query the database asyncronously (that's good, don't change it) but you load settings in a syncronous way. That caused settings to be loaded before they were added to the database! (for the new players issue)
Resolved memory leaks:
Player-Settings always created new interfaces whenever something that trigger it happened, but never unloaded them. Now we get the CustomPlayer if it exists, otherwise we create it. Datas are unloaded after the player disconnects.
Note for you: I've also moved every settings inside the CustomPlayer, they always default to the DefaultConfiguration, in case something fails.
Settings are saved on shutdown/reload:
Settings were never saved on shutdown/reload (onDisable()), now instead we save them.
Added debug feature:
Added debug in the config along with some messages regarding MySQL in order to diagnose and solve future problems.
Extended OffHand check up to 1.11.2:
You might have forgot that (?) 😜

Update: I've sent a Quick Hotfix to resolve an IllegalPluginAccessException due to saveSettings() being run Async.

Please wait before pulling, I'm going to fix Inventory too

You can merge now. Sorry for the waiting.

NP, Thank you very much for the help, I really appreciate it! I'll add some things and then update!


Cannot Build Project with Full Calendar

Can somebody please help me with this issue of building full calendar.  I have attached a screen shot of the error and my package.json file.  I followed the instructions accordingly.
The error essentially says

ERROR in ./~/vue-full-calendar/components/FullCalendar.vue
Module parse failed: C:\Users\shaun\Documents\Projects\Branch\Trunk - Full Caldendar v2\DCATS.Web\node_modules\vue-full-calendar\components\FullCalendar.vue Unexpected token (1:0)
You may need an appropriate loader to handle this file type.
|
@ ./~/vue-full-calendar/index.js 1:0-56
@ ./ClientApp/app.js
@ ./ClientApp/boot-app.js

Hey @MackAttack26,
What does you webpack config look like, at first glance it looks as though your vue-loader maybe excluding files from your node_modules directory?

@BrockReece
I updated the original post to include the WebPack configuration file. Thanks for your help.

It looks like line 32 has an include option, this will effectively exclude transpiling any '.vue' files outside of '/ClientApp/'. I'm guessing your node_modules dir and therefore this lib lives outside of '/ClientApp/'

I updated the WebPack config file to include the reference to the node_module folder which is outside of the ClientApp folder, but no dice.  I'm fairly new to Vue and WebPack configurations so I may not have added the reference correctly.

Hi @MackAttack26
Sorry for the delay.
So the include condition can be structured as array of paths to include, you should be able to refactor both of those rules into one.
{
  test: /\.vue$/,
  include: [
    '/ClientApp/',
    'relative/path/to/node_modules/',
  ],
  use: 'vue-loader',
}

See these docs for more info.
FWIW, Webpack doesn't require you to have an include condition. You can remove this condition and then Webpack will transpile every .vue file in your project.
Hope that helps?

Hi @BrockReece,
I really do appreciate your help with this.  I'm still getting the same error and here is my updated WebPack config. When it is building, it is failing on the "~\node_modules\vue-full-calendar\components\FullCalendar.vue" file which to me, in my limited knowledge, indicates that it is able to find the file, and attempts to include it in the packaging, but has an issue with the component in the file.  I also tried using the component locally with no luck for the same error. Just for some background, I've imported many libraries into our project before, and haven't had an issue.  Before attempting to use Full Calendar, the project was building and running successfully. Any other thoughts as to why it doesn't like this component?

Hi @MackAttack26
Sorry for the delay, it has been a busy week.
Did you try removing the include statement completely as I suggested in an earlier comment?

No problem.  I did try that and it led to almost every vue component in my project having the same error.  So i've now tried only having my "ClientApp" included,  "ClientApp" and "node_modules/vue-full-calendar" included and they all give me the same error. I've tried "ClientApp" and "node_modules", and "no includes" at all and it gives me errors on almost all of my vue's.  I'm including my project layout to show that node_modules is at the same level as ClientApp.

Does anyone have found a solution for this, I've got the same problem.

Hello @steven87vt @MackAttack26 @j-fdion
Sorry for the delay again.
Thanks for your messages and I am glad to hear that my webpack advice ultimately did work. Though I do share @MackAttack26 's concern that this package isn't behaving in the same way as other third party Vue components, could you tell me a couple of your other third party dependencies so I can compare notes on how to bundle my project up?
For reference, this was built and tested with the https://github.com/vuejs-templates/webpack generator which has no include key in their webpack config, I considered this to be the most typical build configuration. Can I ask whether you generated your application or built it by hand?
Once again sorry for the delay, and I really do want to help resolve this.

Hello @BrockReece
Thank you for your help! Full disclosure I am new to vue.js so I am probably not the best person to answer this but here it goes. Looking for something that follows the same style of template implementation as this library I would point to vue-highcharts and vue-form-wizard as something we use in a similar fashion.
The below example compares the these two libraries implemented in different ways, one used inside our component.vue and the other at the app level.
package.json:
"dependencies": {   ...         "vue-form-wizard": "^0.8.4",         "vue-highcharts": "0.0.10" ...
webpack.config.js (original):
const path = require('path')
const webpack = require('webpack')
const bundleOutputDir = './wwwroot/dist'
const CopyWebpackPlugin = require('copy-webpack-plugin')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const WorkboxPlugin = require('workbox-webpack-plugin')

module.exports = (env) => {
const isDevBuild = !(process.env.NODE_ENV && process.env.NODE_ENV === 'production')

return [{
    stats: { modules: false },
    entry: { 'main': './ClientApp/boot-app.js' },
    resolve: {
        extensions: ['.js', '.vue'],
        alias: {
            'vue$': 'vue/dist/vue',
            'components': path.resolve(__dirname, './ClientApp/components'),
            'views': path.resolve(__dirname, './ClientApp/views'),
            'utils': path.resolve(__dirname, './ClientApp/utils'),
            'api': path.resolve(__dirname, './ClientApp/store/api')
        }
    },
    watchOptions: {
        aggregateTimeout: 300,
        poll: 1000
    },
    output: {
        path: path.join(__dirname, bundleOutputDir),
        filename: '[name].js',
        publicPath: '/'
    },
    module: {
        rules: [
            { test: /\.vue$/, include: /ClientApp/, use: 'vue-loader' },
            { test: /\.js$/, include: /ClientApp/, use: 'babel-loader' },
            { test: /\.css$/, use: isDevBuild ? ['style-loader', 'css-loader'] : ExtractTextPlugin.extract({ use: 'css-loader' }) },
            { test: /\.(eot|woff|woff2|ttf|svg|png|jpe?g|gif)(\?\S*)?$/, use: 'url-loader?limit=100000&name=[name].[ext]'}]
    },
    plugins: [
        new CopyWebpackPlugin([{
            from: './ClientApp/images'
        }]),
        new webpack.DllReferencePlugin({
            context: __dirname,
            manifest: require('./wwwroot/dist/vendor-manifest.json')
        }),
        new webpack.DefinePlugin({
            'process.env.NODE_ENV': isDevBuild ? '"development"' : '"production"'
        }),
        new HtmlWebpackPlugin({
            title: 'MyTitle',
            template: 'ClientApp/templates/index.template.ejs'
        }),
        new webpack.SourceMapDevToolPlugin({
            filename: '[file].map',
            // Point sourcemap entries to the original file locations on disk
            moduleFilenameTemplate: path.relative(bundleOutputDir, '[resourcePath]')
       })
    ]
}];

};
boot-app.js:
import 'core-js/es6/promise'
import 'core-js/es6/array'
import { app } from './app'
app.$mount('#app')

app.js:
import Vue from 'vue'
import VueFormWizard from 'vue-form-wizard'
...
Vue.use(VueFormWizard);

some-component.vue:
<template>
    ...
    <form-wizard ref="formWizard"
        @on-complete="onComplete"
        :finishButtonText="buttonText"
        shape="tab"
        color="#004566">
        <tab-content title="Describe" :before-change="beforeDescriptionSwitch">
    ...
</template>
<script>
    import { FormWizard, TabContent } from 'vue-form-wizard'
    export default {
            name: "some-name",
            components: {
                FormWizard,
                TabContent
            }
            ...
    },
</script>

some-other-component.vue:
<template>
    ...
        <highcharts :options="options" ref="highcharts" ...></highcharts>
    ...
</template>
<script>
    ...
    import VueHighcharts from 'vue-highcharts';
    ...
</script>

QQ, Is this using Laravel/Lumen?

So the reason that these libs work is that they have already compiled their SFC's down to browser ready JS. Where as in my lib, you are importing the raw .vue components.

Awesome, at least now we know. Thanks again for your help!

@MackAttack26 @j-fdion @steven87vt
I have created a new branch with a pre transpiled build, as per the 2 libs listed above.
Could you test this new version for me and let me know how you get on?
npm install vue-full-calendar@bili

I was not able to build for production with webpack, because uglifyjs can only process ES5 and libraries in /node_modules are not transpiled to ES5 by babel, so the ES6 .vue component could not be processed by uglifyjs and generated an error.
Testing the @bili branch and its ES5 version of vue-full-calendar in the /dist directory, everything works fine.

@davbtmx I am using this just fine with babel, uglify and webpack in multiple domains.
"devDependencies": {
        "babel-core": "^6.26.3",
        "babel-loader": "^6.2.10",
        "babel-plugin-transform-async-to-generator": "^6.22.0",
        "babel-plugin-transform-runtime": "^6.22.0",
        "babel-preset-env": "~1.7.0",
        "babel-preset-stage-2": "~6.24.1",
        "babel-preset-stage-3": "~6.24.1",
        "uglifyjs-webpack-plugin": "^1.2.5",
    }

.bablerc, comments taken directly from babel website.
{
    "presets": [
        [
            "env",
            {
                "development": {
                    "targets": {
                        "browsers": [
                            "last 2 Chrome versions",
                            "last 2 Firefox versions",
                            "last 2 Edge versions",
                            "last 2 Opera versions",
                            "last 2 Safari versions",
                            "ie 11"
                        ]
                    },
                    "debug":  true
                },
                "production": {
                    "browsers": [
                        "last 2 Chrome versions",
                        "last 2 Firefox versions",
                        "last 2 Edge versions",
                        "last 2 Opera versions",
                        "last 2 Safari versions",
                        "ie 11"
                    ]
                }
            }
        ]
    ],
    "plugins": [
        "transform-runtime",
        "transform-async-to-generator",
        //stage 2 plugins must be declared manually because preset-env does not include them by default and will not accept stage-2 as an option.
        "syntax-dynamic-import",
        "transform-class-properties",
        "transform-decorators",
        //stage 3 plugins must be declared manually because preset-env does not include them by default and will not accept stage-2 as an option.
        "transform-object-rest-spread",
        "transform-async-generator-functions",
        "syntax-trailing-function-commas", //trailing-commas, async, exponentiation will be removed in the next major since they are stage 4 already
        "transform-async-to-generator",
        "transform-exponentiation-operator"
    ],
    ...
}


Conflicts with latest Xamarin.Google.iOS.MobileAds on iOS

Hi,
first thank you for making this addon!
It was working fine for me, however once I updated Xamarin.Google.iOS.MobileAds to the version "7.66.0"
Visual Studio is thowing an error when I try to build for iOS.
Something like "Cannot include different versions of GoogleUserMessagingPlatform".
https://github.com/xamarin/GoogleApisForiOSComponents/commit/9561e99f0afb239b24dd8580bcb33eca6715838a
The new version includes 1.1.0 of GoogleUserMessagingPlatform

It looks like they have embedded a GoogleUserMessagingPlatform binding into GoogleMobileAds 7.66.0. I could probably deal with it by taking a dependency on GoogleMobileAds (which is probably fine since 99% of the time that's what people using UMP will need).

It looks like they have embedded a GoogleUserMessagingPlatform binding into GoogleMobileAds 7.66.0. I could probably deal with it by taking a dependency on GoogleMobileAds (which is probably fine since 99% of the time that's what people using UMP will need).

Sounds like a plan to me ;) Thanks for your help!


[Test Proxy] Fix Operation location for header sanitizer

API change check
API changes are not detected in this pull request.


[FIX] git.savannah.gnu.org is down

(just posting the fix for anyone who would hit the same problem)
Seems like the DNS for git.savannah.gnu.org is down right now - which breaks the first install via bin/doom re @ straight. Applying this patch (for branch straight) will fix bin/doom re command:
diff --git a/core/packages.el b/core/packages.el
index 3cef8664..d0c58888 100644
--- a/core/packages.el
+++ b/core/packages.el
@@ -26,7 +26,7 @@
 (package! smartparens)
 (package! so-long
   :built-in 'prefer
-  :recipe (:repo "https://git.savannah.gnu.org/git/so-long.git"))
+  :recipe (:repo "https://git.savannah.nongnu.org/git/so-long.git"))
 (package! osx-clipboard :ignore (not IS-MAC))
 (package! undo-tree)
 (package! ws-butler)

It is recommended to undo this patch after you finish working with bin/doom.
Error message for easy googling:
» bin/doom  re                                                                                2019-08-24 18:01:05
Initiating a refresh of Doom Emacs...

> Checking core autoloads file
  ✓ Skipping core autoloads, they are up-to-date
> Installing & building packages...

  → Cloning so-long...
> Checking package autoloads file
  ✓ Skipping package autoloads, they are up-to-date
- Recompiling stale elc files...
  ✓ Recompiled 0/0 file(s) (162 ignored)

--------------------------------------------------

There was an unexpected error:
  Error with packages (doom-package-error)
  (error Failed to run "git"; see buffer *straight-process*)
  Cloning into '/home/u/.emacs.d/.local/straight/repos/so-long'...
fatal: unable to access 'https://git.savannah.gnu.org/git/so-long.git/': Could not resolve host: git.savannah.gnu.org

Run the command again with the -d (or --debug) option to enable debug
mode and, hopefully, generate a stack trace. If you decide to file a bug
report, please include it!

Emacs outputs to standard error, so you’ll need to redirect stderr to
stdout to pipe this to a file or clipboard!

  e.g. doom -d install 2>&1 | clipboard-program
Doom loaded 56 packages across 46 modules in 2.667s
Error in Doom Emacs core: doom-package-error, (error "Failed to run \"git\"; see buffer *straight-process*"), "Cloning into '/home/u/.emacs.d/.local/straight/repos/so-long'...
fatal: unable to access 'https://git.savannah.gnu.org/git/so-long.git/': Could not resolve host: git.savannah.gnu.org
"

Thanks for sharing your patch, this configuration is still impacted and required above patch to mitigate. I'm not sure there's a sane way to do so based on need, but perhaps for the time being this should be committed and later reverted if/when this issue is resolved?

I am now using a personal mirror for so-long, at least until so-long is published to ELPA (if ever).
I'm using this instead of https://git.savannah.nongnu.org/git/so-long.git because it went down along with https://git.savannah.gnu.org/git/so-long.git earlier today, calling its reliability into question. In the end, I doubt either can match github.com's uptime.

Seems like git.savannah.gnu.org (and git.savannah.nongnu.org) are down again, and I don't even know what to resort to when this happens. These sites don't even have any status pages. I know this isn't the place but there aren't any forums (outside of the affected sites) that discuss the issue of these sites' reliability.
So if anyone comes across this thread and knows of a more reliable mirror for the GNU projects (I'm specifically trying to build a project that depends on freetype2) I'd love any suggestions

@forresthopkinsa Doom has long since switched to my personal mirror for so-long. I'd suggest updating Doom.


Fix crash with keybase --standalone log send

This makes it work again, albeit without UI logs.

Grep for func (d *Service) StartStandaloneChat(g *libkb.GlobalContext) error and StartStandaloneChat in general to see how I solved it for chat in standalone. Maybe logsends can be made functional in standalone mode as well in similar manner. Maybe just using calling StartStandaloneChat could work, however unintuitive it might be, because it sets up connection manager.

Oh, this makes log send with --standalone work. The connection manager is just to get the GUI logs, so the returned error is just printed out while the rest of the logs are uploaded.

oh, so it does work with this PR? I understood it only bails out in nicer way then crashing, but I just hlaned at the code.

Yeap! Updated PR description to mention that.

Max is out till Monday BTW

Oh, yeah, thanks! Kicking over to @patrickxb

Oops, didn't see your approval @zapu. Going ahead and merging!


Have a TLS-secured port for client-server communications

(#3 is far enough along not to be a prerequisite.)
Given clients send a Player.secret value upon connecting, it makes sense to hide that value from prying eyes. Suggestion: have secure connections on port 5514 (the hISS port), and insecure ones on 5513 or any unused port.
Layering TLS ("SSL") in Rust is quite simple, see https://github.com/aatxe/irc/blob/master/src/client/conn.rs#L84

Issues with the current implementation, ordered from serious to trivial:

Connections are handled sequentially in a single thread, so the handler must complete before further requests are handled. This should actually satisfy our current purposes if TcpStreams get pushed across a channel to be looped over by other threads, but is a potentially-confusing bottleneck.
The line starting let sock_addr = addr.to_socket_addrs() shouldn't just be let to panic. Nor should TcpListener::bind.
SirpentServer.listen would typically take the addr: ToSocketAddrs argument, instead of SirpentServer::tls/plain.
Ideally I would have made use directly of Iron and Hyper in this project, but as HTTP libraries neither supports simple playing with sockets. Retroengineering such onto both of them looked quite painful. Hyper's Handler trait would tidy up my callback quite nicely. Nicer syntax in main.rs may suffice.

#325: SslStream.try_clone() is broken and is being removed.
#325 is problematic because read and write both need &mut. Without a clone of the SslStream we cannot have a reader and writer instantiated simultaneously. This is not strictly necessary for Sirpent, but it has finally turned me off the idea of baking-in TLS support.
Exacerbating the implementation issues, #326 and #452 make me doubt relying upon rust-openssl for the time being.
I propose having sirpent-rust listen on 5513 by default, transmitting plaintext. I can then use any proxy to proxy that onto an encrypted port 5514. Alternatively we could go back to using 5514 for plaintext, but I trivially enjoy the hISS port being for encrypted clients.
Much of the progress made to this point has been useful architecturally. I'm going to refactor rust-openssl out and keep it all.


hideControls not working

Hi,
I want to hide the controls (pause button, progress bar and full screen button) when the video is playing. I tried setting hideControls upon the initialization of the object but that didn't work. Then i even tried it after start i.e.
myVideoView.start();
myVideoView.hideControls();
but even with this the controls are shown. What am i doing wrong here?

Hi @saadnawaz1
Have you customize your videoControlsView? Are you calling start() and hideControls() from another thread?
Maybe the easiest solution is overriding start() method and call super.start() and then super.hideControls()

No I haven't customized videoControlsView ... and I am not calling start / hideControls from another thread.. both are called on UI thread..
I even tried overriding the start method and calling super.start and then super.hideControls(), but even that's not working ..

Sorry. I remember we spoke about it, don't we?
Well. Please, comment again if you still have the problem.


Add 'none' option for 'Would you like to include gulp or grunt?'

Can we provide the functionality in the gulpfile as npm tasks?

Done by the amazing @divyabiyani in #184!


GH-35329: [Python] Address pandas.types.is_sparse deprecation

Rationale for this change
pandas is deprecating pandas.types.is_sparse in 2.1
What changes are included in this PR?
Changing usages of is_sparse to the recommended migration isinstance(dtype, pd.SparseDtype)
Are these changes tested?

Are there any user-facing changes?
No

closes https://github.com/apache/arrow/issues/35329

Closes: #35329

I think this only fixes the issue in python/pyarrow/pandas-shim.pxi, but is_sparse() is also used here:
\envs\develop\lib\site-packages\pyarrow\pandas_compat.py:373: FutureWarning: is_sparse is deprecated and will be removed in a future version. Check isinstance(dtype, pd.SparseDtype) instead.
if _pandas_api.is_sparse(col):


basic search

structured search and QBE
bulk document and/or summary response
reach for string search
reach for reducing iterators

Closing backlog issue, the issue has regression test


[Feature request] python 3.10 supports

I have seen:

#34
the readme saying Note: Python 3.10 is not supported yet!
the Dockerfile using python 3.7

Would be nice to have python 3.10 support for server install.

Yeah, so I looked into this and it appears the websockets/graphql subscription functionality is broken and not currently supported in 3.10. We will need to swap out flask-sockets library with something which is not a small lift. We may look into this in the future but at this point we will put this on ice.

Subscription request
With Python 3.10 from the dvga-py3-10

With Python 3.7 from the dockerhub image

So I don't have a working subscription request that I could test.

you can use Altair Client, I believe GraphiQL doesn't support subscriptions

you can use Altair Client, I believe GraphiQL doesn't support subscriptions

I tried it with Insomnia too, that claims to support websockets https://github.com/Kong/insomnia/discussions/4477, cf. https://insomnia.rest/changelog#2022.6.0 and https://docs.insomnia.rest/insomnia/websockets. So I asked if it supports GraphQL subscriptions.
Well then, I'll try again with Altair.

I'm going to look into the errors that you're observing. Another way you can explore this is:

Load the UI
Go to Public Pastes
Create a paste with the mutation createPaste
Observe that the Public Paste page (step #2) updated the page immediately without a refresh

https://user-images.githubusercontent.com/5857304/208740937-cf0c970f-edfe-495e-9b9e-acdaf94ea159.mp4

Subscriptions seems to work well on my side.

While we are at it we may update it to Python 3.11.

hmm, that will require some additional work, I'll try to find some time.


Can't change font

When I select a font in the menu, the preview (and the font) don't change
Can you help me please ?

Sure, but I need some more info:

any specific font you're selecting?
does it happen with all fonts?
which packages do you have installed?
can you try with just the fonts package installed?

It's pretty easy for this to conflict with another package. But I need to know where to look.

My packages are:

lua language
love2d framework support
atom-minimap

For the fonts, this issue appears for all of them
Le jeu. 15 juin 2017 22:04, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

Sure, but I need some more info:

any specific font you're selecting?
does it happen with all fonts?
which packages do you have installed?
can you try with just the fonts package installed?

It's pretty easy for this to conflict with another package. But I need to
know where to look.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308843314, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5CJoiwBlW_ijhUj12_UKr02S-RLlks5sEYZXgaJpZM4N7k6z
.

@yoanndw I can't reproduce the problem. 2 questions:

which package exactly is the "love2d framework support"
do you have anything custom in your stylesheet?

Love2d is a framework for gamedev, and with the love2d framework support, I
can use it un Atom
Le ven. 16 juin 2017 12:24, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

@yoanndw https://github.com/yoanndw I can't reproduce the problem. 2
questions:

which package exactly is the "love2d framework support"
do you have anything custom in your stylesheet?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308990728, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5JA6EIEZmi52C--jvjA8KZ28qYivks5sElfYgaJpZM4N7k6z
.

In Atom*
Le ven. 16 juin 2017 12:27, Yoann Dewilde<EMAIL_ADDRESS>a écrit :

Love2d is a framework for gamedev, and with the love2d framework support,
I can use it un Atom
Le ven. 16 juin 2017 12:24, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

@yoanndw https://github.com/yoanndw I can't reproduce the problem. 2
questions:

which package exactly is the "love2d framework support"
do you have anything custom in your stylesheet?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308990728, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5JA6EIEZmi52C--jvjA8KZ28qYivks5sElfYgaJpZM4N7k6z
.

Yes, I understand but can't find the package on atom.io/packages.

Op 16 jun. 2017 om 12:27 heeft yoanndw<EMAIL_ADDRESS>het volgende geschreven:
Love2d is a framework for gamedev, and with the love2d framework support, I
can use it un Atom
Le ven. 16 juin 2017 12:24, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

@yoanndw https://github.com/yoanndw I can't reproduce the problem. 2
questions:

which package exactly is the "love2d framework support"
do you have anything custom in your stylesheet?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308990728, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5JA6EIEZmi52C--jvjA8KZ28qYivks5sElfYgaJpZM4N7k6z
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

It doesn't called "love2d framework support"
Try with love2d or just love
Le ven. 16 juin 2017 12:28, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

Yes, I understand but can't find the package on atom.io/packages.

Op 16 jun. 2017 om 12:27 heeft yoanndw<EMAIL_ADDRESS>het
volgende geschreven:
Love2d is a framework for gamedev, and with the love2d framework
support, I
can use it un Atom
Le ven. 16 juin 2017 12:24, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

@yoanndw https://github.com/yoanndw I can't reproduce the problem. 2
questions:

which package exactly is the "love2d framework support"
do you have anything custom in your stylesheet?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308990728,
or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AcGX5JA6EIEZmi52C--jvjA8KZ28qYivks5sElfYgaJpZM4N7k6z

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308991525, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5GHytZzZe3r2S_9NUwGXyA-1wmV-ks5sEljqgaJpZM4N7k6z
.

I found it :
https://atom.io/packages/love-atom
Le ven. 16 juin 2017 12:30, Yoann Dewilde<EMAIL_ADDRESS>a écrit :

It doesn't called "love2d framework support"
Try with love2d or just love
Le ven. 16 juin 2017 12:28, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

Yes, I understand but can't find the package on atom.io/packages.

Op 16 jun. 2017 om 12:27 heeft yoanndw<EMAIL_ADDRESS>het
volgende geschreven:
Love2d is a framework for gamedev, and with the love2d framework
support, I
can use it un Atom
Le ven. 16 juin 2017 12:24, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

@yoanndw https://github.com/yoanndw I can't reproduce the problem.
2
questions:

which package exactly is the "love2d framework support"
do you have anything custom in your stylesheet?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308990728,
or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/AcGX5JA6EIEZmi52C--jvjA8KZ28qYivks5sElfYgaJpZM4N7k6z

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308991525, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5GHytZzZe3r2S_9NUwGXyA-1wmV-ks5sEljqgaJpZM4N7k6z
.

Thanks. Still no repro though.
Do you have anything custom in your stylesheet?

I have a ui theme called material ui (Google's material design)
And à syntax theme pico8 syntax
Le ven. 16 juin 2017 14:07, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

Thanks. Still no repro though.
Do you have anything custom in your stylesheet?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-308999874, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5C8TDA1ezAUq3WYMfMwSGXLe9Tl_ks5sEmM_gaJpZM4N7k6z
.

I just published 3.0.2. Could you try if that fixes it for you? If not, please try to add the following to your stylesheet:
fonts-fixer,
atom-text-editor {
  font-family: var(--fonts-package-editorfont) !important;
}

Where do I copy the code that you gave ?
Le ven. 16 juin 2017 14:20, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

I just published 3.0.2. Could you try if that fixes it for you? If not,
please try to add the following to your stylesheet:
fonts-fixer,
atom-text-editor {
font-family: var(--fonts-package-editorfont) !important;
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-309012379, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5BkdDNiL7sK24W3tphOxPKamG1Kaks5sEnMogaJpZM4N7k6z
.

http://flight-manual.atom.io/using-atom/sections/basic-customization/#style-tweaks

In styles.less file ?
Le ven. 16 juin 2017 14:44, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

http://flight-manual.atom.io/using-atom/sections/basic-customization/#style-tweaks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-309016817, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5M4ttqHNw9ibYeFlqxcnGjB6aJhWks5sEni6gaJpZM4N7k6z
.

yes, if you follow those instructions atom opens a styles.less file you can edit and save.

It works !
Thanks you very much !
Le ven. 16 juin 2017 14:51, Koen Lageveen<EMAIL_ADDRESS>a
écrit :

yes, if you follow those instructions atom opens a styles.less file you
can edit and save.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/braver/fonts/issues/61#issuecomment-309018229, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AcGX5H77zUFRDK64fX1hliodB9hMmumlks5sEnpQgaJpZM4N7k6z
.

Well, that's a bit weird but at least there's a workaround :)


haskell-modules/lib: make postFixup more resilient

Putting the string on one line (instead of using a multiline
string) means it is not ended with \n, which means if somebody wants
to append more lines, they have to start it with \n or it will get
concatenated to the postFixup here, so add \n.

Previously, ignoring drv.postFixup would throw away any
postFixups set in drv, which is not something we want.

Motivation for this change
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This seems reasonable to me.
Could you rebase on haskell-updates and change the base branch on github?

Sent this to staging because most of the rebuilds caused by this aren't part of haskell-updates.

Oh you already pushed it, well then nvm. I’d have added an extra comment to warn about the defensive newline but oh well.


[question] Trying to connect to online-ldap-test-server

Hi there!
First of all, congratulation for this excellent Node! Quite useful! ☺
I'm pretty much rookie in using both node.js and LDAP, and I've been trying to connect to the online-ldap-test-server without success.
I'm not quite sure of what should go on filterTemplate and I believe this could be the problem.
This is what I've been trying to do so far:
    adminAuth: require('node-red-contrib-ldap-auth').setup({
      uri:'ldap://ldap.forumsys.com',
      base: 'dc=example,dc=com',
      filterTemplate: 'ou=scientists'
    }),

But, even using the username newton and pwd: password (as suggested), the authentication still fails miserably.

Any ideas of what I'm doing wrong?
Also, is there any way to enable some DEBUG mode, in order to obtain more detail from the authentication process failures?
Cheers.

The filterTemplate needs to be a mustashe template that includes the username field to match against the ldap.
In the case of the test server it needs to be:
adminAuth: require('node-red-contrib-ldap-auth').setup({
      uri:'ldap://ldap.forumsys.com',
      base: 'ou=scientists,dc=example,dc=com',
      filterTemplate: 'uid={{username}}'
    }),

This will match against scientists and not mathematicians.

Hi @hardillb,
Thank you so much for your reply. It has shed a huge light on my problem. 😁
Yet, the only way that I could get this working, was by getting rid of the group.
That is, this works (at least, in my environment) with any user:
    adminAuth: require('node-red-contrib-ldap-auth').setup({
      uri:'ldap://ldap.forumsys.com',
      base: 'dc=example,dc=com',
      filterTemplate: 'uid={{username}}'
    }),

Whereas I couldn't get this working (with mathematicians nor any user):
    adminAuth: require('node-red-contrib-ldap-auth').setup({
      uri:'ldap://ldap.forumsys.com',
      base: 'ou=mathematicians,dc=example,dc=com',
      filterTemplate: 'uid={{username}}'
    }),

Neither do this  (with scientists nor any user):
    adminAuth: require('node-red-contrib-ldap-auth').setup({
      uri:'ldap://ldap.forumsys.com',
      base: 'ou=scientists,dc=example,dc=com',
      filterTemplate: 'uid={{username}}'
    }),

Just for disclosure, my environment is:
30 May 18:44:56 - [info] Node-RED version: v0.16.2
30 May 18:44:56 - [info] Node.js  version: v6.10.2
30 May 18:44:56 - [info] Darwin 16.6.0 x64 LE
...

and:
$ npm -g ls | grep ldap
<EMAIL_ADDRESS>
Nevertheless, thanks a bunch for your help.


Angle orientations incorrect

Here's the issue I opened; they said it's a Pathfinder bug.
https://github.com/Endoman123/motion-profile-generator/issues/11
TL;DR: 90 degrees and -90 degrees point in the same direction, 150 degrees points in the wrong direction, angles are just wack overall

I've replied in the thread you've linked. This is a constraint on how Pathfinder functions.


Replaced crypto with uuid

When running the component in a NextJS application - the component fails with crypto.randomUUID is not a function as crypto is not available to the client side, and NextJS doesn't polyfill it.

Hey @jtordgeman thanks for your contribution! Just for curiosity sake, could you check which node version you are using? I think crypto was added in 16.7.0


conformance: allow converence time for gateway status check

Without this, other tests may be creating valid Routes that are
attached. This test can run and then immediately fail due to those
routes from other tests.
Instead, we should assert eventual consistency.
/kind cleanup
Does this PR introduce a user-facing change?:

NONE

/ok-to-test

Without this, other tests may be creating valid Routes that are attached. This test can run and then immediately fail due to those routes from other tests.

@howardjohn are you referring to a state where the same Gateway is used in consecutive tests, and the attachment state of a Route from a previous test case has not been cleaned up before the next test starts?

Without this, other tests may be creating valid Routes that are attached. This test can run and then immediately fail due to those routes from other tests.

@howardjohn are you referring to a state where the same Gateway is used in consecutive tests, and the attachment state of a Route from a previous test case has not been cleaned up before the next test starts?

Yes

Thanks!
/lgtm
/approve


qgis, qgis-ltr: version bump

Description of changes

Bump qgis from 3.24.0 to 3.24.1, and qgis-ltr from 3.22.4 to 3.22.5
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 165270 run on x86_64-linux 1

2 packages built:

qgis
qgis-ltr

Thanks!