API question: how to force the submitted file?

I am currently trying to integrate mrImage module with ng-flow in order to add image crop.
The external module will crop one image and save it to an angular model in base64 encoding. After the crop action i should tell ng-flow to upload that image source, but can't find how. Any suggestion?

I'll provide more context.
Here's my markup:
<div flow-init="{testChunks: false}"
	 flow-files-submitted="uploadError = false; upload($flow)"
	 flow-file-success="success($message)"
	 flow-file-error="error($message)"
	 flow-name="uploader.flow">

And here's my controller:
controller: function($scope) {
	$scope.uploader = {};

	$scope.crop = function() {
		$scope.cropped = $scope.selector.crop();
		$scope.uploader.flow.addFile($scope.cropped);
	}
}

$scope.cropped contains the base64 encoded image. The error i get is as follows:
angular.js:11607 TypeError: Cannot read property 'replace' of undefined
I fear the flow instance i'm using is not the wrapper for the flow api.

A step further, i think i've solved this for what matters ng-flow, this was probably more related to flowjs itself. However:
controller: function($scope, FieldProvider, $http, client, auth) {
	$scope.uploader = {};

	$scope.crop = function() {
		$scope.cropped = $scope.selector.crop();
		var blob = new Blob([$scope.cropped], {type: "image/png"});
		blob.name = "test.png";
		$scope.uploader.flow.addFile(blob);
	}
}

This seems to work, even though i still have server side errors, probably related to flowjs or my server implementation itself.


Blue Blocks

I have Blue blocks instead of ghost blocks

How do i fix this???

This is how the render should be showing up, as a blue tint of ghost block so then you toggle printer it knows to go there and place the blocks in that order and spot, if you saying that you having the render stuck on check your settings. also if you not understanding why it a blue tint color so you be able to see it , tho i am not sure if you can change the color for it , my best bet would to do some more research into it with you tube and learn all the bits of the mod. http://prntscr.com/fch182

But why is it not showing ghost blocks?
I have no idea what block to place without printer
Please HElp!! i need the cannon for a raid in factions

Like i have said you tube how to use the mod watch a couple vids you understand it , and for designs idk look up designs google is right in front you lol

Do you have an answer to this tho?

I swear i am so unlucky

Try toggling the VBO setting in the options on/off.

guys i have figured it out. It has to do with other mods you have. For instance i had a bad version of optifine. I got rid of it and it was fine so you have to play around a bit


subset TSI tables

Question: why are TSI tables not subset? They're human-readable, so I figured this tool would have no issues subsetting them.

FontTools does not parse any of these tables (with the exception of TSIV, but even that it has no code to write the parsed table back), so the fact they are human readable is irrelevant as they are just blobs of text as far as FontTools is concerned. I think you are highly underestimating the complexity the issue at hand.

Fair enough. I honestly have no real idea of the complexity of the issue, so you're right to call me out on it.

Fonttools is developed by superhumans for computers, so human-readable tables pose a particular problem.
;)

@behdad I knew it was a serious problem. Thoughts and prayers.
;)


Expose width and height of nimble-dialog & add tokens

Pull Request
🤨 Rationale

#1117
👩💻 Implementation

Performed the tasks that are enumerated in the issue linked above.
Create 2 tokens for the existing (small) dialog: width & max-height
Create 2 tokens for the large dialog: width & height
Have the small dialog as the default (width & max-height of small dialog; height set to fit-content, this was the default height that was applied to the dialog until now)
Added storybook documentation.

🧪 Testing

Manually thorugh the storybook tests & matrix tests in chromatic. The sizes are configurable in the storybook similarly to how the width is configurable for the nimble drawer. For the matrix tests, I added 2 stories: one for the small dialog and one for the large dialog: https://www.chromatic.com/build?appId=60e89457a987cf003efc0a5b&number=7776
✅ Checklist

[X] I have updated the project documentation to reflect my changes or determined no changes are needed.

@stefanc18 based on your recent updates it looks like this is ready for reviewers to take another look. In future you can signal this by re-requesting review (I did this already in this case but let us know if you're still working on it).


Debug in Container - Failed to bind to address http://[::1]:5000: address already in use.

Following the steps verbatim from this article, using the sample project - https://code.visualstudio.com/docs/containers/quickstart-aspnet-core
Testing step works fine.
Debug in container step is having issues. The app is not able to startup because of an Address In Use exception when debugging.
Exception has occurred: CLR/System.IO.IOException
An unhandled exception of type 'System.IO.IOException' occurred in System.Private.CoreLib.dll: 'Failed to bind to address http://[::1]:5000: address already in use.'
Inner exceptions found, see $exception in variables window for more details.
Innermost exception 	 System.Net.Sockets.SocketException : Only one usage of each socket address (protocol/network address/port) is normally permitted.
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.g__BindSocket|13_0(<>c__DisplayClass13_0& )
I am using WSL2 with Ubuntu 18.04 distribution.

@gregvanl Not sure who maintains this tutorial. It uses port 5000 on localhost which works well as long as that port is not already in use. This is mentioned here and might need more details on how to work around it:

When you issue Run command for an image, VS Code will try to use the same port number for the host port and container port. This makes it easy to remember which port to use to communicate with the container, but it won't work if the host port is already in use.

Apologies, I was able to get this to work on another machine, and then also on the original machine. I must have had another container running at the time that I didn't notice.
From: Christof Marti<EMAIL_ADDRESS>Sent: Tuesday, February 9, 2021 11:59 PM
To: microsoft/vscode<EMAIL_ADDRESS>Cc: Ryan Waller<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/vscode] Debug in Container - Failed to bind to address http://[::1]:5000: address already in use. (#116208)
@gregvanlhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgregvanl&data=04|01|rwaller%40microsoft.com|8cb01f7491874bc3d36608d8cd99c5d2|72f988bf86f141af91ab2d7cd011db47|0|0|637485407636522607|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=JmTXXj1utyUS%2FDkeST49S9YGK2QTKTZH%2FoyAanZb8mw%3D&reserved=0 Not sure who maintains this tutorial. It uses port 5000 on localhost which works well as long as that port is not already in use. This is mentioned here and might need more details on how to work around it:
When you issue Run command for an image, VS Code will try to use the same port number for the host port and container port. This makes it easy to remember which port to use to communicate with the container, but it won't work if the host port is already in use.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode%2Fissues%2F116208%23issuecomment-776518722&data=04|01|rwaller%40microsoft.com|8cb01f7491874bc3d36608d8cd99c5d2|72f988bf86f141af91ab2d7cd011db47|0|0|637485407636532563|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=RIJ797%2BgZXDiXjP8XPYHwdPaqJ52spj58AFEJ1euY8E%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAH2U7VUUTKMXKTL2V4IBR5TS6I4FPANCNFSM4XLNVSIQ&data=04|01|rwaller%40microsoft.com|8cb01f7491874bc3d36608d8cd99c5d2|72f988bf86f141af91ab2d7cd011db47|0|0|637485407636532563|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=N3Te5LtjB6oQR9mRcaQNMU0JKHvylFvR7m2Hlne5Clg%3D&reserved=0.

Closing as user is unblocked.


An "initialization function" is required.

Now refresh the browser, and it will initialize the game.
That is not bad, but it is not good.

Add to Cricket Number Count.


Ivy popup does not cancel if C-g is pressed before it finishes loading

If I press C-h o C-g quickly, where the C-g happens between the C-h o and the completions menu being fully loaded, then the text Quit obscures the minibuffer for a few seconds, but the menu is not actually canceled.

Fixed by dropping Ivy in favor of Selectrum.


Reworking seo content

screenshots of where I made changes to content
I personally feel this is only a 1/3 change intended. I'll add the rest after getting your feedbacks.

Which issue does this close? 🤔

Which issue does this close? 🤔

OMG I didn't create an issue for it o. Can you do that?

Also if you merge this PR before the second one on test (there are two PRs now), you might not need to merge the other one because this branch was forked from that one.

I made a new commit that adds upto a 70% use of the keywords.


Support MultiGet operation

Is your feature request related to a problem? Please describe.
Currently, slateDB doesn't support MultiGet operation, which means that when we need to perform multiple point-query operations, we can only call Get operations over and over again, which is not only slow, but also increases the cost of accessing the object store.
Describe the solution you'd like
Add support for MultiGet() operation in slateDB.
Theoretically the implementation of MultiGet is very simple, the original method is to call Get operation for each request key, but this implementation is too slow, I think the focus of the issue is how to efficiently implement MultiGet.
Describe alternatives you've considered
None
Additional context
RocksDB MultiGet Performance

I'm interested in the MultiGet implementation, and since solving #285 is not very hard, I can start working on how to implement MultiGet efficiently after dealing with #285

@KaguraMilet Awesome, just assigned to you. Could you please post a description here about how you plan to implement MultiGet? I want to make sure we're all aligned on the direction.

I'm sorry that I don't have time to deal with it this week. As mentioned in #307 , most of my time this week needs to be reserved for C++. I hope to get back next week. I will as soon as possible.


Add jhrozek and JAORMX as approvers

What type of PR is this?
/kind feature
(I guess?)

What this PR does / why we need it:
It would be nice to have more contributors that are based in EU as approvers.
Which issue(s) this PR fixes:
None

Does this PR have test?
N/A

Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?

NONE

Codecov Report

Merging #600 (9aeda0c) into master (3b8e270) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #600   +/-   ##
=======================================
  Coverage   44.39%   44.39%
=======================================
  Files          26       26
  Lines        1347     1347
=======================================
  Hits          598      598
  Misses        709      709
  Partials       40       40

@saschagrunert @pjbgf @hasheddan

/assign @saschagrunert @pjbgf @hasheddan

/lgtm

It's /lgtm and /approve from me. But keen on getting @saschagrunert's views first.

/override pull-security-profiles-operator-build-image
/override pull-security-profiles-operator-test-e2e


Fix crash in gd script call

close, duplicate pr

Nice to get a confirmation that it was the proper fix :D


add a contribution column in the mission overview

add a new column in missions overview where you can see all missions you are slotted in

I can definitely see that being useful, especially when slotting for multiple missions.
Another filter checkbox for "slotted mission" or likewise would probably be easy to add.
Would you only have missions filtered that you've been assigned a slot, or also ones that you only have registered for one?
Or should that be a separate filter?

I think you should also see the registered ones. So you can avoid double slotting.


Order word learned list

As a user
I want to order alphabetically the list of words learned
To see the list order or in the original order
---------- Acceptance criteria ----------

Show title "Words learned" on the list of words learned, only when the list has at least one word.
Next to the mencioned tittle show an order icon.
By default show the words learned in the original order (as the user registered) and show the non-alphabetically order icon.
When the user clicks on the order icon show the words order alphabetically and change the icon to the alphabetically order icon.
When the user clicks on the alphabetically order icon show the words in the original order.

Rename wordsLearnt variable to wordsLearned.


style/links and loader

Loading as the list ⬇
https://github.com/Vincenius/workout-lol/assets/32961176/0162612f-63ac-4df0-a255-9cec2ccb0041
Link wrapper ⬇
https://github.com/Vincenius/workout-lol/assets/32961176/604c169a-6fc6-4092-ae99-5a05eaff10b1

Good catches! Merged it :)


Custom task execution

I've implemented a custom task and also changed BaseModelConfig argument:
trust_remote_code: bool = True
but when executing:
lighteval accelerate --model_args "pretrained=gpt2" --tasks "community|{custom_task}" --custom_tasks "community_tasks/kinit_evals.py" --output_dir "./evals"
I got:
File "C:\Users\tomas.javurek\AppData\Local\Programs\Python\Python312\Lib\site-packages\datasets\load.py", line 131, in resolve_trust_remote_coe
raise ValueError(
ValueError: The repository for kinit_evals contains custom code which must be executed to correctly load the dataset. You can inspect the reposi.
Please pass the argument trust_remote_code=True to allow custom code to be run.
I am not sure where to pass it.

Hi! It's in your custom task definition, not for the model. Here the error is when loading the data from your task.
You'll also need to make sure that you're using the latest version of lighteval.
Note: please follow the issue template next time (provide the full stack trace, full command, custom code, etc) so we have an easier time debugging!


[Bug] [MauiCompat] How to install MauiCompat?

What is the current instruction for installing Maui compat xamarin toolkit? What I've found are old Microsoft news that are outdated. This nuget is also outdated: https://www.nuget.org/packages/Xamarin.CommunityToolkit.MauiCompat/ 2.0.2 preview , while newest xamarin toolkit is 2.0.5. 2.0.4 is the one that gives maui ga compatibility.
I really need this compat version for specific stuff that is not in the new toolkit like touch effect native animation, which I use on basically everything. And I don't know how to install it. Please help anyone who successfully installed it. I tried - https://github.com/xamarin/XamarinCommunityToolkit/blob/main/MauiCompatSteps.md but it gives me fatal: not a git repository (or any of the parent directories): .git

MauiCompat is only compatible with .NET 6. The package didn't have any feature updates, that is why was not updated.


How to reload tableview in left sidemenu

I have different dynamic data to display in tableview of left menu. How can I achieve this?

Solved by my self by setting delegate to LGSideMenuController and reloading tableview in leftmenu controller by sending notification using NSNotificationCenter

also, work for me using NSNotificationCenter


Cron command?

Hello,
When I enter "rpi-backlight -p off" via ssh my screen turns off. When I enter "rpi-backlight -p on" it turns back on again.
I want to have it do this automatically every day, so I added this to my crontab:
0 23 * * * rpi-backlight -p off

0 12 * * * rpi-backlight -p on

but it's not doing anything. Have I missed something?

You probably need to provide an absolute path to the command.


Get action name from route in authorize

I have a route object that has authorize enabled, and I need to get the action name in the authorize function that is called when the route is invoked, is there any way this can be done?

@icebob Is it still there? For me it is undefined...


PaymentMethods API not supported

I have seen on master the freshly added Payment Intent API support, but the Payment Method API is missing, so there is no way to attach and detach payment methods from a customer. I think that without this part the SCA support is not yet testable. For example:
Stripe::PaymentMethod.attach(payment_method_id, { customer: stripe_customer.id })
results in:

[StripeMock] Warning : Unrecognized endpoint + method : [post /v1/payment_methods/test_tok_1/attach]
[StripeMock] params: {:customer=>"test_cus_3"}

Internally we are using this patched version at the moment: https://github.com/rebelidealist/stripe-ruby-mock/pull/627
Apart from the essential payment methods support, it permits us to get the stripe transaction fee.


[profiling] implement file exporter

What does this PR do?

Refactors ddtelemetry::worker::http_client::HttpClient to ddcommon::http_client::HttpClient
Change datadog_profiling::exporter::Exporter to use above

Motivation
We'd like to export to pprof file using libdatadog
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.

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

Project coverage is 70.24%. Comparing base (cc8ed56) to head (165c2b9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #568      +/-   ##
==========================================
+ Coverage   70.10%   70.24%   +0.13%
==========================================
  Files         214      215       +1
  Lines       28801    28801
==========================================
+ Hits        20192    20231      +39
+ Misses       8609     8570      -39

Components
Coverage Δ

crashtracker
21.20% <100.00%> (ø)

datadog-alloc
98.73% <ø> (ø)

data-pipeline
50.00% <ø> (ø)

data-pipeline-ffi
0.00% <ø> (ø)

ddcommon
83.00% <80.00%> (-0.08%)
:arrow_down:

ddcommon-ffi
70.20% <ø> (ø)

ddtelemetry
58.56% <100.00%> (-0.39%)
:arrow_down:

ipc
84.18% <ø> (ø)

profiling
84.26% <ø> (+0.69%)
:arrow_up:

profiling-ffi
77.42% <ø> (ø)

serverless
0.00% <ø> (ø)

sidecar
34.55% <ø> (ø)

sidecar-ffi
0.00% <ø> (ø)

spawn-worker
54.98% <ø> (ø)

trace-mini-agent
70.88% <ø> (ø)

trace-normalization
98.24% <ø> (ø)

trace-obfuscation
95.73% <ø> (ø)

trace-protobuf
77.16% <ø> (ø)

trace-utils
90.90% <ø> (ø)


Attempt to fix type cast error, take 2

This is my educated guess on how to fix:
Unable to cast object of type 'System.Collections.Generic.List`1[System.Object]' to type 'System.Collections.Generic.List`1[System.String]

I've matched OutObjLst, ErrObjLst with List<object> and OutStrLst, ErrStrLst with List. After compiling, I no longer see this error in any of the tests from Invoke-ProcessFast-Wait-Tests.ps1.
By the way: I'm sorry for the mess during the first attempt.

That makes sense, it was inverted.

Thank you!


Add BentoMap

Project URL
https://github.com/Raizlabs/BentoMap
Description
Map Clustering for Swift.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

:no_entry_sign:
Found 2 link issues

Link issues by awesome_bot

Line
Status
Link

976
301
https://moltin.com/ios-ecommerce-sdk redirects tohttp://moltin.com/ios-ecommerce-sdk/

2083
301
https://buddybuild.com/ redirects tohttps://www.buddybuild.com/

  Generated by :no_entry_sign: danger

Hey @naeemshaikh90, you're awesome!
I just need them to fix this issue before I can approve it here /\


“Waiting to acquire shared lock on daemon addresses registry”

When running the build task the gradle execution gets stuck between acquiring and releasing the file lock for about 5 to 8 minutes.  This happens only on one repository, the others are working fine.

I am having the same issue with different gradle versions.

Any solutions for that? I'm facing the same issue with Mac M1

We are facing this issue as well.

I faced the same issue androidx.benchmark plugin on CI

I'm facing the same issue with Unity exported project.

Same livelock.

I am experiencing this issue locally with projects that have a build-logic included build after updating the wrapper to 7.6. Downgrading the wrapper back to 7.5.1 fixes the issue. What makes this extra strange is the issue doesn't occur on my Jenkins or on GitHub Actions. Here is a basic project that reproduces the issue on my machine: https://github.com/jpenilla/gradle-livelock-reprod
And here is a sample of the debug log https://gist.github.com/jpenilla/30e5ab210a74237d3af20776bf574510

The workaround I found for GitHub CI is to use only macos-latest for all tests & checks, and run only specific OS checks for other runners (ubuntu, windows).

I was experiencing this issue as well and the root cause turned out to be JVM Toolchains, specifically org.gradle.java.installations.auto-detect.
Our CI had a couple of JDKs installed and for one of them the java process hung in the detection process. This caused the build to hang forever.
I expect the root cause was a bad JDK, but it would probably be nice to have some sort of timeout on the detection process.

As also mentioned in https://discuss.gradle.org/t/gradle-stuck-waiting-to-acquire-shared-lock-on-daemon-addresses-registry/43553, those messages are DEBUG messages and nothing unusual. Gradle regularly talks to the Gradle daemon by "waiting for the lock", then "acquiring the lock", "doing its work", and finally "releasing the lock".
If a build is "stuck with these messages", it is a red herring to think those messages are the problem. They are just regular work that is done while something else is hanging. Anyone having a hang like this has to debug / profile / thread dump their build to see where the build is actually hanging, or what it is doing that needs much time without logging progress.
@remcomokveld as you found what was the culprit in your case, I suggest you open a new issues targeted at solving that exact problem, as this issue here is just a too generic issues that imho should be closed as the messages are not the problem or cause. :-)

For those of you that have an issue that looks like this in Gradle 7.6 through 8.2 you might want to check out #25361 which has one specific cause of this when using finalizers in a particular way. Looks to be fixed for 8.3 - not sure about backport.

Hey folks, sorry for a late reply.
Given the @Vampire and @chadlwilson replies, I'm closing this as a question.
If you think you have come across a Gradle bug, please file a new issue describing the problem and how to reproduce it.
Thank you @Vampire and @chadlwilson for the insights!


[$500] Send money - Missing bank account option when paying with Expensify

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.55-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to staging.new.expensify.com.
Go to 1:1 DM
Click + > Send money
Select USD currency and enter an amount > Click Next
Click Pay with Expensify.

Expected Result:
Bank account option will be present in Pay with Expensify menu.
Actual Result:
Bank account option is not present in Pay with Expensify menu.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/dbff58e5-666f-4c5d-ae2f-6349ed714699

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0113f6d0636b87cae3
Upwork Job ID:<PHONE_NUMBER>316952576
Last Price Increase: 2024-04-02

We think this issue might be related to the #vip-vsb.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Send money - Missing bank account option when paying with Expensify
What is the root cause of that problem?
Here :
https://github.com/Expensify/App/blob/51ef6c1bd1cd3d981db744bff1fcff9e7c670c0c/src/components/AddPaymentMethodMenu.js#L69-L73
we need to add Send Report Request as well
What changes do you think we should make in order to solve the problem?

Here :
https://github.com/Expensify/App/blob/51ef6c1bd1cd3d981db744bff1fcff9e7c670c0c/src/components/AddPaymentMethodMenu.js#L69-L73
we can add this ReportUtils.isMoneyRequest in one of the OR condition
What alternative solutions did you explore? (Optional)
N/A
Result

Updated Proposal

Proposal
Please re-state the problem that we are trying to solve in this issue.
The bank account option isn't available when sending money to a user.
What is the root cause of that problem?
The bank account page will show if it's an expense or an IOU report.
https://github.com/Expensify/App/blob/82065804528dc66daaa6ba652ab2dea84684c619/src/components/AddPaymentMethodMenu.js#L71-L75
However, on the money request confirmation page, the expense/IOU report doesn't exist. Each send money will create a new IOU report. Also, in our case, we can only send money to a user and not a workspace, so the expected result would be to show the personal bank account option.
What changes do you think we should make in order to solve the problem?

We need to pass shouldShowPersonalBankAccountOption to the confirmation page settlement button.
https://github.com/Expensify/App/blob/82065804528dc66daaa6ba652ab2dea84684c619/src/components/MoneyTemporaryForRefactorRequestConfirmationList.js#L622-L624
The props is passed down deeper to the AddPaymentMethodMenu component.
this is what we do in here too

Hey @jjcoffee, we have a few proposals for review when you get a chance!

@godofoutcasts94's proposal is unclear and has an incomplete solution, which doesn't appear to work. I'd recommend working on expanding your proposals in future to make it clearer both for yourself and for the reviewers.
The other two are pretty similar proposals, but @bernhardoj's proposal is the first to get the correct RCA and solution. We don't need to check for isTypeSend as @GandalfGwaihir suggests, as we already do that in shouldShowSettlementButton.
https://github.com/Expensify/App/blob/82065804528dc66daaa6ba652ab2dea84684c619/src/components/MoneyTemporaryForRefactorRequestConfirmationList.js#L619
:ribbon::eyes::ribbon: C+ reviewed

Hey @jjcoffee please have a look at the working video of my proposal

@godofoutcasts94 The expected result here is to show the personal bank account option, as the other two proposals implement. You also have ReportUtils.isMoneyRequest in your solution without passing anything to it, which is why I recommend digging into the details for your future proposals. Best of luck!

but in the issue description, there is no discussion about Personal or Business Bank Account Option.

@bernhardoj's propsal LGTM though I'm not sure if bank accounts are actually supposed to be an option for the Send Money flow currently. I'm asking internally here.

Alright just concluded that conversation. We should list both Personal and Business bank accounts as options when using Pay with Expensify in the send money flow. Any of those can be linked to your wallet for payment.
That means both @bernhardoj and @godofoutcasts94's proposals are actually incomplete. Can either of you update your proposals and can you re-review @jjcoffee? I think we can take whichever is updated and acceptable first.

updated proposal
cc - @arosiclair

Updated proposal with alternative solution as well.

@arosiclair wouldn't it be redundant to show both business and personal bank account? Both options will navigate the user to add a personal bank account.

@arosiclair wouldn't it be redundant to show both business and personal bank account? Both options will navigate the user to add a personal bank account.

I don't think this is true. The business bank account option should create a workspace and start the VBBA flow here.

@arosiclair it will create a workspace and start the VBBA if we do it on an existing iou report, but when sending money, we are always creating a new iou report, and it's not possible to send money to workspace. So, it will navigate to addBankAccountRoute instead.
https://github.com/Expensify/App/blob/6d06a30801b063ff4b7dddb8e77b8196d8761b6e/src/components/KYCWall/BaseKYCWall.tsx#L137C37-L137C56
And addBankAccountRoute will be the add personal bank account route.
https://github.com/Expensify/App/blob/6d06a30801b063ff4b7dddb8e77b8196d8761b6e/src/libs/ReportUtils.ts#L890-L892

@arosiclair it will create a workspace and start the VBBA if we do it on an existing iou report, but when sending money, we are always creating a new iou report, and it's not possible to send money to workspace. So, it will navigate to addBankAccountRoute instead.

Hmm that sounds like another bug then. I would expect a workspace to be created in both cases.
Alright, let's just focus on just the personal bank account in this issue and then I'll open a follow up to give special attention to the send money flow using a business bank account. Since @bernhardoj had the best proposal for the personal bank account, I'll hire them.

PR is ready
cc: @jjcoffee

PR has been reviewed, currently undergoing QA

PR is on staging

Reapplying the Bug label to get another BZ member on this while I am OOO til May 2. Thanks @zanyrenney,  only thing to do here is issue payment on 4/25!

payment summary
@jjcoffee PAID $500 ON UW automatic offer (Reviewer)
@bernhardoj  PAID $500 ON UW automatic offer (Contributor)


Godot editor accepts non-ascii chars but doesn't show them

As a result, there might be invisible unknown characters in the code

Closing because it's old, and from my experience it seems like the problem was caused by not using/importing  font with national characters. Feel free to open new one if this is not the case.

Let me put it this way: If the font doesn't have non-ascii chars then editor should not accept it. The current behaviour is that, you accidently hit a key lile ş, ı, ğ etc. Most of the time you don't even notice it and then you spent hours why the code does not work. You can't even fix it without opening the code in a proper text editor. I think this should be reopened.

@tapir thank you very much for your comment. Indeed it was my mistake to close this issue. The worst part is the editor pretends it's not accepting these characters since cursor is not moving, but they are still there.

:+1:

I confirm this issue, it hit me when testing #2491.

In the name of all non-ASCII keyboard layout users, can we get this fixed for 2.0 :)
This bug is really annoying. Etiher we should use a utf-8 font by default or the text editor shouldn't accept non-ASCII chars.

this will be fixed in 2.1 when Godot gets proper internaitonalization
On Tue, Jan 26, 2016 at 12:54 PM, Coşku Baş<EMAIL_ADDRESS>wrote:

In the name of all non-ASCII keyboard layout users, can we get this fixed
for 2.0 :)
This bug is really annoying. Etiher we should use a utf-8 font by default
or the text editor shouldn't accept non-ASCII chars.
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/871#issuecomment-175088525.

Looking at the the 2.1 roadmap it seems Internationalisation is absent. http://www.godotengine.org/projects/godot-engine/roadmap

i have a more up to date list, but will post it on the new website
On Fri, Jan 29, 2016 at 9:08 AM, abdlquadri<EMAIL_ADDRESS>wrote:

Looking at the the 2.1 roadmap it seems Internationalisation is absent.
http://www.godotengine.org/projects/godot-engine/roadmap
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/871#issuecomment-176724132.

@abdlquadri actually it's even on this old list, under the "Editor #27: Make editor translatable"

yeah, the new issue i wrote down is to use dynamically generated fonts, so
using unicode for multiple languages is easier
On Fri, Jan 29, 2016 at 9:35 AM, kubecz3k<EMAIL_ADDRESS>wrote:

@abdlquadri https://github.com/abdlquadri actually it's even on this
old list, under the "Editor #27
https://github.com/godotengine/godot/issues/27: Make editor
translatable"
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/issues/871#issuecomment-176731398.

Fixed in 3e8eb39 \o/


Wrong highlighting for returning streams with multiple types

 Issue by HindujaB
Tuesday Mar 23, 2021 at 09:20 GMT
Originally opened as https://github.com/ballerina-platform/plugin-vscode/issues/310

Description:
The highlighting behavior is not consistent when we have streams with multiple types

Suggested Labels:
Suggested Assignees:
Affected Product Version:
alpha3
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/31841


feature suggestion: draggable direction for nodes

Description
For nodes with a direction= tag, a mouse-access method for setting the value.
Possibly the existing sequence used for rotating a building area could be used
(select object, 'r" ,  mouse-move referred to the centre of the object).
My use case is for entering solar panels, and speed cameras; this is merely to speed up the
operation by avoiding the "guess that's about 195.... nope, 215" sequence.
Screenshots
No response

Duplicate of #5530 (see https://github.com/openstreetmap/iD/issues/5530#issuecomment-1065971502 ).
Make sure to check for existing issues, please.


Repo sync for protected CLA branch

The pull request is created from master637649030951144856 to master to fix git push error for protected CLA branch

@ghogen : Thanks for your contribution! The author(s) have been notified to review your proposed change. @evanwindom


Update how-to-connect-fed-saml-idp.md

Updating the authnrequest sample to be more current with what we send today. We don't send an assertionconsumerserviceindex anymore and send a signed authnrequest.

@billmath
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks @maweeras-msft


First package draft

This PR adds a first draft of the package including:

Operator to acquire frames and corresponding metadata (XimeaCapture)
Wrapper classes for the metadata

Added a small example of how to derive from the XimeaCapture base class and:

Setting additional settings by overriding the base Configure method;
Log specified camera settings to a dump file;

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

Hey guys,
I don't see anything here to set FPS, but that was one modification we needed to make.
@bruno-f-cruz I think you started it, but here's our CustomXimeaCapture.cs: https://gist.github.com/talmo/1954f2ee452498b82654e94c1151af17
Important piece was setting the acquisition timing mode:
                // Refs:
                // https://www.ximea.com/support/wiki/apis/XiAPINET_Manual#ACQ_TIMING_MODE
                // https://www.ximea.com/support/wiki/allprod/Frame_Rate_Control
                camera.SetParam(PRM.ACQ_TIMING_MODE, ACQ_TIMING_MODE.FRAME_RATE_LIMIT);
                camera.SetParam(PRM.FRAMERATE, FrameRate);

Hey guys,
I don't see anything here to set FPS, but that was one modification we needed to make.
@bruno-f-cruz I think you started it, but here's our CustomXimeaCapture.cs: https://gist.github.com/talmo/1954f2ee452498b82654e94c1151af17
Important piece was setting the acquisition timing mode:
                // Refs:
                // https://www.ximea.com/support/wiki/apis/XiAPINET_Manual#ACQ_TIMING_MODE
                // https://www.ximea.com/support/wiki/allprod/Frame_Rate_Control
                camera.SetParam(PRM.ACQ_TIMING_MODE, ACQ_TIMING_MODE.FRAME_RATE_LIMIT);
                camera.SetParam(PRM.FRAMERATE, FrameRate);

Heya!
Once the package is live, this will be an easy modification to make to the extensions script . For the "base" camera class we just want something as barebones as possible, inline with the other camera acquisition nodes already implemented in Bonsai.

I just wanted to add
(1) many thanks for working on this!
(2) it would be great to see this become part of bonsai!
(3) if there is a reason for keeping it out: is there a simple way for me to install this and use a ximea camera?

pinging @bruno-f-cruz @glopesdev


Port to eth-tester/web3.py

remove pyethereum dependency
add eth-tester and web3.py
currently build from a specific commit on vyper rather than a version release
upgrade vyper array type declarations
port all tests

That was a doozy. Ready for review...


Duplicate Background

Is there a way to make my laptop duplicate the background while using a second monitor rather than stretching the image awkwardly

I dont have multimonitor setup so I cant test the changes, but still I think the latest commit must have fixed your issue.
Can you let me know if you are still having this issue?


Add Cookie Consent

OneTrust cookie consent implementation.
Same as Marketing Site and other touchpoints

Implemented in #1043


gc: allow selection of what should be removed

Should this be in rkt gc or rkt rm?

I think probably both

This is for https://github.com/coreos/rkt/issues/1835
@steveeJ what is the status of this?

Do you have any time for this, @steveeJ?

De-milestoned, for the moment.


[mssql] fix typo in headless service

What this PR does / why we need it:
Fixed a typo in the service block if running headless
Special notes for your reviewer:
@thomasliddledba sorry I made a typo in the headless block and didnt capitalize C
Checklist

[x] DCO signed
[x] Chart Version bumped

/lgtm
/approve


should I maintain a heartbeat in application layer?

Firstly, client  connect to etcd cluster, and watch for something change
then,   if send a SIGSTOP signal to the etcd connected to by hand, client would not sense connection disconnect in both V2 and V3. And client still treate connection alive. beacuse  tcp heartbeat  still exist
Should I maitain a heartbeat every period time, and when heartbeat timeout then try another etcd endpoint?

With the client as it is now, yes, that check would need application-level heart beats. Related: #7321 #7247

Closing. Please reopen if you have any further questions. Thanks!


Change config file resolution priority to match PHPStan

Thanks for the plugin, I just tried it out. We are currently using PHPStan with GrumPHP on pre-commit but having it run instantly would be awesome. I would like to have the same config resolution priority as PHPStan.

If config file is provided as a command line option, it will be used.
Otherwise, if phpstan.neon exists in the current working directory, it will be used.
Otherwise, if phpstan.neon.dist exists in the current working directory, it will be used.
Otherwise, if phpstan.dist.neon exists in the current working directory, it will be used.
If none of the above is true, no config will be used.

I tried changing phpstan.configFile into phpstan.neon,phpstan.neon.dist and phpstan.neon|phpstan.neon.dist but it doesn't seem to allow for multiple configurations. At the moment we have a dist file in the project, but we do local changes before we distribute them to the whole team.

Sounds good! Will implement this in not too long. I think the format of a comma-separated list would indeed be best since it preserves the string-format for most users.


Rav1dTileState_frame_thread::cf: Make into offset

To avoid borrow checker issues I modified decode_coefs to use a new CfSelect enum to determine which of the two possible coef bufs to use. I also added coef versions of pxstride and cast_pixel_slice so that I could correctly convert between byte offsets and coef offsets.
I also had to make a couple of functions take a &mut Rav1dFrameData (previously they were taking a shared reference) in order to get mutable access to the coef buffers. @rinon does this conflict with your current work?

Oh, also the first commit doesn't compile here. I split this up into two commits to more easily roll back my changes if I hit issues. We should squash this instead of merging it to avoid having a non-compiling commit in our history.


Canvas - Properties Dialog overlaps with Data Plugin additions to it.

Expected Behavior
I expected to see a clean properties dialog box where the pentaho-pdi-dataset plugin's entries are listed with the normal properties.
Actual Behavior
I see both the original dialog and the pentaho-pdi-dataset-plugin dialog transposed on top of each other.
Screenshots and error messages are helpful.
Overlap Problem
Steps to Reproduce the Problem

http://sandbox.kettle.be:8080/spoon/spoon
Right click on the canvas

Client

OS (e.g., Ubuntu 18.10):
Browser (Google Chrome Version 70.0.3538.77 (Official Build) (64-bit)):

I was able to reproduce this issue. Thank you for reporting.
I also confirmed that this does not happen on Spoon.

To avoid an unexpected, unwanted service termination at imagebin.ca, the image uploaded by @usbrandon is

The issue happens because oldMenu (the one from pentaho-pdi-dataset) stays visible though it is set invisible by https://github.com/HiromuHota/pentaho-kettle/blob/webspoon-8.1/ui/src/main/java/org/pentaho/di/ui/core/ConstUI.java#L269-L272.

Reopen this since I'm experiencing this issue from time to time.
There seems to be a race condition, only in RWT, between oldmenu's popup as the control's menu and control.setMenu( menu ) that replaces the control's menu.


Create start/pause/resume/stop sub-commands for 'ros2 trace'

Closes #68
That adds the following sub-commands to ros2 trace as "verbs":

ros2 trace start: configure tracing session and start tracing
ros2 trace pause: stop tracing, without removing tracing session
ros2 trace resume: start tracing again
ros2 trace stop: stop tracing and destroy tracing session

The goal is to provide non-interactive & finer-grained ways to control tracing. For example, this could be used in scripts. It could also be used for long-term tracing (related to #44): users can trace the first 10-30 seconds to collect initialization information, then pause, and then resume tracing again later on.
Example:
$ ros2 trace start my_session
UST tracing enabled (35 events)
kernel tracing disabled
context (3 fields)
writing tracing session to: /home/user/.ros/tracing/my_session
$ ros2 trace pause my_session
$ ros2 trace resume my_session
$ ros2 trace stop my_session

@mjcarroll friendly ping

Linux
Linux-aarch64
Windows

Thanks for the review.
CI looks good, so let's go.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-2-jazzy-jalisco-released/37862/9


Last update problem

Hello, I'm having a problem after the last update. Every time I restart the homebridge, the current wled goes into no response state and a new wled homekit is ready to be added on. I did the editing as a new configuration, I restarted the device completely, but the problem was not solved. As far as I check from the logs, every time the homebridge restarts, it starts to work through different ports.

Здравствуйте, у меня возникла проблема после последнего обновления. Каждый раз, когда я перезапускаю домашний мост, текущий wled переходит в состояние без ответа, и новый домашний набор wled готов к добавлению. Я делал редактирование как новую конфигурацию, перезапустил устройство полностью, но проблема не была решена. Насколько я проверяю по логам, каждый раз при перезапуске homebridge начинает работать через разные порты.

Same problem. Confirm

I'm sorry for the circumstances, yesterday I released a new version where this problem has been fixed. Version 1.1.3

Hi, I did the new update but at this time the wled homekit stopped appearing in the add section.  Is this problem related to me?

@burakcankose Does any error appear in your Homebridge console?

no problem appears, the port where it finds the device and the working port is visible, but when I scan, I cannot see the device.  In the previous version, I see a new named device at every restart.

+#x47

Ok, try to rename your WLED devices to another name and restart your Homebridge and see if the problem still occurs.

Ok, try to rename your WLED devices to another name and restart your Homebridge and see if the problem still occurs.

Yes. I have a problem.

Ok, try to rename your WLED devices to another name and restart your Homebridge and see if the problem still occurs.

This is work for me. Thank you !

@earlywaff Which problem do you have?

I uninstalled the bridge, reinstalled the plugin, rebooted everything.
Renamed it.
Trying to add the bridge, it says wrong code.

Can you please send you config.json and are you using the latest version of homebridge-simple-wled?

{
"platform": "WLED",
"name": "VERHSHKAF",
"host": "<IP_ADDRESS>",
"log": true,
"effects": [
"Gradient",
"Merry Christmas",
"Blink",
"Wipe",
"Wipe Random",
"Sweep",
"Dynamic",
"Colorloop",
"Rainbow",
"Scan",
"Dual Scan",
"Fireworks 1D",
"Theater",
"Theater Rainbow",
"Saw",
"Twinkle",
"Running",
"Rainbow Runner"
]
},
{
"platform": "WLED",
"name": "KOMOD",
"host": "<IP_ADDRESS>",
"log": true,
"effects": [
"Gradient",
"Merry Christmas",
"Blink",
"Wipe",
"Wipe Random",
"Sweep",
"Dynamic",
"Colorloop",
"Rainbow",
"Scan",
"Dual Scan",
"Fireworks 1D",
"Theater",
"Theater Rainbow",
"Saw",
"Twinkle",
"Running",
"Rainbow Runner"
]
        1.2.1 version

Ok, I see the problem...
With the newer versions you have to add the WLEDs like the format below:
    "platforms": [         {             "platform": "WLED",             "wleds": [                 {                     "name": "LED-Tisch",                     "host": "<IP_ADDRESS>",                     "effects": ["Rainbow Runner", "Circus"],                     "log": true                 },                 {                     "name": "LED-Kasten",                     "host": ["<IP_ADDRESS>", "<IP_ADDRESS>"],                     "effects": ["Rainbow Runner", "Circus"],                 }             ]         }     ]

Thank you very much, I'll fix it and report back!)

Yes, thank you very much for supporting this plugin, now I will try to make a donation!) The error was indeed in the config)

I'm glad that it works now and that you like the plugin :D

Hi, i have another issue since the update - when I try to change the color i get the following exception and the Homebridge crashes

config is as follow:

Ok i know the problem, i will fix it as fast as possible.

@v0r73x I released a new version, where this problem should be fixed.

wow - so fast ? I am appreciate :) will test immediantly :)
btw: great work ;9

Ok thanks.
Because this is now a Platform plugin, every accessory has it's own UUID to be identified and cached... and this number is also just a ID for the device. Because in a Platform plugin multiple accessories can be defined and also could be added dynamically by runtime.
So for example the plugin adds multiple accessories in runtime and the don't have a specific name you can identify them mostly with the Platform-Name and the ID.
I hope I could answer your question. :D


Optimise service.SanitizeString and filter functions.

For filter functions use a table instead of repeated string allocations.
Optimize sanitizestring to a single gsub call

PoF:


IE version detection is incorrect

In IE11, the browser version is reported as 5. Even though IE doesn't support WebRTC, it would be nicer to make sure the version reported is correct.

The current logic for detecting IE version (looking for the string after MSIE) only works for IE versions up to 10; for IE 11 one should be looking at the string after "rv".

Fixed with PR 51:
https://github.com/muaz-khan/DetectRTC/pull/51

Merged. Thanks.


Bug: Using a real router with Composition API example is missing push

Describe the bug
In the docs there is a code example for Using a real router with Composition API. Here is the code example in it's current state:
import { mount, flushPromises } from '@vue/test-utils'
import { createRouter, createWebHistory } from 'vue-router'
import { routes } from "@/router"

let router;

beforeEach(async () => {
  router = createRouter({
    history: createWebHistory(),
    routes: routes,
  })

  router.push('/')
  await router.isReady()
});

test('allows authenticated user to edit a post', async () => {
  const wrapper = mount(Component, {
    props: {
      isAuthenticated: true
    },
    global: {
      plugins: [router],
    }
  })

  await wrapper.find('button').trigger('click')

  expect(push).toHaveBeenCalledTimes(1)
  expect(push).toHaveBeenCalledWith('/posts/1/edit')
})

In the assertion expect(push).toHaveBeenCalledTimes(1), we access the push variable, but push is not defined anywhere.
How should that be handled? Am I just missing something? I'd be happy to put up a PR for it if anyone has an answer!

Hi @N8ers
You're right, push is not defined here.
I suppose the test should look like:
test('allows authenticated user to edit a post', async () => {
  const wrapper = mount(Component, {
    props: {
      isAuthenticated: true
    },
    global: {
      plugins: [router],
    }
  })

  const push = jest.spyOn(router, 'push');
  await wrapper.find('button').trigger('click')

  expect(push).toHaveBeenCalledTimes(1)
  expect(push).toHaveBeenCalledWith('/posts/1/edit')
})

This is pseudo-code though, I haven't tested it.
If you're interested in opening a PR, can you check that this properly works and update the docs if that's the case?
That would be a great help!

Hey @cexbrayat!
Okay cool, I'm glad I didn't miss something. I can confirm that that worked for me. I'm using vitest not jest, but I'm confident it will be fine.
I'll make a PR and link it to this issue - thanks for the help 😄

I've submitted this PR to update the documentation!


Negative Age

You can give a negative age when updating your profile

Thanks for the report, @mdw7326.


combine USERID and GROUPID with bpdm-user/group name

Hi @nicoprow,
found out that your Dockerfiles generate a User with a new Group but they will not directly connect to used security_contecxt in deployment.yml
https://github.com/eclipse-tractusx/bpdm/blob/0d4a4adcff343d2ef20554c55bd4edb14e1bdd2c/bpdm-pool/Dockerfile#L9-L10
some suggestion from other etx members:
ARG USERNAME=bpdm
ARG USERID=10001
ARG GID=3000

RUN groupadd --gid $GID -S $USERNAME \
    && useradd --uid $USERID --gid $GID -m $USERNAME

other flavor if you modify the security_context in deployment.yaml
 RUN addgroup -g 101 -S bpdm  \
     && adduser -u 100 -S bpdm -G bpdm \

in little demo-run found out that user bpdm  will not directly use the provided sercurity context ID`s

dockerfiles are updated issues can be closed for now


hoping the new version coming soon

@daanx, hi daanx, I see that the last version is released in May, is there any news about the next release?
When I use mimalloc with pure 1GB hugepages, it comes to a 40% memory usage higher than nomal 4KB page, and with normal 4KB page, the RSS of mimalloc is still 10% higher than jemalloc, is there any clue? I have to let RocksDB work on hugepage, so mimalloc is the only choice.
I trust mi and je are both SOTA mallocs, so hoping the next version can improve this.

Well, a fresh version is coming soon  v1.8.8 and v2.1.8 -- hopefully next week.  However, with huge pages there will always be more memory usage since it is a 1 GiB huge page pinned in memory -- we cannot purge any memory inside such huge pages :-) . Also, a 10% difference with respect to some other allocator can always be the case -- we are trying but it often depends on workloads etc, and sometimes memory usage is in tension with scalable performance.
(ps. having said this, you might want to try out the latest dev3-bin branch which has a new backend allocation mechanism which under certain workloads uses much less memory. This is still in alpha stage though).

Well, a fresh version is coming soon v1.8.8 and v2.1.8 -- hopefully next week.
-Well, glad to here that!

However, with huge pages there will always be more memory usage since it is a 1 GiB huge page pinned in memory -- we cannot purge any memory inside such huge pages :-) .
-That sounds like a problem.
We will repeatedly alloc and free same size memory block, if a block is freed and waiting purge (which can't be done in a hugepage), then another malloc call with same size comes, will the freed block be re-used first for allocation? If not, it sounds like we have lost the block forever, and hugepages will become unusable as time goes by?
Is there any setting to improve the efficiency of hugepages?

(ps. having said this, you might want to try out the latest dev3-bin branch which has a new backend allocation mechanism which under certain workloads uses much less memory. This is still in alpha stage though).
-We has tried this patch and it seems not help.


HonsshServerFactory instance has no attribute 'ourVersionString'

hello, what version of twisted do you use?
I got 13.2.0 and honssh doesn't work at all. I got:
2015-10-11 07:07:33+0200 [honssh.server.HonsshServerFactory] Unhandled Error
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext
        return context.call({ILogContext: newCtx}, func, *args, **kw)
      File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
        return self.currentContext().callWithContext(ctx, func, *args, **kw)
      File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
        return func(*args,**kw)
      File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
        why = selectable.doRead()
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 1063, in doRead
        protocol = self.factory.buildProtocol(self._buildAddr(addr))
      File "/opt/honssh/honssh/server.py", line 185, in buildProtocol
        t.ourVersionString = self.ourVersionString
    exceptions.AttributeError: HonsshServerFactory instance has no attribute 'ourVersionString'

when I delete line
t.ourVersionString = self.ourVersionString
from server.py
it works okay. I found out t.ourVersionString is already set, and there's nothing in self.ourVersionString .

Hi,
Sorry for the slow reply.
I have been using a few different versions including 13.2.0 and the newer 15.4.0 - both are fine.
It looks like the self.ourVersionString variable is not being set. This variable should be set when HonSSH first boots up. It connects to the honeypot and acquires their version string to use.
Do you know if HonSSH had an issue connecting to the honeypot when it was first started?
Many thanks,
Tom

hello, thank you for the reply.
I think I didn't set up routing and forwarding yet, and that's why it didn't work.
TY for answer :) Working fine now. I'm closing the issue.


datasette package --spatialite throws error during build

Hello! Attempting to use datasette package to bundle up a SpatiaLite DB and I'm getting this error during the docker build:
sqlite3.OperationalError: /usr/lib/x86_64-linux-gnu/mod_spatialite.so.so: cannot open shared object file: No such file or directory

Seems to be throwing when this step is ran:
ERROR [6/6] RUN datasette inspect results.db --inspect-file inspect-data.json

This is with v0.63.1.

Which Docker image are you using here? It looks like it's missing SpatiaLite from the image.

Oh this is with datasette package? That should work. Will investigate.

Trying this out locally with this 69MB SpatiaLite file I happened to have lying around (from testing shapefile-to-sqlite a while ago): https://static.simonwillison.net/static/2022/nps-spatialite.db
% datasette package nps-spatialite.db --spatialite
...
 => [2/6] COPY . /app                                                                                0.4s
 => [3/6] WORKDIR /app                                                                                0.0s
 => [4/6] RUN apt-get update &&     apt-get install -y python3-dev gcc libsqlite3-mod-spatialite &&     rm -rf /var/lib/apt/lists/*     29.6s
 => [5/6] RUN pip install -U datasette                                                                                12.0s
 => [6/6] RUN datasette inspect nps-spatialite.db --inspect-file inspect-data.json                                                       2.6s
 => exporting to image                                                                                3.0s
 => => exporting layers                                                                                3.0s
 => => writing image sha256:4dfef1c373c5c057ef7ac22344f834d522acef24313a1b25d2eba9e500066b8f                                             0.0s

And then:
docker run -p 8001:8001 4dfef1c373c5

This worked fine for me. I ran datasette package using Datasette 0.63.1.

Did you use the --spatialite option?
I just tried this:
datasette package nps-spatialite.db

It built the image OK (I didn't see the error you reported), but running the container failed with an error:
/tmp % docker run -p 8001:8001 7298e8e6bbfb
Usage: datasette serve [OPTIONS] [FILES]...
Try 'datasette serve --help' for help.

Error: It looks like you're trying to load a SpatiaLite database without first loading the SpatiaLite module.

Read more: https://docs.datasette.io/en/stable/spatialite.html

Could you provide full steps to reproduce plus a SpatiaLite database file that triggered this for you? I'm not able to recreate the problem.

Interesting! So I tried this locally using your copy of nps-spatialite.db and I got the same error. 🤔
❯ datasette package nps-spatialite.db --spatialite
[+] Building 27.5s (10/10) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 622B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/python:3.11.0-slim-bullseye                                                                                0.9s
 => [internal] load build context                                                                                2.3s
 => => transferring context: 72.38MB                                                                                2.3s
 => CACHED [1/6] FROM docker.io/library/python:3.11.0-slim-bullseye@sha256:1cd45c5dad845af18d71745c017325725dc979571c1bbe625b67e6051533716c                                           0.0s
 => [2/6] COPY . /app                                                                                0.1s
 => [3/6] WORKDIR /app                                                                                0.0s
 => [4/6] RUN apt-get update &&     apt-get install -y python3-dev gcc libsqlite3-mod-spatialite &&     rm -rf /var/lib/apt/lists/*                                                  18.5s
 => [5/6] RUN pip install -U datasette                                                                                4.9s
 => ERROR [6/6] RUN datasette inspect nps-spatialite.db --inspect-file inspect-data.json                                                                                0.7s
------
 > [6/6] RUN datasette inspect nps-spatialite.db --inspect-file inspect-data.json:
#10 0.681 Traceback (most recent call last):
#10 0.681   File "/usr/local/bin/datasette", line 8, in <module>
#10 0.681     sys.exit(cli())
#10 0.681              ^^^^^
#10 0.681   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
#10 0.682     return self.main(*args, **kwargs)
#10 0.682            ^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.682   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1055, in main
#10 0.682     rv = self.invoke(ctx)
#10 0.682          ^^^^^^^^^^^^^^^^
#10 0.682   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
#10 0.682     return _process_result(sub_ctx.command.invoke(sub_ctx))
#10 0.682                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.682   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
#10 0.682     return ctx.invoke(self.callback, **ctx.params)
#10 0.682            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.682   File "/usr/local/lib/python3.11/site-packages/click/core.py", line 760, in invoke
#10 0.682     return __callback(*args, **kwargs)
#10 0.682            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/site-packages/datasette/cli.py", line 164, in inspect
#10 0.683     inspect_data = loop.run_until_complete(inspect_(files, sqlite_extensions))
#10 0.683                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/asyncio/base_events.py", line 650, in run_until_complete
#10 0.683     return future.result()
#10 0.683            ^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/site-packages/datasette/cli.py", line 179, in inspect_
#10 0.683     counts = await database.table_counts(limit=3600 * 1000)
#10 0.683              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 304, in table_counts
#10 0.683     for table in await self.table_names():
#10 0.683                  ^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 342, in table_names
#10 0.683     results = await self.execute(
#10 0.683               ^^^^^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 267, in execute
#10 0.683     results = await self.execute_fn(sql_operation_in_thread)
#10 0.683               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 213, in execute_fn
#10 0.683     return await asyncio.get_event_loop().run_in_executor(
#10 0.683            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
#10 0.683     result = self.fn(*self.args, **self.kwargs)
#10 0.683              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#10 0.683   File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 209, in in_thread
#10 0.683     self.ds._prepare_connection(conn, self.name)
#10 0.683   File "/usr/local/lib/python3.11/site-packages/datasette/app.py", line 593, in _prepare_connection
#10 0.683     conn.execute("SELECT load_extension(?)", [extension])
#10 0.683 sqlite3.OperationalError: /usr/lib/x86_64-linux-gnu/mod_spatialite.so.so: cannot open shared object file: No such file or directory
------
executor failed running [/bin/sh -c datasette inspect nps-spatialite.db --inspect-file inspect-data.json]: exit code: 1

This is so weird! What version of Datasette do you get from datasette --version there - and what's your Docker version / operating system version?

You get:
 => [internal] load metadata for docker.io/library/python:3.11.0-slim-bullseye                                                                                0.9s
 => [internal] load build context                                                                                2.3s
 => => transferring context: 72.38MB                                                                                2.3s
 => CACHED [1/6] FROM docker.io/library/python:3.11.0-slim-bullseye@sha256:1cd45c5dad845af18d71745c017325725dc979571c1bbe625b67e6051533716c                                           0.0s

I get:
 => [internal] load metadata for docker.io/library/python:3.11.0-slim-bullseye                                                                                1.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 705B                                                                                0.0s
 => CACHED [1/6] FROM docker.io/library/python:3.11.0-slim-bullseye@sha256:1cd45c5dad845af18d71745c017325725dc979571c1bbe625b67e6051533716c                                                            0.0s

Both the image name and the hash are exactly the same. So why are you getting an error while mine works OK?
For my machine:
~ % docker --version
Docker version 20.10.12, build e91ed57

~ % uname -a
Darwin Simons-MacBook-Pro-2.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct  9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64

Is it, uh, possible we are on different architectures? 😅 I'm using an Apple M1 Pro.
I jumped into a bash shell of an unmodified python:3.11.0-slim-bullseye container and manually ran apt-get update and installed libsqlite3-mod-spatialite. I don't end up with with mod_spatialite.so in /usr/lib/x86_64-linux-gnu/ — mine is in /usr/lib/aarch64-linux-gnu/.
I swapped that directory in here in a local copy of datasette and poof — it worked!

Can confirm that my uname -a returns something different at the end:
root:xnu-8792.41.9~2/RELEASE_ARM64_T6000 arm64

I'm in arm64 land, you're in x86_64. I am admittedly very fuzzy on how this factors into Docker these days. Honestly thought this was one of the things Docker was suppose to help address. 🤔

Okay, my final observations for the night! I've been pushing and pulling the various levers in utils/__init__.py to see what makes this work without hard-coding in something for arm64 and it seems that if I change /usr/lib/x86_64-linux-gnu/mod_spatialite.so to just mod_spatialite it's happy.
Unfortunately cannot audit that for x86_64, but maybe that's a solution that'd be cross-arch compatible? It seems like it's the hard-coding of that path that's tripping it up.
(It was actually this comment from back in 2018 in an entirely unrelated repo that nudged me to try this, ha.)

If you can believe it I just hit this all over again. 😅


feat: Speech Service module.

Description
Closes https://github.com/Azure/bicep-registry-modules/issues/248
Adding a new module

[x] A proposal has been submitted and approved.
[x] I have included "Closes #{module_proposal_issue_number}" in the PR description.
[x] I have run brm validate locally to verify the module files.
[x] I have run deployment tests locally to ensure the module is deployable.

Updating an existing module

[ ] This is a bug fix:

[ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description.
[ ] The bug was found by the module author, and no one has opened an issue to report it yet.

[ ] I have run brm validate locally to verify the module files.
[ ] I have run deployment tests locally to ensure the module is deployable.
[ ] I have read the Updating an existing module section in the contributing guide and updated the version.json file properly:

[ ] The PR contains backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json.
[ ] The PR contains backwards compatible feature updates, and I have bumped the MINOR version in version.json.
[ ] The PR contains breaking changes, and I have bumped the MAJOR version in version.json.

[ ] I have updated the examples in README with the latest module version number.

Mmm, we might want to wait to merge this in @shenglol.
I think PR #404 covers this.

Close as #404 covers the scenario.


[ fix #373 ] enable existing-class on postulated type formers

This should fix the problem highlighted here.
We may want to add an additional check so that only postulates with the right type signatures can use existing-class (i.e proper type former, no class constraints).

Closing this, since I can't think of any situations where it isn't preferable to introduce a record and use existing-class.


fix a typo in configuration comment

@yutongp You must sign your commit before it can be merged 😢

just figured out how to signed. create new pr for both


TNO-3039 TNO-3040 Update tno-core version

update tno-version to 0.1.150

It looks good for me.


RASA taking too long to run on Google Colab

Rasa version:
Rasa SDK version (if used & relevant):
Rasa X version (if used & relevant):
Python version: 3.7
Operating system (windows, osx, ...): MacOS
Issue:
Error (including full traceback):
No error, RASA just times out on Google Colab

Command or request that led to error:
from rasa_nlu.training_data import load_data
from rasa_nlu.config import RasaNLUModelConfig
from rasa_nlu.model import Trainer

training_data = load_data('nlu.md')
pipeline = [{"name": "nlp_spacy"},
            {"name": "tokenizer_spacy"},
            {"name": "intent_featurizer_spacy"},
            {"name": "intent_classifier_sklearn"}]
trainer = Trainer(RasaNLUModelConfig({"pipeline": pipeline}))
interpreter = trainer.train(training_data)
model_directory = trainer.persist('./projects/default/')

Content of configuration file (config.yml) (if relevant):

Content of domain file (domain.yml) (if relevant):

On Google Colab, tensorflow version 2.3.0 or more is already installed.
Rasa 1.10.10 works on tensorflow 2.1.1, and does not work on 2.3.0 .
When you install rasa on Colab, it does not downgrade tensorflow.
You need to downgrade it manually with !pip install tensorflow==2.1.1.

Additionally, Colab provides GPU but the provided CPU is very low. It only provides 1 or 2 CPUs which is very low. It might slow down operations around 10x times compared to 8-12 CPU cores.

Also; when I run the following command to get rasa core:
!pip install rasa_core;
I get the RASA core version 0.14.5. How do I install rasa_core on Colab to get the 1.10.10 version?

Thanks for the issue, @akelad will get back to you about it soon!
You may find help in the docs and the forum, too 🤗

I fixed the previous problem by installing rasa instead of rasa_core and got the 1.10 version. The only problem is that I'm not quite sure how to change how I'm training the NLU model. The code I have is as follows:
`from rasa.core.policies.keras_policy import KerasPolicy
from rasa.core.agent import Agent
Agent()
agent = Agent('domain.yml', policies=[KerasPolicy()])
training_data = agent.load_data('stories.md')
agent.train(
training_data,
validation_split=0.0
)
agent.persist('models/dialogue')`
Now I'm getting the following TypeError:
TypeError: 'coroutine' object is not iterable

Hey @aoduru where did you get the code originally for google colab? That is a very old rasa verison. You can take a look at how to train a model here via python code.
I'm going to close this issue as it's more of a usage question. If you need more help, please ask on our community forum


Jesse: Watch ostorlab.co

Jesse requests the watch of the watch_keyword ostorlab\.co. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

ostorlab\.co has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


How to use it on fortnite right now chapter 4 season 3 !! I need OFFSETS

How to use it on fortnite right now chapter 4 season 3 !! I need OFFSETS

This is not directly related to a game or game cheat offsets


Is there a document of HCopy?

I found that it is hard to understand the intension of following code.
cmd = self.HCopyExe + ' -C ' + self.HConfigFile + ' -S ' + scriptfile

Bumping this thread. I am having a hard time installing the right HCopy. Any help/insights will be appreciated.
Thanks Sushan

I could only find the following reference regarding HCopy but it covers other tooling and not only HCopy. From my understanding HCopy is a tool to extract log mel-filter bank channel outputs for a given waveform audio file. In particular it uses the config file obtained by the download.sh script which contains several configurations like SOURCEKIND = WAVEFORM and TARGETKIND = FBANK_E_D_A and processes the files as specified by script file which is a temporary file containing the files to process as follows:
wav/airplane_2.wav /tmp/tmpYAHuQB/airplane_2.mfb
wav/acoustic_guitar_60.wav /tmp/tmpYAHuQB/acoustic_guitar_60.mfb

It shouldn't be necessary to download and install HCopy as it is already provided. Personally I could use as-is from Ubuntu 16.04.3 LTS.

How to obtain, see: http://htk.eng.cam.ac.uk/download.shtml, as stated in the requirements:
https://github.com/znaoya/aenet/blob/master/README.md#requirements
Indeed, we use it to extract the filter bank feature, as @gantzer89 has observed.
cmd = self.HCopyExe + ' -C ' + self.HConfigFile + ' -S ' + scriptfile defines the command we use to extract the filters, which the self.HConfigFile being:
https://data.vision.ee.ethz.ch/cvl/aenet_feat_data/configmfb.hcopy
and scriptfile being a file containing the wav files for which features are extracted


Bottom bar Letters are hidden

Bottom bar icon with bottom text are fading, hiding mainly for letter like 'y' 'g' 'j' etc with icon 24dp (VectorDrawable)
Displaying correctly selected state

Problem while unselected state (letter g)

where I'm wrong may be the vector grapics padding while exporting svg?

https://github.com/roughike/BottomBar/issues/589


How to Send a Message with Frame in MultiClient Mode

cannot send message with frame!
Question
Hi,
I have multiple clients and 1 server. I aim to send my message with frame from my server to all clients but there is no option to do that in multi-client mode. How to do that with multi-client mode or with bidirectional mode without creating any new server port?

I have multiple clients and 1 server. I aim to send my message with frame from my server to all clients but there is no option to do that in multi-client mode. How to do that with multi-client mode or with bidirectional mode without creating any new server port?

@elanurozlem You can't currently as NetGear only support unidirectional data transfer in both Multi-clients and Multi-Server Exclusive modes. It could be possible to implement bidirectional data transfer in these modes, but I'll not going to work on it right now, may be in the near future. Being said that any related PRs are always welcome.

I just wonder that is there any way to send a message with frame from 1 server to multiple clients in VidGear?

I explained already above. No not yet.

@elanurozlem This feature is being worked on now. Please stay tuned.

Successfully resolved and merged in commit https://github.com/abhiTronix/vidgear/commit/9006f7ca41a6a40df0c76473ef898daf6b685ffa

Successfully resolved and merged in commit https://github.com/abhiTronix/vidgear/commit/de2e8a9cc8e0fd29eaf636d487e7a22f2c038505


[darknet] update to v2020-08-30

patch is not necessary anymore, since it has been applied upstream

Thanks again!


Create mechanism for mocking workflow in unit tests

CLOUDBLD-73

Maintainers will complete the following section

[ ] Commit messages are descriptive enough
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request has a link to an osbs-docs PR for user documentation updates
[ ] New feature can be disabled from a configuration file

@MartinBasti PTAL, instead of a fixture I made a class for mocking workflow

Rebased on master and resolved conflict in test_pin_operator_digest

Amazing!

Had the last change in the wrong commit, oops (fridays, right?)

I'm pretty happy with this now, not sure if I should update more tests or if the 4 I have are good enough as proof of concept

No release notes, internal change for testing only


Input CSV files required

Hi I'm brand new to using python to access APIs and your work is very helpful, thank you!
In 3 of the .py files you read some input data in CSV format, e.g., line 13 of player_data:

players = pd.read_csv('input/auction_results.csv')

Could you please provide a sample of one such file? Would be very helpful for me troubleshooting when pulling data from my leagues.
Thanks again!

I am trying to program something that returns 3 years of draft results, I am just attempting to get some data to return, i too would like to see an example of the .csv file. Thanks for the effort on this.

Thanks Cameron - I'll take a look and see if I can share some sample data!
On Thu, Aug 30, 2018, 2:45 AM Cameron Weaver<EMAIL_ADDRESS>wrote:

I am trying to program something that returns 3 years of draft results, I
am just attempting to get some data to return, i too would like to see an
example of the .csv file. Thanks for the effort on this.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/almartin82/yahoo_roster_extract/issues/3#issuecomment-417207835,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAvvN-CVHB-dYbhnl7V-q6Ms8Tbd7KpMks5uV4ntgaJpZM4WSY_a
.


App freezes for 1-2 minutes when using custom filter with many arguments

Hello, @YuAo
I encountered a weird problem with my custom MTIFilter. When I execute my filter for the first time the whole app is freezing literally for 1-2 minutes. After that it unfreezes and the filter continues to work fast without any problems, even if I reopen my app everything's good. But If I don't wait for 1-2 minutes until it unfreezes, then each time when I use this filter the whole app just hang.
My fragment shader has 8 texture entries and 20 buffer parameters. (I have read that maximum args for buffer allowed is 31, so it's ok) The problem occurs on iPhone SE (iOS 14, A9 chip) and on iPhone 6s (iOS 13, , A9 chip). On iPhone XS everything's working good.
My CPU usage is 0% and other processes CPU is 100% when app hangs, I checked system trace and found out that MTLCompilerService is active almost all the time on freeze.

I already disabled GPU Frame Capture, it didn't help.
I guess that problem could be related to the amount of parameters I use for the filter, I already packed 20 buffer params into one structure as in your example, but it didn't help. I guess the problem could be with 8 textures, I wonder how could I pack textures in structure the same way, I didn't find the proper way. I guess GPU processor could jump to CPU and block it somehow. And I don't really understand if this problem is gonna be preserved on release build on the App Store.
Also, here's the article I found, but I don't understand how to apply this with MetalPetal (if it could help)
https://developer.apple.com/documentation/metal/buffers/managing_groups_of_resources_with_argument_buffers
Can you tell if I could pack textures more efficiently to the fragment shader or maybe there're other possible solutions?
Checklist

[x] I've read the README
[x] I've searched for existing GitHub issues

I tried to localise the problem, but no luck. There's a chance that it's a simple Metal bug.
I just rewrote this filter and left only 3 input textures, for that I need to execute filter several times now instead of one time, but at least without freeze
I close the issue, but it would be good to have an ability to add several textures to shader more efficiently.

Hi @dannydaddy3 I can't reproduce the issue on an iPhone 5s (A8 chip) using 8 or 9 textures.
Can you confirm it's the number of the texture that causes the problem?  For example, can you run a shader that simply adds 8 textures and see if it freezes?

No, I checked it with 10 textures using simple filter, but it worked normally.
In my filter I also tried commenting some if statements and it worked with maybe 1 sec freeze or without it.
So I think it's some compiler bug


CSS Linking?

I see in your views that you link to your assets in the following way:
<link href="{{asset("packages/serverfireteam/blog/libs/syntaxhighlighter/styles/shCore.css")}}" rel="stylesheet" type="text/css" />

Won't this break? Since we won't have the packages/ folder but it will be in the vendor folder?

@notflip if you don't need code high lighter just remove it from your view ,
when you install the package it would put this files in your public folder


Move Pen from font-types to skrifa

This adds a new contour_to_path function that emits a single contour to a pen. The signature for this function is a bit unfortunate because it requires both an iterator of all points and the last point as a separate argument. This is necessary to support FreeType style path conversion where we start with the last point if the first is an off-curve.
The intention is to allow for conversion of autohinted outlines to paths without allocating and copying new buffers.
Moves all the path conversion code into a new module under glyf because the size of that file was becoming unwieldy.
Adds a couple new unit tests to capture an additional edge case and also tested with fauntlet against all of gfonts and noto to ensure it doesn't break anything.
We should consider moving the pen stuff to skrifa and making this code internal to that crate.

This still does the changes to the path conversion above but now also:

moves font_types::Pen to skrifa::outline::OutlinePen (which was an existing alias).
moves font_types::PenCommand to skrifa::outline::pen::PathElement.
adds OutlinePen impls for NullPen, SvgPen, and Vec<PathElement> so we can stop writing these all over the place.

... and contains a lot more churn than expected.

Shame it's another breaking change in font-types, but hopefully the last for quite a while?
Let's hope so? I don't foresee any near term changes after this.


When adding to an album from a show we should disable the installs view as they cannot be added

[ ] when the album button is clicked when in a show only display the "works" view as install shots cannot be added to shows

a future optimization to allow for installs to be viewable via albums could include re-enabling tagging of install shots in volt so that we could display tagged installs in individual artwork views

 Installation images cannot/should not be added to albums so the UI should be disabled for doing so


Attempt to fix flaky test: TestIngressGateway503DuringRuleChange

Increase sleep value to account for Galley default waiting of 1 sec to aggregate MCP resources.
Attempt to fix flakiness in #11594
Flaky test: TestIngressGateway503DuringRuleChange

@andraxylia: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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

Needs approval from an approver in each of these files:

OWNERS

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

@andraxylia: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
b6a530981d79044a1ce96c117ad89acf3fe6eea3
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@andraxylia: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
b6a530981d79044a1ce96c117ad89acf3fe6eea3
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
b6a530981d79044a1ce96c117ad89acf3fe6eea3
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Bug: [August] Discover Devices: TypeError: Cannot convert undefined or null to object

Describe The Bug
Locks not functioning
To Reproduce
Install 2 August Door locks without Door Sense, make them available of WiFi. Installed this home bridge extension. Setup according to instructions. See issues as reported by https://github.com/donavanbecker/homebridge-august/issues/21, so set configuration for each lock as shown in bug report. Restart Homebridge.
Expected behavior
Extension not report errors, and locks are functional.
Relevant log output
7/24/2023, 10:20:56 PM] [August] Initializing August platform...
[7/24/2023, 10:20:56 PM] [August] [DEBUG] Using Config Logging: debug
[7/24/2023, 10:20:56 PM] [August] [DEBUG] Finished initializing platform: August
[7/24/2023, 10:20:56 PM] [August] Platform Config: {"logging":"debug"}
[7/24/2023, 10:20:56 PM] [August] [DEBUG] Using Default Refresh Rate (5 minutes).
[7/24/2023, 10:20:56 PM] [August] [DEBUG] Config OK
[7/24/2023, 10:20:56 PM] [August] [DEBUG] Loading accessory from cache: Garage Door
[7/24/2023, 10:20:56 PM] [August] [DEBUG] Loading accessory from cache: Front Door
[7/24/2023, 10:20:56 PM] [August] [DEBUG] Executed didFinishLaunching callback
[7/24/2023, 10:20:56 PM] [August] [DEBUG] augustId<EMAIL_ADDRESS>installId: xxxx, password: xxx, isValidated: true
[7/24/2023, 10:20:56 PM] [August] [DEBUG] August Credentials: {"config":{"apiKey":"79xxxx","pnSubKey":"sub-c-xxxx","installId":"xxxx","idType":"email","augustId":"xx@gmail.com","password":"xxx"}}
...
FetchError: Status 429 (undefined): undefined
[7/24/2023, 10:20:57 PM] [August] Discover Devices: TypeError: Cannot convert undefined or null to object

Config for homebridge-august
{
            "name": "August",
            "credentials": {
                "augustId"<EMAIL_ADDRESS>                "password": "xxxx",
                "installId": "xxxx",
                "isValidated": true,
                "notice": "Keep your tokens a secret!"
            },
            "options": {
                "devices": [
                    {
                        "lockId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                        "configLockName": "Front Door",
                        "hide_device": false,
                        "lock": {
                            "hide_contactsensor": true
                        },
                        "logging": "debug"
                    },
                    {
                        "lockId": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                        "configLockName": "Garage Door",
                        "hide_device": false,
                        "lock": {
                            "hide_contactsensor": true
                        },
                        "logging": "debug"
                    }
                ],
                "logging": "debug"
            },
            "platform": "August"

Screenshots
No response
Device & Model
AUG-SL04-M01-G04
Node.js Version
v18.16.0
NPM Version
9.6.3
Homebridge Version
v1.6.1
Homebridge August Plugin Version
1.2.0-beta.2
Homebridge Config UI X Plugin Version
v4.50.4
Operating System
Debian GNU/Linux Bullseye (11)

Changing the code to log the entire stack trace, I see this:
[7/24/2023, 10:48:38 PM] [August] Discover Devices: TypeError: Cannot convert undefined or null to object
[7/24/2023, 10:48:38 PM] [August] TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at August.details (/var/lib/homebridge/node_modules/homebridge-august/node_modules/august-api/src/methods/details.js:9:24)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at AugustPlatform.discoverDevices (/var/lib/homebridge/node_modules/homebridge-august/src/platform.ts:220:23)

Duplicate of https://github.com/hufftheweevil/august-api/issues/3


Fix timeout parameter location in example

the command line argument parser doesn't care about the position of the timeout option relative to the host/port, so i'm unclear what this fixes -- can you please explain?

I was trying to use this on a Mac, and apparently it doesn't have the timeout bash (3.2) builtin/command.


maxBins not honored

I set the maxBins to 2 (1 gives an error) like this:
val discretizer = new MDLPDiscretizer()
      .setMaxBins(2)
      .setMaxByPart(10000)
      .setInputCol("features")  // this must be a feature vector
      .setLabelCol(labelColumn )
      .setOutputCol("bucketFeatures")

and there were 3 bins produced with these splits:
"16.1, 21.05, 30.95, Infinity"
Shouldn't there be at most 2 bins? This is the same result I get if I specify maxBins as 1000.

I made a change for #6 so that there is an initial -Infinity split, and now the splits are

"-Infinity, 16.1, 21.05, Infinity"

This is better, but I was really expecting just a single non-infinite cutpoint between the two sentinel infinities.

It seems that in lines 155 and 191, there is a bug:
val maxPoints = maxBins + 1
The number of cut points should be:
val maxPoints = maxBins - 1
I'll fix this bug as soon as possible.

Sergio, I believe you fixed this, correct? I sync'd from upstream and get the fix. Looks fine to me.
I think we can close this.


Request Dependency

I can see in the package that this needs "request" : ">=2.12.0", but then in the code it uses core's http.
Is this right? Is request really needed as a dependency?

It is not needed and has been removed in the "update" branch will be merged into master in the next week or so.


🚀 Feature: Twoslash type checks have inconsistent type alias name substitutions behavior across project references

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
I have a Customization<From, To> type that calculates what can/must be provided in order to transform a value of type From into a value of type To. This type can conveniently be checked by twoslash checks, e.g.:
const x1: Customization<{}, { x: number }> = {} as any;
//    ^? const x1: {
//           x: number;
//       }
const x2: Customization<{}, { x?: number }> = {} as any;
//    ^? const x2: {
//           x?: number | undefined;
//       }

Unfortunately, when the Customization type is imported from an external dependency then the twoslash checks fail. The type returned in the quick info stays unchanged:
const x1: Customization<{}, { x: number }> = {} as any;
//    ^? const x1: Customization<{}, {
//           x: number;
//       }>
const x2: Customization<{}, { x?: number }> = {} as any;
//    ^? const x2: Customization<{}, {
//           x?: number | undefined;
//       }>

However, when hovering over x1 and x2 in VSCode or IntelliJ, the reduced representation is still shown.
It would be great, if the language service that is used by twoslash checks would be configured in such a way that it returns the same quick info that IDEs show.
Additional Info
Attached you find a GIF that show how the quick info shown by IntelliJ differs from the quick info used by the twoslash check.

It's hard to evaluate this without a reproduction. I appreciate the snippets & gif but really need to see source code with Customization's implementation and with it imported from another place.
https://antfu.me/posts/why-reproductions-are-required
Could you post that please?

Hi @JoshuaKGoldberg , thanks for looking into this! I prepared a small repo that shows the situation.

Fascinating, thanks for that! Simplifying and summarizing the reproduction a bit:
import { Customization } from "@monorepo/utils/customization";

declare const x1: Customization<{}, { x: number }>;
//            ^? const x1: {
//                   x: number;
//               }

So the two cases are:

✅ The source file file is inside package/utils, importing Customization from customization.mjs
❌ The source file in a separate project, importing Customization from a project reference customization.d.mts

The issue also does not reproduce if we make a new packages/utils/test-d/example.d.ts next to packages/utils/test-d/customization.test-d.mts containing the Customization type, and switch the import to import type { Customization } from "./example.d.ts".
I think the conclusion is that this is just the behavior for TypeScript project references. eslint-plugin-expect-type's expect rule directly calls to TypeScript's APIs:
https://github.com/JoshuaKGoldberg/eslint-plugin-expect-type/blob/740cd7814cd06a9924df4e0087cf0c79fb3cb27b/src/failures/getExpectTypeFailures.ts#L40-L46
...so there's nothing we can do here to "fix" this 😞.
My advice would be that if you truly think this is a bug in TypeScript, try filing an issue on them. I haven't personally verified that this isn't something that was discussed previously, though - you'll want to check on the TypeScript issue tracker for past discussions. Maybe there's a good reason for this?
Thanks for using the lint rule & filing this issue, at least. It was a fun investigation! 🙌

Thanks for looking into the issue. The only thing I wonder about is, why do IDEs behave differently? I would suspect, that they also just rely on tsc and do not apply additional logic.

Yeah, I think that's exactly it. Their language service treat types across project references differently from how the CLI would.


Create mdu.txt

Website of MDU: https://www.mdu.edu.tw/

@dickyZhen For a university with email domain mdu.edu.tw the filename has to be  lib/domains/tw/edu/mdu.txt. Please rename.

@dickyZhen I have to close the request without merging. Please ensure you are familiar with this repository rules located at the bottom of this page and submit a new request with correct information. Thank you for the understanding!


Photon returns an error on update a nested rec

Node.js version: v12.13.0
Prisma2 version<EMAIL_ADDRESS>Schema:
generator photon {
  provider = "photonjs"
}

datasource db {
  provider = "sqlite"
  url      = "file:{**PATH**}/db.sqlite"
}

model ParentRec { @@map(name: "parent")
  id        String   @default(cuid()) @id
  createdAt DateTime @default(now()) @map(name: "created_at")
  updatedAt DateTime @updatedAt @map(name: "updated_at")
  code      String   @unique
  children  ChildRec[]
}

model ChildRec { @@map(name: "child")
  id        String    @default(cuid()) @id
  createdAt DateTime  @default(now()) @map(name: "created_at")
  updatedAt DateTime  @updatedAt @map(name: "updated_at")
  code      String    @unique
  parent    ParentRec @map(name: "parent_id")
}

Code:
const {Photon} = require('@prisma/photon');

async function main() {
    const photon = new Photon();
    await photon.connect();
    try {
        const created = await photon.parentRecs.create({
            data: {
                code: 'parent',
                children: {
                    create: {
                        code: 'child'
                    }
                }
            },
            include: {
                children: true
            }
        });

        console.log(created);

        const updated = await photon.parentRecs.update({
            where: {
                code: 'parent'
            },
            data: {
                children: {
                    update: {
                        where: {
                            code: 'not_found' // rec with this code doesn't exist
                        },
                        data: {
                            code: 'child_upd'
                        }
                    }
                }
            },
            include: {
                children: true
            }
        });

        console.log(updated);
    } catch (err) {
        console.error(err);
    } finally {
        await photon.disconnect();
    }
}

main().then(() => {
    console.log('Completed!');
});

Error:
Error:
Invalid `photon.()` invocation in /home/vadim/Projects/Temp/index.js:23:49

Reason: Error occurred during query execution:
InterpretationError("Error for binding \'1\': AssertionError(\"Expected a valid parent ID to be present for nested update to-one case.\")")

This is expected as the relationship is required. Trying to perform an update on a non-existant record will throw. We need to throw a better here though.

(Possible that the error is already better in alpha - please check that @pantharshit00)

Nope, it is throwing the same error in alpha.415

Throwing the error here is correct. The message is not useful, which is known but unrelated to this issue.

The query engine refactoring has started landing, so I checked whether this crash is still reproducible, and it is. Working on this now.

https://github.com/prisma/prisma-client-js/issues/319 this PR contains a test reproduction using the same schema and queries as above. @mavilein  as mentioned on slack, this looks very AUMFIDARR-relevant. The TL;DR is that a parent ID is missing on a nested update, where the parent record is found by unique criteria, and the child record too (they also have PKs but they are not used there)

I think this should throw this error actually: https://github.com/prisma/prisma-engines/blob/master/libs/user-facing-errors/src/query_engine.rs#L51

Internal Note: To be picked up with a bigger refactoring.