Filter Keyboard Shortcuts by particular column

Issue Type: Feature Request
I want to focus on Explorer when my cursor is in the main panel without using mouse.
So I started searching for focus in Keyboard Shortcuts
Now it filters focus everywhere including other columns like Keybinding & When.
But I only want it to show on Command column.
I tried doing filter:Command focus but it doesn't work.
I want it to work like either Github or Twitter. As in if you want to search for a particular users tweets with a keyword, you can type from:username javascript & it'll give you those results.
Does this exist in VSCode? If not, would be a great feature :)
VS Code version: Code 1.46.0 (a5d1cc28bb5da32ec67e86cc50f84c67cc690321, 2020-06-10T09:03:20.462Z)
OS version: Windows_NT x64 10.0.18362

Related: https://github.com/microsoft/vscode/issues/22748 looks like someone had started this in 2017.

You can now filter by command id column - @command:${commandId}. Other supported columns are

@source
@keybinding`


Explicitly returning null in .map()

I am using maybe in React Native, in the props of a custom text component. The custom component should set the underlying Text component prop numberOfLines to 1 by default, or null if the user passes false into the custom component's truncate prop:
<BasicText
  numberOfLines={maybe(props.truncate)
    .filter(t => !t)
    .map(() => null)
    .orJust(1)}
/>

However, flow understandably complains about returning null in .map():
null (This type is incompatible with union: number | boolean | string | object type | array type
See also: call of method `map`

Is there an "idiomatic" way to handle this, or is it simply a case of putting an // $ExpectError comment and forgetting about it?

Why would truncate false set numberOfLines to null? Should it be the other way around?

Thanks for getting back so quickly. I probably should have used a less convoluted example! truncate: false should set it to null because null is the only way I know of making a react prop "have no effect". When numberOfLines is set to null, it doesn't do any truncating. If it's set to 1, then ellipsizeMode comes into force.
But basically what I mean is: there are some situations where we might need to return null. Is there a good way to do that?

Put another way: we are allowed to do .orJust(null) My use case above is really just the inverse of that, but the flowtyping won't allow it.

You need to use flatmap and return nothing.
map doesn't allow you to return a nil value and doesn't implicitly convert null to nothing. It's expected behaviour - I thought through this use case and tested other languages to compare. The problem with allowing null inside Maybe is that you will then need to check or wrap it again which kind of defeats the purpose.

On 20 Jun 2017, at 15:28, Ben Styles<EMAIL_ADDRESS>wrote:
Put another way: we are allowed to do .orJust(null) My use case above is really just the inverse of that, but the flowtyping won't allow it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok, I guess I can't use maybe for this. Just to be clear though, I can't use flatmap and return nothing because that would trigger the .orJust(1) whereas I explicitly want to return null. I'm not asking maybe to implicitly convert null to nothing.
I guess treating null as a value in this way goes directly against the concept of this lib. I don't suppose there would be a way to wrap it or something to appease flow?

Would this work?
maybe(props.truncate).filter(t => t).map(t => 1).orJust()
I think you can return undefined for numberOfLines.
This lets you:

optionally provide truncate
if truncate is true then it returns 1
if truncate is missing or false, it returns undefined

The problem is the default should be 1, not null or undefined. The vanilla equivalent is:
props.truncate == null ? 1 : (props.truncate ? 1 : null)

...which is why I wanted to use maybe!


Steamcmd not Online?

Happy New Year...
I know this is probably something minor, but on a fresh pull and container creation, steamcmd is not able to connect to the servers to download the game data.
[----] !!! Fatal Error: Steamcmd needs to be online to update. Please confirm your network connection and try again.

/data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x57194890/0x0xf79b7b'

Exiting, steamcmd install or update failed!

I'm pretty sure my network works just fine since I was able to download the image.  I have other containers running just fine as well. By the way, thanks for doing this, it really saves a lot of time.

So what is going on?  This issue is definitely with your image because I currently have 3 containers running successfully, pulled and run the same way.  Only your 7dtd-server will not work.
Further error says...Unable to resolve hostname.

So what is going on?  This issue is definitely with your image because I currently have 3 containers running successfully, pulled and run the same way.  Only your 7dtd-server will not work.
Further error says...Unable to resolve hostname.

Tried to build your image from your Dockerfile and it fails with unable to resolve domain names.

 They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package xvfb
E: Unable to locate package telnet
E: Unable to locate package vim
E: Unable to locate package net-tools
E: Unable to locate package expect
The command '/bin/sh -c apt-get update && 	apt-get install -y --no-install-recommends     xvfb     telnet     vim     net-tools     expect &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

Tried to build your image from your Dockerfile and it fails with unable to resolve domain names.

 They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package xvfb
E: Unable to locate package telnet
E: Unable to locate package vim
E: Unable to locate package net-tools
E: Unable to locate package expect
The command '/bin/sh -c apt-get update && 	apt-get install -y --no-install-recommends     xvfb     telnet     vim     net-tools     expect &&     rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100


Request permission on azure app-service and container-agents

Description
Request upload permission for the following plugins:
Azure App Service Jenkins Plugin
https://github.com/jenkinsci/azure-app-service-plugin
https://issues.jenkins-ci.org/browse/HOSTING-368
Azure Container Agents Plugin
https://github.com/jenkinsci/azure-container-agents-plugin
https://issues.jenkins-ci.org/projects/HOSTING/issues/HOSTING-423
Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[ ] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
As @chenkennt is on vacation, I have submitted some evidence that I have permission on the projects

azure-app-service-plugin, original Microsoft repository
azure-container-agents-plugin, original Microsoft repository

[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Unfortunately a model of multiple committers / fewer releasers is not uncommon in plugins with multiple maintainers, so commit access alone does not suffice.
In cases like this we ping the owner – @chenkennt – and give them several days to respond.


Replace NSError for api errors

Currently we use NSError objects to represent errors returned in the API response. This makes it hard to access all the error fields that JSON:API specifies. It's probably better to use a custom struct for this,

See the https://github.com/wvteijlingen/Spine/tree/swifty-errors branch.


Please add Pump Duty and Demand Control

We have some old radiators in our house, which we only need during some times in the winter.
To avoid that the water makes too much noise, we need to change Pump Duty a couple of time per season.
Please make it possible to use:
panasonic_heat_pump/commands/SetMaxPumpDuty
Also, please make Demand Control available?
panasonic_heat_pump/main/SetDemandControl
It can now be done by manual setup (also via heishamon, but manually created in HA)
E.g.:
- id: 1264e8eb3ac74d55b1bc5d2bad7ed5c8
  alias: Set pump speed
  trigger:
  - platform: state
    entity_id: input_number.heishamon_pump_speed
  condition: []
  action:
  - delay: '5'
  - service: mqtt.publish
    data_template:
      topic: panasonic_heat_pump/commands/SetMaxPumpDuty
      retain: false
      payload_template: '{{ "%.0f" % (states(''input_number.heishamon_pump_speed'')
        | int) }}'
  mode: single

Hello @supersjimmie ,
I can add those two tunables of course. However:

I don't really understand what MaxPumpDuty represents so I would be glad to get input (or pull requests) to improve representation of that entity (to have the proper unit for instance)
demand control is linked to the optional PCB so it will not be enabled by default. Also since I don't understand what it controls, I don't know what is the mqtt topic to read the current value, it means HA will never know what the current value is (especially after a restart of HA).

Hello @supersjimmie ,
I can add those two tunables of course. However:

I don't really understand what MaxPumpDuty represents so I would be glad to get input (or pull requests) to improve representation of that entity (to have the proper unit for instance)
demand control is linked to the optional PCB so it will not be enabled by default. Also since I don't understand what it controls, I don't know what is the mqtt topic to read the current value, it means HA will never know what the current value is (especially after a restart of HA).

Your input would be very valuable here!

MaxPumpDuty, this value are set only from service menu of heatpump. It's represent maximum circulation pump work capacity. So by lowering it it will reduce flow rate..
DemandControl physically controlled from optional PCB, so if you have optional PCB you need to add external hardware to control demand. In heishamon you can emulate optional PCB and imitate it's hardware to set demand.

And by pump duty, heatpump tries to hold it's delta heat value.. so with max duty you set maximum value for pump.. usually it's not given to control it.. because with wrong setting you can lose efficient.. usually it's lowered in smaller systems to reduce flow noice. And it's set by installer once..  @supersjimmie maybe you could make clear why it's important to have ability to control it?

@geduxas  I see this has been closed, but to answer your last pump duty question:
I do need to reduce the pump speed (water flow) in my system because the system is partially too old to have a high flow (makes too much noice). Under normal operation the heat delta controls the flow, but it is possible to change the heat pump to maintain a constant flow. That way the flow is no longer managed by heat delta and then the flow is only controlled by this parameter.


Remove Docker from Misk-Web-Plugin

Merged into #215 because of overlapping changes

Yes: Remove Docker. No: replace with shelling out.
Probably change misk-web-plugin to only handle sourceSets and other Gradle build script configuration instead of doing any web build tasks.


Update (but back to go mod tidy breaking ./simple/)

https://github.com/googleapis/go-genproto/issues/1015#issuecomment-2394578637 isn't solved just moved down to ./simple

tried with 1.23.2 and it also removes proto


bbctl not checking if artifact exists for correct architecture

The latest commit of mautrix discord 2138b611 doesn't have a build artifact for darwin amd64.
However bbctl still recognises the new commit and tries to download the binary for a missing building artifact and instead downloads the html source of the mau.dev login page.
Thus when trying to run bbctl run sh-discord you get a exec format error as it's not a binary.
Downloading older build artifacts for the correct arch doesn't work either as bbctl still tries to update them.

@valadect, I just found this ticket and I was able to work around this same issue on mac amd64 signalgo bridge using the -n flag. So bbctl run -n sh-discord should tell it not to bother checking for an update.

Intel macOS binaries are deprecated, but bbctl run now has a --compile flag to have it automatically clone the bridge repo and build it locally.


api4 update

I hope you can update your Marketbuddy plugin for api4.
It's been so useful until now, but sadly api4 doesn't allow using older plugins q_q

Oh right, forgot I had an issue to update 😅  Well it is done now


Slider defaults

the sliders start pointing to the right location, but double clicking on the slider to reset it puts the slider to halfway up, instead of the default value.

issue is only when there is no GFX section, and thus lice is not used

thank you. will check.

if there is no gfx section, how can you see auto sliders ?
can you post the effect source ?
you can empty the block/sample section

I think that I later discovered that it was reaper's default sliders, so I am unsure if they can be set to a default apart from 0.5?

As far as i know there is no option in the vst sdk to tell the daw
The default value.
I might be wrong.
When i have time, i'll check.


Why the msvcrt{32,64}.lib binary?

Just curious, what does this definition and the bundled msvcrt64.lib accomplish? (Was wondering if it could be made to use the definition included in MSVC.)

The libraries bundled with Visual Studio are meant to (dynamically) link with the newest Visual C++ Redistributables, which is not needed in our case and introduces incompatibility problems. The lib files in the project have been generated from the default system "msvcrt.dll" available and mostly unchanged from Windows XP which means that there is no need to link against heavy redistributables (MSVCP140 dll - ~626 KB, compare that to the current release size of superUser) thus increasing portability and drastically decreasing the size. (If we were to statically link MSVCP140 to not have to redistribute it, the resulting file would weigh hundreds of kilobytes which is just silly)
That definition is required to use older definitions for the standard library stdin, stdout and stderr file descriptors that the regular msvcrt needs.
(Basically, VS switches from __iob_func to __acrt_iob_func when you specify you don't want any standard libraries, but it still uses UCRT headers which are not compatible with the "normal" msvcrt because they do not have the "legacy" definitions. We also need to specify no inlining for stdio, which is done through a preprocessor directive to keep Visual Studio from referencing UCRT anywhere at all)
If this ever becomes an actual compatibility problem (as Microsoft has been actively trying to convince people for a couple of years) I'll have no other choice than to link it statically with the C run-time, but there is nearly zero chance that it will happen anytime soon, unless Microsoft wants to, among others, kill off every program compiled with the MinGW toolchain.

Understood, thanks. I managed to build it in Debug configuration with the libraries bundled with my MSVC installation, so this isn't a problem for people who want to build it themselves for their own use.


Fixed error with babel

Error: Couldn't find preset 'latest' relative to directory
https://github.com/babel/babel/issues/6558

Don't use libs (in runtime too)


update cwltool version from 2 to 3.0 to fix issue with importing get_listing

Updated to cwltool 3.0.20200807132242
To fix issue raised when running the JupyterLab/FairWorkflow extension: https://github.com/fair-workflows/FAIRWorkflowsExtension/issues/12

Fixed by removing problematic imports


Dev - Layout issues

[x] Copy "Yes", "No", "Abstain" on button should be in the center

[x] Wallet is empty view

[x] Picker next to commitment is not aligned: https://cdn.discordapp.com/attachments/783371933127409674/838818464763478076/unknown.png

[x] Avatar is empty

[ ] "Checkbox Icon" doesn't show up in sidebar after voting (Julio & Augsuto Chrome)
https://cdn.discordapp.com/attachments/783371933127409674/838821432648794152/unknown.png

[x] Edit profile (bio) should update automatically without refreshing

[x] Profile error not centered

[x] Fix icon on lunear cycles

[x] Edit icon to change avatar
https://cdn.discordapp.com/attachments/722555929526140969/838814557223911455/unknown.png

[ ] Propose role assignment (e.g. 55 periods Julio) allowed to save but when the user proposes he gets an error message: "assertion failure with message: period_count must be less than 26. You submitted: 55" - Validation should happen before saving

[ ] When I try to change my profile photo (and it is too big) I should get an error message. It just doesn't update.

These 2 issues should each have a separate issue created. They are too involved to do for the release.
"Checkbox Icon" doesn't show up in sidebar after voting (Julio & Augsuto Chrome)
https://cdn.discordapp.com/attachments/783371933127409674/838821432648794152/unknown.png
Propose role assignment (e.g. 55 periods Julio) allowed to save but when the user proposes he gets an error message: "assertion failure with message: period_count must be less than 26. You submitted: 55" - Validation should happen before saving

For this one, I just removed the buttons (they were particularly ugly on firefox)
Picker next to commitment is not aligned: https://cdn.discordapp.com/attachments/783371933127409674/838818464763478076/unknown.png


[SPARK-29202][Deploy] Driver java options are not passed to driver process in Yarn client mode

What changes were proposed in this pull request?
--driver-java-options is not passed to driver process if the user runs the application in Yarn client mode
Run the below command
./bin/spark-sql --master yarn --driver-java-options="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5555"
In Spark 2.4.4
/opt/softwares/Java/jdk1.8.0_211/bin/java -cp /opt/BigdataTools/spark-2.4.4-bin-hadoop2.7/conf/:/opt/BigdataTools/spark-2.4.4-bin-hadoop2.7/jars/*:/opt/BigdataTools/hadoop-3.2.0/etc/hadoop/ -Xmx1g -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5555 org.apache.spark.deploy.SparkSubmit --master yarn --conf spark.driver.extraJavaOptions=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5555 --class org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver spark-internal
In Spark 3.0
/opt/softwares/Java/jdk1.8.0_211/bin/java -cp /opt/apache/git/sparkSourceCode/spark/conf/:/opt/apache/git/sparkSourceCode/spark/assembly/target/scala-2.12/jars/*:/opt/BigdataTools/hadoop-3.2.0/etc/hadoop/ org.apache.spark.deploy.SparkSubmit --master yarn --conf spark.driver.extraJavaOptions=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5556 --class org.apache.spark.sql.hive.thriftserver.SparkSQLCLIDriver spark-internal
This issue is caused by PR 25684
Why are the changes needed?
Corrected the isClientMode  API implementation
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manually,

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

cc @srowen

BTW, @sandeep-katta .
Please use a live version example in the PR description. For example, 2.4.4 is the best. 2.3.x became EOL already.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16255/
Test PASSed.

Test build #111175 has started for PR 25889 at commit e4ef428.

I'm not clear this is a bug. At least, this previously only applied to YARN cluster mode. See https://github.com/apache/spark/commit/6378d4bc06cd1bb1a209bd5fb63d10ef52d75eb4#diff-75e0f814aa3717db995fa701883dc4e1 . How would driver options be valid for YARN client mode?

earlier the conditions is if it is not cluster-mode
!userMaster.equals("yarn-cluster") && userDeployMode == null
earlier user can run application with by following ways
-- master yarn
--master yarn --deploy-mode cluster
--master yarn --deploy-mode client
--master yarn-cluster
--master yarn-client
Above condition is for case 4, now from Spark3 user can submit application using 1st 3 cases

OK, so the point is that an unspecified deploy mode should be considered client for all RMs? I'd agree with that given other code. It's not specific to YARN, right?

Test build #111175 has finished for PR 25889 at commit e4ef428.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111175/
Test FAILed.

OK, so the point is that an unspecified deploy mode should be considered client for all RMs? I'd agree with that given other code. It's not specific to YARN, right?

Yes it is applicable to all RM, and by default it is client mode

Test build #111181 has started for PR 25889 at commit 32760a7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16260/
Test PASSed.

Test build #111181 has finished for PR 25889 at commit 32760a7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111181/
Test PASSed.

Test build #111257 has started for PR 25889 at commit ac8c36d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16326/
Test PASSed.

Test build #111257 has finished for PR 25889 at commit ac8c36d.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111257/
Test FAILed.

retest this please

Retest this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16336/
Test PASSed.

Test build #111272 has started for PR 25889 at commit ac8c36d.

Test build #111278 has started for PR 25889 at commit 7b2497a.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16339/
Test PASSed.

Test build #111272 has finished for PR 25889 at commit ac8c36d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111272/
Test PASSed.

Test build #111278 has finished for PR 25889 at commit 7b2497a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111278/
Test FAILed.

Retest this please.

Test build #111296 has started for PR 25889 at commit 7b2497a.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16353/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111296/
Test FAILed.

retest this please

Test build #4884 has started for PR 25889 at commit 7b2497a.

Test build #4884 has finished for PR 25889 at commit 7b2497a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16435/
Test PASSed.

Test build #111394 has started for PR 25889 at commit 6f1ba43.

Test build #111394 has finished for PR 25889 at commit 6f1ba43.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111394/
Test FAILed.

retest this please

Test build #111441 has started for PR 25889 at commit 6f1ba43.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16478/
Test PASSed.

Test build #111441 has finished for PR 25889 at commit 6f1ba43.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111441/
Test PASSed.

Thank you, @srowen and @vanzin , too!


FSTStringSerializer never call in 2.56

Hi
We want to override the behaviour of FSTStringSerializer.java
But we noticed that it is never called - we checked FSTObjectOutput and there String (line 384) along with Long, Integer and boolean is treated completely separately and is not entering the standard path of serializers. Why is it necessary and is there a way to write our own custom serializer for those types ?

yeah there is a shortcut for string serialization as its one of the most frequently used types. This is done for performance reasons.

You probably need to branch as hurting performance for many users to support a rare edge case does not make sense. Maybe you could introduce a static boolean switching in between "intrinsic" and regular string serialization. An additional boolean check per string might be acceptable regarding performance


Add i18n/zh_tw translation

Thank you for the translation you provided. It will be in the latest version to be released later.


UX for nav menu (new layout) seems unconventional

The new nav menu seems unconventional (in terms of UX).

Clicking on Showcase in the screenshot above effectively transports the user to the Showcase section of the site. With Showcase in place of Web Fundamentals and the top-level Showcase documents listed beneath.
Pure first impression: As a user I was lost for a couple of seconds. I've never seen a nav UI like this. It took (literally) a couple seconds for me to understand what was going on.
An accordion-style nav menu seems more conventional to me.
I think the current UI could work, if the site provides a little more visual feedback. Take the screenshot above again for example. When I click on Showcase, some sort of animation that replaces the Web Fundamentals link, and then populates the list with the Showcase pages, and then moves Web Fundamentals down to the bottom of the nav, would probably be sufficient for me to understand what just happened.
LMK if that all makes sense :+1:

Dupe of #1842. I'm going to close this, but can you please add your comments to #1842 instead? Thanks!!


Break apart georeferenceable interface

Now we have a very streamlined ICesiumGeoreferenceListener which subscribes for notifications of changes in the world georeference. We also now have a ICesiumBoundingVolumeProvider that can contribute its bounding volume to origin placement calculations (when the origin placement mode is "bounding volume origin").
Fixes: https://github.com/CesiumGS/cesium-unreal/issues/321

Thanks for the pull request @nithinp7!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.

I haven't yet had a chance to take a closer look at the code, but just wanted to bring up some of our discussions from #330, especially regarding the delegates for the NotifyGeoreferenceUpdated - do you think it would be a good idea to switch over to delegates instead of a C++ interface?
Some advantages would be being able to register a callback from blueprints instead of implementing the interface in a C++ class, and hiding the actual registration in a static function like what @javagl suggested. One stretch goal of this would be to handle multiple georeferences as well, through the static function library, using a string identifier perhaps.

I think we can close this because it is included in #459 and we're unlikely to merge it separately from the larger georeference refactoring. Please reopen if I'm mistaken.


Add more information to README

Please review all sections. I am sure there will be missing parts to this.

Address two of my comments and it is good to go.


Reordering of CSC matrix breaks when you go above int32 limits

I am trying to solve a linear system as effeciently as possible, and one of the methods I have been trying is by reordering the matrix beforehand with reverse_cuthill_mckee.
This works well for small matrices, but when I move to a large size this breaks. (60000x60000)
The code to reproduce this is really simple:
perm = scipy.sparse.csgraph.reverse_cuthill_mckee(H, symmetric_mode=True)
I,J = np.ix_(perm,perm)
H_reordered = H[I,J]

Where H is a symmetric 60000x60000 sparse csc matrix with some nonzero elements. In my case it has about 7 million nonzero elements
When I run the above I get:
Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1\plugins\python-ce\helpers\pydev\pydevd.py", line 1438, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2020.1\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "D:/Dropbox/ActiveLearning/Pytorch/Active-Learning/pcg.py", line 37, in <module>
    H_ref = H[I,J]
  File "D:\Dropbox\ActiveLearning\Pytorch\Active-Learning\venv\lib\site-packages\scipy\sparse\_index.py", line 75, in __getitem__
    return self._get_arrayXarray(row, col)
  File "D:\Dropbox\ActiveLearning\Pytorch\Active-Learning\venv\lib\site-packages\scipy\sparse\compressed.py", line 664, in _get_arrayXarray
    csr_sample_values(M, N, self.indptr, self.indices, self.data,
ValueError: could not convert integer scalar

And the reason as far as I can see is that the reordering involves making a 60000x60000 ndarray, which has about 3.6*10^9 elements and hence is too big int32.
Does anyone know of a workaround for this problem? or a fix?

I should note that the above method works without problems for smaller matrices

@tueboesen your example isn't self-contained (H is undefined), but reverse_cuthill_mckee does support int64, can you make sure your H uses int64 for H.indices and H.indptr?

Here is a self-contained example that shows it:
import scipy
import numpy as np
from scipy.sparse import rand

n = 60000
x = np.random.randn(n)

H = scipy.sparse.dia_matrix((x,0),(n,n))

H = H.tocsc()

perm = scipy.sparse.csgraph.reverse_cuthill_mckee(H, symmetric_mode=True)
I, J = np.ix_(perm, perm)
H_reordered = H[I, J]

Don't use np.ix_.  Just permute the rows then the columns directly using the results of reverse_cuthill_mckee.   Doing it with the output of np.ix_ means realizing a dense intermediate, even if your indexing arrays are sparse.
import scipy
import numpy as np
from scipy.sparse import rand

n = 60000
x = np.random.randn(n)

H = scipy.sparse.dia_matrix((x,0),(n,n))

H = H.tocsc()

perm = scipy.sparse.csgraph.reverse_cuthill_mckee(H, symmetric_mode=True)
H_reordered = H[perm,:][:,perm]

Maybe we need to add an example to reverse_cuthill_mckee with some text indicating how you should apply the permutation to a sparse matrix?

This is a duplicate of #11255 and is fixed in master.
On master:
In [1]: import numpy as np

In [2]: from scipy import sparse

In [3]: %load_ext memory_profiler

In [4]: s = sparse.random(10000, 10000, format='csr')

In [5]: idx = np.arange(10000)

In [6]: %memit s[idx.reshape(-1, 1), idx]
peak memory: 100.10 MiB, increment: 11.83 MiB

In [7]: %memit s[np.ix_(idx, idx)]
peak memory: 100.10 MiB, increment: 0.00 MiB

In [8]: s[idx.reshape(-1, 1), idx] == s[np.ix_(idx, idx)]
/home/ewm/venv/scipy/lib/python3.8/site-packages/IPython/core/interactiveshell.py:3331: SparseEfficiencyWarning: Comparing sparse matrices using == is inefficient, try using != instead.
  exec(code_obj, self.user_global_ns, self.user_ns)
Out[8]:
<10000x10000 sparse matrix of type '<class 'numpy.bool_'>'
        with 100000000 stored elements in Compressed Sparse Row format>

In [9]: np.all(_8.data)
Out[9]: True

The fix was #11335.


Add support for bz2 compression in python

This is my first contribution to any open source project ever, so I have no idea if I'm doing this right.

If this goes through I'll start working on splittable bz2

I'm not sure why Travis has stalled. For the record travis said it was fine on my forked branch. Is there a way to get it to try to build it again?

@robertwb

R: @jbonofre

Thanks for taking the time to do this! I see @jbonofre is officially signed up to review, but I had some minor comments.

There are a few enhancements needed and parts missing from the current PR, in order for BZIP2 support to be complete.
These are all actually taken care of in https://github.com/apache/incubator-beam/pull/1053
Does it make sense to proceed with that PR instead of the current one?

@robertwb Ive implemented the changes suggested in the pr. Is there anything else you'd like to see?

The travis error seems to be due to the ongoing issues we're having with OS X tox. I've merged this, you can close this PR now.
Thanks again for your contribution!

Thanks @tim1357 for the contribution and Robert for the review. LGTM as well.
@tim1357, to avoid any confusion/conflicts, could you do any extra development on top of https://github.com/apache/incubator-beam/pull/1053 (which I will work on resolving/merging soon)?

@tim1357 , could you manually close this request now that it's been merged?


accept dedicated types for parameters instead of strings

According to the README, the current user interface has OptimizeParameters accept arbitrary strings for some of the parameters. This is usually problematic because of the possibility of typos and the requirement to check for typos in the implementation for safety.
An approach that would be automatically safer would be to rely on dispatch for typo-checking: instead of accepting arbitrary strings you could define a type (each possibly a Union of several other types) for each method parameter, and annotate the parameter with this type so the correct type would be required for the function invocation to succeed.
This approach would also allow for possibly tidier documentation, as it'd be possible to attach a doc string to each defined type (and/or constructor).
In a sense there are two approaches (may be combined/mixed variously): a different type for each specific configuration, or one type for all configurations. E.g.:
One type for all configs, for allowing better type stability:
module Options
     module SolveMod
        # or just use `@enum`, or one of the enum packages
        struct O  # not part of the public interface
            o::Int
        end
        const both = O(1)  # public interface
        const bbc = O(2)  # public interface
        const ilp = O(3)  # public interface
     end

    # other options
end

A type for each config, for allowing more specialization:
module Options
    module SolveMod
        struct Both end  # public interface
        struct BBC end  # public interface
        struct ILP end  # public interface
        const U = Union{Both,BBC,ILP}  # not part of the public interface
    end

    # other options
end

Thank you, your contributions mean a lot for me! I was not aware of this, I am going to code it :)

Up to now, I have coded the following:
module SolveMod
    struct Both end  # public interface
    struct BranchBendersCut end  # public interface
    struct ILP end  # public interface
    struct NoOptimize end  # public interface
    struct gF end  # public interface
    struct gFexploreonlyILP end  # public interface
    struct gFexploreonlyben end  # public interface
    const U = Union{Both,BranchBendersCut,ILP,NoOptimize,gF,gFexploreonlyILP,gFexploreonlyben}  # not part of the public interface
end

using .SolveMod

@with_kw mutable struct OptimizeParameters @deftype String
    solve_mod::U
...```

But I get the following error:
```julia
ERROR: LoadError: UndefVarError: `U` not defined
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/Parameters/MK0O4/src/Parameters.jl:611
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:495
 [3] include(x::String)
   @ RingStarProblems ~/Desktop/RingStarProblems.jl/src/RingStarProblems.jl:1
 [4] top-level scope
   @ ~/Desktop/RingStarProblems.jl/src/RingStarProblems.jl:27
 [5] include
   @ ./Base.jl:495 [inlined]
 [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2222
 [7] top-level scope
   @ stdin:3
in expression starting at /home/julien/Desktop/RingStarProblems.jl/src/options.jl:16
in expression starting at /home/julien/Desktop/RingStarProblems.jl/src/RingStarProblems.jl:1
in expression starting at stdin:
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
  [2] precompile(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; internal_call::Bool, strict::Bool, warn_loaded::Bool, already_instantiated::Bool, timing::Bool, _from_loading::Bool, kwargs::@Kwargs{io::Base.TTY})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:1659
  [3] precompile(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{_from_loading::Bool})
    @ Pkg.API ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
  [4] precompile
    @ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:147 [inlined]
  [5] #precompile#114
    @ ~/.julia/juliaup/julia-1.10.4+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/API.jl:146 [inlined]
  [6] #invokelatest#2
    @ ./essentials.jl:894 [inlined]
  [7] invokelatest
    @ ./essentials.jl:889 [inlined]
  [8] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1963
  [9] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1812
 [10] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [11] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [12] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1803
 [13] macro expansion
    @ ./loading.jl:1790 [inlined]
 [14] macro expansion
    @ ./lock.jl:267 [inlined]
 [15] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1753
 [16] #invoke_in_world#3
    @ ./essentials.jl:926 [inlined]
 [17] invoke_in_world
    @ ./essentials.jl:923 [inlined]
 [18] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1746

julia>

I am still trying to figure out why

Alright! It works :D I am going to commit :)

First commit done, solve_mod now accepts dedicated types instead of strings. Thanks @nsajko!
TODO: all other parameters now :)

Just push for :clock1: sp_solve
build passes
julia> pars = RingStarProblems.OptimizeParameters(
                               solve_mod=RingStarProblems.SolveMod.Both(),     # ILP, B&BC or Both
                               write_res="",         # output results locally, html or no output ""
                               o_i="0",              # opening costs
                               s_ij="",              # star costs
                               r_ij="",              # ring costs
                               backup_factor=0.01,   # backup_factor c'=0.01c and d'=0.01c
                               do_plot=false,        # plot_results (to debug)
                               two_opt=0,            # use two_opt heuristic (not functional yet)
                               tildeV=100,           # uncertain nodes set
                               time_limit=120,       # Gurobi TL
                               log_level=1,          # console output log_level
                               sp_solve="poly",      # solving subproblem method for B&BC
                               redirect_stdio=false, # redirecting_stdio to output file
                               F=183,                # total failing time F, see PhD manuscript
                               use_blossom=false,    # use blossom inequalities (not functional yet)
                               alphas=[3],           # See [Labbé et al., 2004](ttps://doi.org/10.1002/net.10114)
                               nthreads=4,           # Number of threads used in GUROBI, set 0 for maximum number of available threads
                               uc_strat=4            # user cut strategy
       )
ERROR: MethodError: Cannot `convert` an object of type
  String to an object of type
  Union{RingStarProblems.SPSolve.Hybrid, RingStarProblems.SPSolve.LP, RingStarProblems.SPSolve.Poly}

Closest candidates are:
  convert(::Type{T}, ::T) where T
   @ Base Base.jl:84

Stacktrace:
 [1] RingStarProblems.OptimizeParameters(solve_mod::RingStarProblems.SolveMod.Both, sp_solve::String, tildeV::Int64, alphas::Vector{…}, F::Int64, warm_start::String, inst_trans::Int64, uc_strat::Int64, uc_strat_4_limit::Int64, uc_tolerance::Float64, time_limit::Int64, nthreads::Int64, write_res::String, n_rand::Int64, o_i::String, s_ij::String, r_ij::String, backup_factor::Float64, nb_run_rand::Tuple{…}, two_opt::Int64, do_plot::Bool, log_level::Int64, lp_relaxation::Bool, assert::Bool, write_log::Bool, html_user_notes::Tuple{…}, post_procedure::Bool, F_interval::Tuple{…}, redirect_stdio::Bool, use_blossom::Bool, gFreuse_lazycons::Bool)
   @ RingStarProblems ~/.julia/packages/Parameters/MK0O4/src/Parameters.jl:505
 [2] RingStarProblems.OptimizeParameters(; solve_mod::RingStarProblems.SolveMod.Both, sp_solve::String, tildeV::Int64, alphas::Vector{…}, F::Int64, warm_start::String, inst_trans::Int64, uc_strat::Int64, uc_strat_4_limit::Int64, uc_tolerance::Float64, time_limit::Int64, nthreads::Int64, write_res::String, n_rand::Int64, o_i::String, s_ij::String, r_ij::String, backup_factor::Float64, nb_run_rand::Tuple{…}, two_opt::Int64, do_plot::Bool, log_level::Int64, lp_relaxation::Bool, assert::Bool, write_log::Bool, html_user_notes::Tuple{…}, post_procedure::Bool, F_interval::Tuple{…}, redirect_stdio::Bool, use_blossom::Bool, gFreuse_lazycons::Bool)
   @ RingStarProblems ~/.julia/packages/Parameters/MK0O4/src/Parameters.jl:493
 [3] top-level scope
   @ REPL[3]:1
Some type information was truncated. Use `show(err)` to see complete types.

Spent the whole day on it, going to have some rest and continue tomorrow.

Closing thanks to #6
Again thank you to @nsajko :)


Fix schema object properties with empty strings

Description
When a json input is used for editing a property of type object a JsonInput is used which produces an empty string if a value is cleared by the user. Which isn't a valid value to send to the api and produces validation errors. Removing empty strings in the request mapper fixes this and is also how we're handling this same problem for arrays.
Closes https://github.com/PrefectHQ/prefect/issues/11221

JSON.parse('') should just return undefined 🙄

That would be nice sometimes. Though I understand why it just errors as invalid JSON.


ImportError: No module named mechanize

e210:Instagram ardacebi$ python instagram.py
Traceback (most recent call last):
  File "instagram.py", line 16, in <module>
    from Core.browser import Browser
  File "/Users/ardacebi/Instagram/Core/browser.py", line 5, in <module>
    import mechanize
ImportError: No module named mechanize

I know this is the second issue after closing the other one by resolving that by myself but this seems to be hard to resolve.
Why is this happening?

it’s not for Windows, it’s for Kali Linux

actually I got this error on a mac

I'm going to try it with kali linux but it should work with mac, right?

No, I wrote strictly for Kali not Mac
On Thu, Feb 8, 2018 at 4:27 PM Arda Çebi<EMAIL_ADDRESS>wrote:

I'm going to try it with kali linux but it should work with mac, right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Ethical-H4CK3R/Instagram/issues/24#issuecomment-364253678,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATFT10AcWuizU5lhaRAYDOeRIK0LVSweks5tS2atgaJpZM4R_Ckk
.

Use hyprPulse instead of this program

Anyway I could give you an account and you try it for me? Couldn’t get it to work and looking for some reassurance.

On Feb 8, 2018, at 4:37 PM, Sami<EMAIL_ADDRESS>wrote:
Use hyprPulse instead of this program
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@jbtzx123 Lmfao

How to hack others Instagram?


Generated _toggle fragment: id field duplication

Describe the bug
The generated toggle fragment has a duplicated id field.
fragment _AllAccounts_toggle on Account {
  email
  enabled
  id
  id
}

I'm not sure, but I think it's caused by:
https://github.com/HoudiniGraphql/houdini/blob/73d67a8b88248c987c61260cd5fff16f62b5da29/src/cmd/transforms/list.ts#L271-L283
as there is a check here:
https://github.com/HoudiniGraphql/houdini/blob/73d67a8b88248c987c61260cd5fff16f62b5da29/src/cmd/transforms/list.ts#L221-L240
and the generated insert fragment has the same selections as the toggle, but does not add the additional id field.
https://github.com/HoudiniGraphql/houdini/blob/73d67a8b88248c987c61260cd5fff16f62b5da29/src/cmd/transforms/list.ts#L253
Severity
annoyance
Steps to Reproduce the Bug

Add a @list or @paginated directive.
Check the generated *_toggle fragment

Expected behavior
no duplicated fields
System Info
System:
    OS: macOS 13.0
    CPU: (10) arm64 Apple M1 Max
    Memory: 168.08 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.7.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.15.0 - /opt/homebrew/bin/npm
  Browsers:
    Chrome: 104.0.5112.79
    Safari: 16.1
  npmPackages:
    @sveltejs/adapter-cloudflare-workers: 1.0.0-next.54 => 1.0.0-next.54
    @sveltejs/kit: 1.0.0-next.465 => 1.0.0-next.465
    svelte: 3.50.0 => 3.50.0
    vite: 3.1.0-beta.2 => 3.1.0-beta.2

Reproduction
No response
Additional context
No response

👋 thanks for reporting this.
Is it negatively impacting you in any way? duplicated selections aren't really a "bug" as much as a tiny performance optimization. Since it's just a single field in the same selection set, this would remove one extra step of a for loop when flattening the query at the cost of additional logic to maintain in houdini, not sure it's worth the effort unless it is creating problems


feat(java-binding): connect rust async/await with java future

link to #1572
This is a POC of bring async API for java binding, see https://github.com/apache/incubator-opendal/issues/1572#issuecomment-1519880511 for more details.
I add an asyncWrite function and related test for Java binding.

As a result, asyncWrite will not block any Java thread and the user could collect results using thenAccept function of the CompletableFuture.

Thank you for submitting the PR!
However, we are not yet ready to accept it due to the following reasons:
Firstly, the Java binding is not mature enough and has not been tested in real use-cases. Therefore, I suggest adding more features until we have actual users who can provide feedback.
Secondly, the Rust async integration with Java JNI is also not mature enough at this point. It would be better to wait for a more stable solution such as pyo3 or napi.

Sorry for not replying your comment in time. Thanks again!

@Xuanwo Thank you for your reply!
Do we now have new features roadmap for java-binding? I am interested in contributing and would like to know if there are any plans.
Using the future is the best practice in asynchronous Java programming. So it would be beneficial to provide a Future-based asynchronous API initially. Later on, we can replace the underlying implementation with Rust async integration. This would be helpful for opendal to attract Java users.

Do we now have new features roadmap for java-binding?

Not yet. The most important thing for java binding is to make a release and find it's first user.

Using the future is the best practice in asynchronous Java programming. So it would be beneficial to provide a Future-based asynchronous API initially. Later on, we can replace the underlying implementation with Rust async integration. This would be helpful for opendal to attract Java users.

Agreed. However, I prefer to directly engage with our potential users rather than implementing features solely to attract Java users. I am open to discussing with users who wish to use OpenDAL Java in their projects and figuring out what they need the most.

Ok, let's do this! The async support for java binding is moved from good to have to required to have now 🤣

Amazing! It would be great if opendal Java-binding had asynchronous APIs. This way, I could first integrate services that natively support append for RocketMQ, such as OSS.

We implement append-alike operation based on s3 multipart API.

I do not find many docs about this. Should we expose these risks to users?  Perhaps it would be better to separate the write and append operations.
But maybe we should create a new thread to discuss the topic of append operation. Let's focus on Async API, can I continue with this solution?

But maybe we should create a new thread to discuss the topic of append operation. Let's focus on Async API, can I continue with this solution?

Yes!

Since I am not familiar with Java, I don't have any better suggestions. Let's moving on and improve it by next! :rocket:

@Xuanwo @PsiACE PTAL. This pr is just to run through. I will refactor the Java code and add more features next time.

Thanks!


Add Bowling exercise

@masters3d Trying to DRY out the logic for testing errors thrown with assertErrorThrown. Let me know what you think.

weird, swiftlint is already installed?
There was a new update to swift lint
I think its just a brew thing. Could you update travis?
https://docs.travis-ci.com/user/osx-ci-environment/#Homebrew


Uncaught TypeError: Cannot read property 'stderr' of null

Steps to reproduce below:

gem install rubocop
setup Rubocop Command Path
start in atom

Atom Version: 1.11.2
Electron Version: 0.37.8
System: Windows 7
Thrown From: rubocop-auto-correct package, v1.5.1
Stack Trace
Uncaught TypeError: Cannot read property 'stderr' of null
At /C:/Users/Alex/.atom/packages/rubocop-auto-correct/lib/rubocop-auto-correct.coffee:241

TypeError: Cannot read property 'stderr' of null
    at RubocopAutoCorrect.module.exports.RubocopAutoCorrect.rubocopOutput (file:///C:/Users/Alex/.atom/packages/rubocop-auto-correct/lib/rubocop-auto-correct.coffee:156:13)
    at file:///C:/Users/Alex/.atom/packages/rubocop-auto-correct/lib/rubocop-auto-correct.coffee:116:8
    at C:\Users\Alex\.atom\packages\rubocop-auto-correct\node_modules\which\which.js:88:20
    at C:\Users\Alex\.atom\packages\rubocop-auto-correct\node_modules\isexe\index.js:44:5
    at C:\Users\Alex\.atom\packages\rubocop-auto-correct\node_modules\isexe\windows.js:29:5
    at FSReqWrap.oncomplete (fs.js:82:15)

Commands
     -0:29 editor:indent (atom-text-editor.editor.is-focused)
  2x -0:24.7.0 atom-beautify:beautify-editor (atom-text-editor.editor.is-focused)
     -0:21 snippets:previous-tab-stop (atom-text-editor.editor.is-focused)
     -0:21 editor:outdent-selected-rows (atom-text-editor.editor.is-focused)
     -0:20 atom-beautify:beautify-editor (atom-text-editor.editor.is-focused)
     -0:18.4.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:18.4.0 snippets:expand (atom-text-editor.editor.is-focused)
     -0:18.4.0 editor:indent (atom-text-editor.editor.is-focused)
  3x -0:17.8.0 core:save (atom-text-editor.editor.is-focused)
     -0:13.2.0 snippets:previous-tab-stop (atom-text-editor.editor.is-focused)
     -0:13.2.0 editor:outdent-selected-rows (atom-text-editor.editor.is-focused)
     -0:12.5.0 atom-beautify:beautify-editor (atom-text-editor.editor.is-focused)
     -0:11 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -0:11 snippets:expand (atom-text-editor.editor.is-focused)
     -0:11 editor:indent (atom-text-editor.editor.is-focused)
     -0:02.0 rubocop-auto-correct:current-file (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "linter"
    ],
    "telemetryConsent": "no"
  },
  "rubocop-auto-correct": {
    "rubocopCommandPath": "C:\\Ruby22-x64\\bin\\rubocop"
  }
}

Installed Packages
# User
atom-beautify, v0.29.13 (active)
duplicate-removal, v0.1.3 (inactive)
language-haml, v0.24.0 (active)
linter, v1.11.18 (inactive)
linter-ruby, v1.2.2 (active)
Remote-FTP, v0.8.3 (active)
rubocop-auto-correct, v1.5.1 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (active)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.7.0 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (inactive)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.201.1 (active)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.59.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
metrics, v1.0.0 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2-hotfix1 (active)
snippets, v1.0.2 (active)
spell-check, v0.68.2 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.209.3 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

I guess that your rubocop command path is wrong.
  "rubocop-auto-correct": {
    "rubocopCommandPath": "C:\\Ruby22-x64\\bin\\rubocop"
  }

As far as I know, windows path is used a single backslash like the below.
C:\\Ruby22-x64\bin\rubocop

Let you check it. thank you,

I have exhibited, atom is written for some reason.
PS. Sorry, my English is not go good)

Ok, I got it. I will investigate it.

PS. Sorry, my English is not go good)

It's no problem. Because I also :p

my rubocop command path:
C:/tools/ruby23/bin/rubocop.bat
works.


Invalid certificate in Brazilian version of the website

When accessing the Brazilian version of the Dolphin website (redirected from a Google search), there is an invalid certificate warning.
Only happens when accessing the website with the domain preceded by 'www'. (https://www.br.dolphin-emu.org/)
Tested on Chrome for Linux (latest version).

Yes, that's expected. www.br.dolphin-emu.org is not a valid domain to
access our website, and we don't use that URL anywhere. Not sure how you
ended up with a www.
On Tue, Dec 24, 2019, 11:52 PM thomasbbrunner<EMAIL_ADDRESS>wrote:

When accessing the Brazilian version of the Dolphin website (redirected
from a Google search), there is an invalid certificate warning.
Only happens when accessing the website with the domain preceded by
'www'. (https://www.br.dolphin-emu.org/)
Tested on Chrome for Linux (latest version).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dolphin-emu/www/issues/109?email_source=notifications&email_token=AABRQLW4MLQTENTVADFF5A3Q2KHB7A5CNFSM4J7BC5QKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICRTCLA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABRQLVLZHMX6UPPAVOBR5DQ2KHB7ANCNFSM4J7BC5QA
.


LangChain-Community - AzureCosmos Mongo vCore: Bug Fix when the data doesn't contain metadata field

Thank you for contributing to LangChain!

Description: Adding an empty metadata field when metadata is not present in the data
Issue: This PR fixes the issue when the data items doesn't contain the metadata field. This happens when there is already data in the container, or cx uses CosmosDB Python SDK to insert data.
Dependencies: No dependencies required

Additional guidelines:

Make sure optional dependencies are imported within a function.
Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
Most PRs should not touch more than one package.
Changes should be backwards compatible.
If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

@baskaryan can I get a quick review on this PR. I found this bug while working on a demo I am giving at a conference.


incorrect calculation of days on mobile

on PC (win) shows one day more than mobile (android).

The clock of the devices are synced?

Wasn't synchronized. I fixed and all become fine.
thanks


MuReNNDirect kernel size

To improve usability, I have updated the argument T in MUReNNDirect to directly specify the kernel size for torch.nn.Conv1d, instead of the previous filter length multiplier.

Closed by #62


TrappistDropAssets XCM primitive

close #52
The assets to be trapped are checked. Non-compliant assets will not be trapped (they're lost forever). The asset will be trapped if (and only if):

It is Trappist's Native Token (HOP) OR some derivative asset previously registered in pallet-asset-registry (e.g.: txUSD).
The amount is bigger than the token's minimum balance (a.k.a. existential deposit).

pallet-xcm is still used as the ultimate asset trapping mechanism (stores the hashes).
Asset claiming remains unchanged.
Remains as ToDo: benchmark execution of drop_assets and initialize weight variable with real weight.

@evilrobot-01 I split the xcm-simulator tests into different files.
The goal to avoid lib.rs from growing too big, as well as mixing tests of different contexts into the same file without a clear separation between them.
I'm not sure my solution was ideal however, because I ended up having to re-use a lot of code in both files.
That could possibly cause conflicts with your recent PRs https://github.com/paritytech/trappist/pull/107 + https://github.com/paritytech/trappist/pull/108
Also not sure how CI will behave. Let me know if you have any strong opinions about this. Happy to pivot the strategy as requested.

Converting back into draft as currently, while each test module works as executed individually, they're breaking when run all together via cargo test tests::


feat: support fuelup show when override is active

We should show the override toolchain, its active components, and the path of the fuel-toolchain.toml file when an override is active.

closed by #332


Why is Fast Kohya Trainer gone?

Fast Kohya Trainer
Why can't I find it

Hi, it still there, I just didn't have plan to include it in notebook list. Because, I don't have any plans to continue the Fast Kohya Trainer project (for now).

The code is getting longer in one cell, and my device is not powerful enough to handle it, (I run most of things in small laptop), which is causing lag.

It's really hard to maintain the 1-click cell colab.

There is another good 1-click cell colab project maintained by HollowStrawBerry, which is integrated with Google Drive. It based on my notebook (?) so you may get the same experience, or even better.You can check it out here: https://github.com/hollowstrawberry/kohya-colab


Replaced bootstrap-tour by IntroJs in ChatPrototype activity

Replaced bootstrap-tour by IntroJs in ChatPrototype activity
Fixes #1090
screen-recorder-mon-jan-02-2023-23-58-09.webm

Niice @disha1202 . Thanks.


Upgrade to 0.3.5 causes nil pointer in render-image.html

Description
After upgrading to 0.3.5, the build crashes with the following error:
ERROR 2021/10/30 08:31:00 "/Users/stevie/dev/gowork/src/github.com/gratiartis/stephen-masters.github.io/node_modules/@hyas/doks/layouts/_default/_markup/render-image.html:3:18": execute of template failed: template: _default/_markup/render-image.html:3:18: executing "_default/_markup/render-image.html" at <$image.Resize>: nil pointer evaluating resource.Resource.Resize

This happens if any page in the site has an image link which is incorrect.
Steps to reproduce
Add the following image short code to _index.md:
![Text](a-non-existent-image.png "The title of the non-existent image")

The build will break with no information as to why. The following is an example:
https://github.com/stephen-masters/doks/tree/bugfix/0.3.5-build-breaks-for-bad-image-links
Expected result
The project should build.
Actual result
ERROR 2021/10/30 08:31:00 "/Users/stevie/dev/gowork/src/github.com/gratiartis/stephen-masters.github.io/node_modules/@hyas/doks/layouts/_default/_markup/render-image.html:3:18": execute of template failed: template: _default/_markup/render-image.html:3:18: executing "_default/_markup/render-image.html" at <$image.Resize>: nil pointer evaluating resource.Resource.Resize
Environment
><EMAIL_ADDRESS>precheck
> npm version

{
  '@hyas/doks': '0.3.5',
  npm: '7.21.0',
  node: '16.6.2',
  v8: '<IP_ADDRESS>-node.19',
  uv: '1.42.0',
  zlib: '1.2.11',
  brotli: '1.0.9',
  ares: '1.17.2',
  modules: '93',
  nghttp2: '1.44.0',
  napi: '8',
  llhttp: '6.0.2',
  openssl: '1.1.1k',
  cldr: '39.0',
  icu: '69.1',
  tz: '2021a',
  unicode: '13.0'
}

><EMAIL_ADDRESS>check
> exec-bin node_modules/.bin/hugo/hugo version

hugo v0.88.1-5BC54738+extended darwin/amd64 BuildDate=2021-09-04T09:39:19Z VendorInfo=gohugoio

Diagnosis
0.3.5 introduced a new template: layouts/_default/markup/render-image.html
This seems to be caused because the first line of the new template has .Page.Resources.GetMatch .Destination, which does not find an image in the resources for a page. This applies to any page in the whole site which has a broken link.
It can be fixed by wrapping the subsequent lines in:
{{ with $image }}

{{ else }}
<img src="{{ .Destination | safeURL }}"  alt="{{ $.Text }}" />
{{ end }}

Please see: https://github.com/h-enk/doks/pull/536


fix: unable to clone repository to vscode

Description
User is not able to clone repository to their vscode
fixed #1478

Screencast
https://user-images.githubusercontent.com/38607460/168462477-68813deb-39b3-4adb-8c86-10403f19f5a7.mp4

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[ ] I checked that files in the assets folder are used by the extension itself
[ ] I checked that assets used by the README are placed outside of the metadata folder

Looks good to me, thanks @immint023 🔥


Update create_musicbox.sh

Lot of changes to get it to work!

Yes, what is checked in here is very old and not much use to anyone in it's current form. I should have posted a note to that effect to prevent anyone trying to use it, or spend time working on it.
I've yet to push the new version, which incorporates many of these fixes. I don't think there is much point working to try and merge this, only to then blow most of it away.
I very much appreciate anyone taking the time to submit pull requests. We don't get a lot of them and it's probably why this hasn't really been an issue before. I merged the other two because they were both still applicable and simple enough to incorporate.

@kingosticks release early, release often.

Thanks, a real eye-opener.

@kingosticks does that mean we can expect an update from you soon?

My plans to push an updated branch have not changed, i.e. as soon as I can.

Is there some kind of impediment?
On Tue, 23 Feb 2016 13:00 Nick Steel<EMAIL_ADDRESS>wrote:

My plans to push an updated branch have not changed, i.e. as soon as I
can.
—
Reply to this email directly or view it on GitHub
https://github.com/pimusicbox/pimusicbox/pull/355#issuecomment-187689224
.


Update documentation link

The documentation link at https://github.com/boundlessgeo/wps-gui/blob/master/src/wpsui.js#L46 will need to be updated for Suite 4.9 - we are no longer using opengeo-docs and have instead switched to suite-docs

thanks for heads-up @tbarsballe do I need to update the submodule as well in suite?

Yes please.

@tbarsballe just to confirm, there is no 4.9 release branch, so in master?

Yes, suite is currently using master

Done with https://github.com/boundlessgeo/suite/commit/e83f0785ee73735313bba77b302c6927c5a3679c


fix: handle difference between temporary and terminal errors

This fixes an issue where if the Account is not ready or created when the User resource reconciles, the User is stuck in an unknown state and only becomes ready after the operator restarts

lgtm


Add depth submission

No improvements to latency were observed. It would probably need the depth buffer from the game as well to allow for better reprojection but It's out of the question for now


Next.js SSG + Bloomreach visual editing support

Can we create a Next.js application supporting both the Bloomreach Visual Editor and Next.js SSG?
As far as I can see in the examples, pages use the getServerSideProps method. I can imagine using getStaticProps and getStaticPaths for SSG, but is there a way to use such pages with Visual Editor? From what I can see, in order to use the visual editor, the embedded app requires to get query parameters as a configuration with a token allowing to read preview data. How can that work with SSG?

Hi @maciej-dybek-wttech we dont officially support SSG, but you are welcome to try.
Bloomreach platform currently has no webhooks so therefore it would be on you to create some mechanism to notify your build system for changes if you are going to use SSG.
The query parameters with the token are generated by the SDK you should not have to worry about that. Next.js does have preview functionality that should allow you to have a SSR version of your app to be used in the preview.


Add a basic SQL file checker

Description
An initial pass of a utility to run basic string-based checks on an SQL import file.
Steps to Test

Check out PR.
Run npm run build
Run ./dist/bin/vip-import-check.js <filename.sql>

It felt like splitting the checks functionality into a modular block object would make it easier to add/change/test. Having the logic and formatting embedded together seemed suboptimal. But if this seems confusing, I'm open to other ideas.

It felt like splitting the checks functionality into a modular block object would make it easier to add/change/test. Having the logic and formatting embedded together seemed suboptimal

Definitely. ideally, all logical bits should live in the lib folder and all CLI-level bits, including output / formatting should be in bin. I don't think it's a blocker, but definitely something we should work towards.


New Actions for TunerStart and TunerEnd (maybe all game states).

The way the SongEnd and SongStart actions work is amazing! It's super intuitive and powerful. I'm using that to change my scenes and do tons of other things.
It would be great if we could do the same with the tuner menu. Just to mute things and move RS around on screen and stuff.
I'm trying to think if any other actions make sense. I don't think it needs one for the menu, because SongEnd gets you there. If there is a different one for the songlist menu that might make sense. Is SongPaused worth doing?
Maybe just make them for all the possible game states, as other streamers might have uses for them?

enterPause / leavePause will be part of the next release already.
I'll add enter/leave tuner to the list, but feel like adding additional stages don't add that much value.


Cancelling out of prompt to overwrite app setting doesn't bring them back to choosing app setting name

Run the "Add SQL binding" command
When you get to the step about choosing app setting name choose "Create new local app setting"
Type in the name of an app setting that already exists (such as SqlConnectionString) in the file
Continue on and enter the connection string
A prompt is then displayed asking if the user wants to overwrite the app setting
Hitting cancel shows an error and brings the user back to selecting the connection string

So even though they indicated they didn't want to overwrite the app setting they are unable to change the name unless they restart the process.
We should

[ ] Not be showing an error in that case (they chose to cancel)
[ ] Go back to the "Choose app setting" prompt

Ideally we'd also save the connection string and not prompt for that as well again.

Trying to Repro this (want to confirm this is the steps):

I choose to create new local app setting -> type SqlConnectionString (one that is already present) -> enter a new value manually for the connection string ->

-> I then choose to cancel and in my case I go back to

which I believe should be correct.
Please let me know if there is something I am doing differently.

Seem to repro this only with the connection profile method - one issue that I see is that we fail here when setting the local app setting. This check ensures that we also see if the user cancels the prompt (specifically when a user is choosing a connection profile or entering a connection string).


Associate edge output

Nice, the only thing I do not really understand is: why do we see 3 and 4 as legend for the flows. I understand the outflow of 3, but I actually expected to outflow of 2 (instead of a reference to 4)

Those are the edge_id's. Which is perhaps an argument for also showing the edge_id as a label? But maybe greyed out.

yes, edge_id as label in grey would probably help

The edge_ids were basically added to support this feature. Otherwise we use (from_node_id, to_node_id) everywhere. The nodes are already labeled. In the plot, is it possible to should this as a label?


Julian Calendar can not calculate day of year.

There's an error in the num2date function when using the Julian calendar in cftime. The num2date does not correctly produce the day of year:
ie:
import cftime
In [6]: cftime.num2date(16,'day since 1950-01-01 00:00:00.0000000',calendar='365_day')
Out[6]: cftime._cftime.DatetimeNoLeap(1950, 1, 17, 0, 0, 0, 0, 1, 17)

In [7]: cftime.num2date(16,'day since 1950-01-01 00:00:00.0000000',calendar='julian')
Out[7]: cftime._cftime.DatetimeJulian(1950, 1, 17, 0, 0, 0, 0, -1, 1)

The day of year (final number in the date output) is calculated correctly in the 365_day calendar, but is set to 1 in the julian calendar.

This was fixed in the 1.0.1 release

Sorry, the fix was not in 1.0.1 - but it is fixed in master and that fix will be in the next release.


electron-forge make not completing in Github Action

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.4.1
Electron version
25.0.1
Operating system
macOS 12.6.7
Last known working Electron Forge version
N/A
Expected behavior
electron-forge make should succeed and publish the distributable to out/. Instead, it is hanging after the [STARTED] Making a pkg distributable for darwin/x64 step.
Actual behavior
yarn make hangs in the github action
Steps to reproduce
Running electron-forge make in a Github action.
Additional information
Overview:

electron-forge make succeeds when I run it for my package locally (personal mac M1). The distributable is built and saved successfully.
Github logs for the action stop here (will run for 1hr+ without doing anything):

[SUCCESS] Running postPackage hook
[SUCCESS] Running package command
[STARTED] Running preMake hook
[SUCCESS] Running preMake hook
[STARTED] Making distributables
[STARTED] Making a pkg distributable for darwin/x64

Forge Config:
const config: ForgeConfig = {
	packagerConfig: {
		osxSign: {
			identity: 'Developer ID Application: ***',
		},
		osxNotarize: {
			tool: 'notarytool',
			appleId: process.env.NOTARIZE_USERNAME,
			appleIdPassword: process.env.NOTARIZE_PASSWORD,
			teamId: process.env.NOTARIZE_ASC_PROVIDER,
		},
	},
	rebuildConfig: {},
	makers: [
		new MakerSquirrel({
			certificateFile: process.env['WINDOWS_PFX_FILE'],
			certificatePassword: process.env['WINDOWS_PFX_PASSWORD'],
		}),
		new MakerPKG({
			identity: 'Developer ID Installer: ***',
		}),
	],
	publishers: [
		new PublisherGithub({
			repository: {
				name: '***',
				owner: '***',
			},
			prerelease: true,
		}),
	],
	plugins: [
		new WebpackPlugin({
			mainConfig,
			devServer: {
				allowedHosts: 'auto',
			},
			devContentSecurityPolicy: "connect-src 'self' wss://***/socket.io/ 'unsafe-eval'",
			renderer: {
				config: rendererConfig,
				entryPoints: [
					{
						html: './src/index.html',
						js: './src/renderer.ts',
						name: 'main_window',
						preload: {
							js: './src/preload.ts',
						},
					},
				],
			},
		}),
	],
}

Github Action:
name: Package

on:
  push:
    branches:
      - main

jobs:
  build:
    name: Build ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [macos-latest]
    steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Get Node.js 16
        uses: actions/setup-node@v3
        with:
          node-version: 16
      - name: Install yarn
        run: npm install -g yarn
      - name: Yarn
        run: yarn
      - name: Install global dependencies
        run: npm install -g yarn ngrok
      - name: Add MacOS certs
        if: matrix.os == 'macos-latest'
        run: chmod +x src/scripts/add-cert.sh && ./src/scripts/add-cert.sh
        env:
          CERTIFICATE_OSX_APPLICATION_BUNDLE: ${{ secrets.CERTIFICATE_OSX_APPLICATION_BUNDLE }}
          CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }}
      - name: Forge Package
        if: matrix.os == 'macos-latest'
        run: yarn make
        env:
            NOTARIZE_ASC_PROVIDER: ${{ secrets.NOTARIZE_ASC_PROVIDER }}
            NOTARIZE_PASSWORD: ${{ secrets.NOTARIZE_PASSWORD }}
            NOTARIZE_USERNAME: ${{ secrets.NOTARIZE_USERNAME }}
            DEBUG: electron-forge:*

I also tried building for arm64 with the same result, using yarn make --arch arm64

It does work with @electron-forge/maker-dmg so seems to be something specific to @electron-forge/maker-pkg

Do you see any error messages when using the DEBUG:electron-forge:* environment variable as described here?

No. The variable was passed to the env as in the above Action. The only logs were from electron-forge:packager describing the targets and output path

I missed that, sorry. Is that the full log you're getting? It should contain a lot more information 🤔
You can also try to debug @electron/osx-sign (used by the pkg maker) with DEBUG="@electron/osx-sign" or DEBUG="@electron/osx-sign,electron-forge:*".

in my case I am using circleCI
new MakerDMG({
additionalDMGOptions: {
"code-sign": {
"signing-identity": 'identity',
identifier: '..*'
}
}
})
in this step process hangs
electron-osx-sign Automating entitlement app group...
Info.plist: /var/folders/bl/wbxjgtzx7j5_mjsmfr3ynlc00000gp/T/electron-packager/darwin-x64/VitalEngine Desktop-darwin-x64-UH9yba/VitalEngine Desktop.app/Contents/Info.plist
+3ms
electron-osx-sign Signing... /var/folders/bl/wbxjgtzx7j5_mjsmfr3ylc00000gp/T/electron-packager/darwin-x64/VitalEngine Desktop-darwin-x64-UH9yba/VitalEngine Desktop.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/af.lproj/locale.pak +2ms
electron-osx-sign Executing... codesign --sign  This step hangs for long time ..
Too long with no output (exceeded 1h0m0s): context deadline exceeded

@erikian OK I went ahead and just ran it with DEBUG="*", and got some additional logs:
** if you'd like to see logs prior to here let me know **
...
023-08-23T15:18:20.217Z electron-osx-sign Verifying...
2023-08-23T15:18:20.218Z electron-osx-sign Verifying application bundle with codesign...
2023-08-23T15:18:20.218Z electron-osx-sign Executing... codesign --verify --deep --strict --verbose=2 /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-packager/darwin-x64/<app>-darwin-x64-sOKdzs/<app>.app
2023-08-23T15:18:21.464Z electron-osx-sign Verified.
2023-08-23T15:18:21.465Z electron-osx-sign Displaying entitlements...
2023-08-23T15:18:21.465Z electron-osx-sign Executing... codesign --display --entitlements :- /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-packager/darwin-x64/<app>-darwin-x64-sOKdzs/<app>.app
2023-08-23T15:18:21.521Z electron-notarize notarizing using the new notarytool system
2023-08-23T15:18:21.519Z electron-osx-sign Entitlements:
2023-08-23T15:18:21.521Z electron-notarize:spawn spawning cmd: xcrun args: [ '--find', 'notarytool' ] opts: {}
 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>com.apple.security.cs.allow-jit</key><true/><key>com.apple.security.device.audio-input</key><true/><key>com.apple.security.device.bluetooth</key><true/><key>com.apple.security.device.camera</key><true/><key>com.apple.security.device.print</key><true/><key>com.apple.security.device.usb</key><true/><key>com.apple.security.personal-information.location</key><true/></dict></plist>
2023-08-23T15:18:21.519Z electron-osx-sign Application signed.
2023-08-23T15:18:24.482Z electron-notarize:spawn cmd xcrun terminated with code: 0
2023-08-23T15:18:24.482Z electron-notarize:notarytool starting notarize process for app: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-packager/darwin-x64/<app>-darwin-x64-sOKdzs/<app>.app
2023-08-23T15:18:24.483Z electron-notarize:helpers doing work inside temp dir: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-notarize-WdsjVa
2023-08-23T15:18:24.484Z electron-notarize:notarytool zipping application to: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-notarize-WdsjVa/<app>.zip
2023-08-23T15:18:24.484Z electron-notarize:spawn spawning cmd: ditto args: [
  '-c',
  '-k',
  '--sequesterRsrc',
  '--keepParent',
  '<app>.app',
  '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-notarize-WdsjVa/<app>.zip'
] opts: {
  cwd: '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-packager/darwin-x64/<app>-darwin-x64-sOKdzs'
}
2023-08-23T15:18:36.008Z electron-notarize:spawn cmd ditto terminated with code: 0
2023-08-23T15:18:36.009Z electron-notarize:notarytool zip succeeded, attempting to upload to Apple
2023-08-23T15:18:36.010Z electron-notarize:spawn spawning cmd: xcrun args: [
  'notarytool',
  'submit',
  '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-notarize-WdsjVa/<app>.zip',
  '--apple-id',
  '*********',
  '--password',
  '*********',
  '--team-id',
  '*********',
  '--wait',
  '--output-format',
  'json'
] opts: {}
2023-08-23T15:19:31.739Z electron-notarize:spawn cmd xcrun terminated with code: 0
2023-08-23T15:19:31.739Z electron-notarize:notarytool notarization success
2023-08-23T15:19:31.739Z electron-notarize:helpers work succeeded
2023-08-23T15:19:31.746Z electron-notarize:staple attempting to staple app: /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-packager/darwin-x64/<app>-darwin-x64-sOKdzs/<app>.app
2023-08-23T15:19:31.746Z electron-notarize:spawn spawning cmd: xcrun args: [ 'stapler', 'staple', '-v', '<app>.app' ] opts: {
  cwd: '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-packager/darwin-x64/<app>-darwin-x64-sOKdzs'
}
2023-08-23T15:19:33.253Z electron-notarize:spawn cmd xcrun terminated with code: 0
2023-08-23T15:19:33.253Z electron-notarize:staple staple succeeded
2023-08-23T15:19:33.253Z electron-packager Moving /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/electron-packager/darwin-x64/<app>-darwin-x64-sOKdzs to /Users/runner/work/<app>/<app>/out/<app>-darwin-x64
2023-08-23T15:19:33.260Z electron-forge:packager outputPaths: [
[SUCCESS] Finalizing package
  '/Users/runner/work/<app>/<app>/out/<app>-darwin-x64'
[SUCCESS] Packaging for x64 on darwin
]
[SUCCESS] Packaging application
2023-08-23T15:19:33.266Z electron-osx-sign:warn No `install` passed in arguments, will fallback to default `/Applications`.
[STARTED] Running postPackage hook
[SUCCESS] Running postPackage hook
[SUCCESS] Running package command
[STARTED] Running preMake hook
[SUCCESS] Running preMake hook
[STARTED] Making distributables
[STARTED] Making a pkg distributable for darwin/x64
2023-08-23T15:03:09.802Z electron-osx-sign<EMAIL_ADDRESS>2023-08-23T15:03:09.803Z electron-osx-sign `identity` passed in arguments.
2023-08-23T15:03:09.803Z electron-osx-sign Executing... security find-identity -v
2023-08-23T15:03:09.868Z electron-osx-sign Identity:
 > Name: Developer ID Installer: ***
 > Hash: ***
2023-08-23T15:03:09.868Z electron-osx-sign Found 1 identity.
2023-08-23T15:03:09.868Z electron-osx-sign Flattening application...
 > Application: /Users/runner/work/<app>/<app>/out/<app>-darwin-x64/<app>.app
 > Package output: /Users/runner/work/<app>/<app>/out/make/<app>-1.0.0-x64.pkg
 > Install path: /Applications
 > Identity: Developer ID Installer: ***
 > Scripts: undefined
2023-08-23T15:03:09.869Z electron-osx-sign Flattening... /Users/runner/work/<app>/<app>/out/<app>-darwin-x64/<app>.app
2023-08-23T15:03:09.869Z electron-osx-sign Executing... productbuild --component /Users/runner/work/<app>/<app>/out/<app>-darwin-x64/<app>.app /Applications --sign Developer ID Installer:
*** /Users/runner/work/<app>/<app>/out/make/<app>-1.0.0-x64.pkg

@cameronjeffords @RamK777-stack could you try downgrading all @electron-forge/* dependencies to v6.0.0-beta.70 and see if it helps? I'm suspecting the CLI library change introduced in v6.0.0-beta.71 (https://github.com/electron/forge/pull/3022) could be the cause of this, a user in our Discord server reported successful builds on beta.70 and stalled ones on beta.71.

@cameronjeffords @RamK777-stack, I resolved the hanging issue by modifying the certificate import script to include trust settings for both the codesign and productbuild tools.
security import $CERTIFICATE_P12 -k $KEY_CHAIN_NAME -P $CERTIFICATE_PASSWORD -T /usr/bin/codesign -T /usr/bin/productbuild;

Still same problem on the latest version 7...

@cameronjeffords @RamK777-stack, I resolved the hanging issue by modifying the certificate import script to include trust settings for both the codesign and productbuild tools.
security import $CERTIFICATE_P12 -k $KEY_CHAIN_NAME -P $CERTIFICATE_PASSWORD -T /usr/bin/codesign -T /usr/bin/productbuild;

Thanks, it works!


It's better not show grammar error message

There are options available for muting error messages: https://github.com/Glavin001/atom-beautify#package-options
Duplicate of #105


feat: enable you to create a follow up pr file

Close #1799
If terraform apply fails, create-follow-pr action creates or updates a file .tfaction/failed-prs in the working directory and creates a follow up pull request.
e.g.
# This file is created and updated by tfaction for follow up pull requests.
# You can remove this file safely.
https://github.com/suzuki-shunsuke/terraform-example/pull/1

Removed the setting and change the default behaviour.

https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.6.0-4

Create a directory .tfaction
Rename the file .tfaction-failed-prs to .tfaction/failed-prs.

About conflict
.tfaction/failed-prs may cause conflicts.
To avoild conflicts, we can change file names per pull request like .tfaction/failed-pr-<pr number>.
If conflicts would be troublesome, we need to consider this kind of approach, but for now I think the conflict is not bad.
The conflict clarifies that others are working in the same working directory.
And the conflict encourages users to update branches.

https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.6.0-5


How can I set the default height?

Can I turn off the rotation?

The height is defined by the zoom level, together with the min and max height. You can set the default zoom by setting the zoom and target_zoom properties on the RtsCamera component, when adding it.

OK, think you


Enhance bom import

set RLC to disabled when its refdes is not in BOM.

@PipKat , do you know why it is failing ironpython?


Invoking Async Functions on Lambda When Outside of Lambda

When running locally or from any non-lambda environment, it would be nice to invoke async lambda functions.
Context

Currently, the async file looks for environment variables AWS_REGION and AWS_LAMBDA_FUNCTION_NAME. I can set those as my env variables locally to "fake" being in lambda and the async calls work as I want.
Expected Behavior

Be able to call lambda async from any environment.
Actual Behavior

You have to be in lambda to call async lambda calls, or fake being in lambda by setting your env variables.
Possible Fix

the task decorator and run function both take arguments, allow users to pass the lambda_function_name and aws_region as variables. They then can look to those first, and then to the env variables second.

This would help with the unpublished-but-awesome Zappa-Jupyter idea.

I want zappa jupyter so bad


Fix crash Unread Widget Configuration

Please ensure that your pull request meets the following requirements - thanks !

Follows our existing codestyle.
Does not break any unit tests.
Contains a reference to the issue that it fixes.
For cosmetic changes add one or multiple images, if possible.

Prevent crash when trying to choose folders without selecting a account.

@nitmee: Can you please add some context to this pull request. What problem are you trying to solve? Can you provide instructions on how to reproduce the problem?

the crash occurred when trying to configure unread widget . go to widgets select K-9 Mail / Configure K-9 Unread  .

Without selecting accounts , Check folder count and tap to select folders , K-9 Mail will crash because no account selected .

The folder-related settings should be disabled until an account is selected. It appears you're trying to fix a symptom rather than the cause.

Thanks for contributing to K-9 Mail 👍
This pull request needs a little bit more work. I've added a few comments.
A few tips for the future:

Don't create pull requests from your fork's master branch. Typically that's the one you keep in sync with the master branch of the upstream repository. Create a new branch for each pull request.
The status of this pull request is red. "Some checks were not successful". You can click through to the build log to find out what was causing the failure. In this case it's the fact that you introduced code style violations (wrong indentation levels). These issues can be fixed automatically. See https://github.com/k9mail/k-9/wiki/BuildingK9#checkfix-code-style
We try to keep our Git history as tidy as possible. Ideally this fix would consist of exactly one commit. Please feel free to force-push to your branch to update the PR.

I believe if you apply all my suggestions this will become a one line change.

@cketti thanks and appreciate your suggestion , I have made changes and yes it become one line change. do you want me to delete this request and create a new one with a new branch ?

do you want me to delete this request and create a new one with a new branch ?

I think that would be easier than trying to clean up the Git history of this branch.

@cketti new pull request #4827


Exercise 4 puzzle class String problem

I encountered a bizzare problem while writing the Puzzle class. to find the list index of a certain number in the puzzle, i would compare Strings inside a list to String.valueOf(num) where num is the number i want to find.  i found that my code did not work so i tried my values in jshell and got this interesting result. Could someone tell me why "12" == "12" is false??? thank you
jshell> puzzle.grid.list().get(11)
$29 ==> "12"
jshell> String.valueOf(12)
$30 ==> "12"
jshell> puzzle.grid.getList().get(11) == String.valueOf(12)
$31 ==> false

I think its because == is true if they reference the same memory location so since they dont refer to the same memory address it gives false

oic. is there any way to fix it to be true? the logic of this should be correct.

I think it's because == compares object references, you can try .equals(), which compares the String values.

Hi, you can also try string1.compareTo(string2). it returns an integer (0 if they are the same)


Message - Pressing enter over a message shows a black border around it

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

Expected Result:
Pressing enter on a message should not add a black border around it.
Actual Result:
Pressing enter over a message shows a black border around it
Action Performed:

Log in to e.cash
Navigate to a conversation
Hover the cursor over a message and click it
Press enter

Workaround:
No need, visual issue.
Platform:
Where is this issue occurring?
Web ✔
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.50-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

https://user-images.githubusercontent.com/44479856/119058725-e8ff1500-b99c-11eb-9fea-21b3883e4ece.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @CortneyOfstad (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Issue reproducible today during KI retests

Triggered auto assignment to @deetergp (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Rather than triage and release into the general pool, I am going to keep this one and try to fix it. I am going to change the priority from Daily to Weekly though.

Issue reproducible today during KI retests

Issue reproducible today during KI retests

Did some digging into this today and discovered that an attribute data-focusvisible-polyfill="true" is being added to one of the divs that wraps a message in chat history. I think it's a react-native issue, something that is meant to be for touch/mobile UIs but is showing up in Web. Will do a bit more digging to see what can be done to address it.

It looks like the polyfill is added by the browser and is used to indicate, when navigating a web page with a keyboard, that an element has focus. I think the right solution here is to figure out how to prevent individual messages from being able to receive focus--there's not much you can do with them when they get focus anyway.

Issue reproducible today during KI retests

Issue reproducible today during KI retests.

Issue reproducible during KI retests.

Issue reproducible during KI retests.

Letting go of this one, since I've got some bigger, time-sensitive fish to fry. There's no reason this cannot be an external issue.

Triggered auto assignment to @bfitzexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

This is a quick one. We have to disable the outline over the message item Pressable to fix it. By default, every focusable element gets outline and Messages are wrapped inside Pressable which as focusable
To fix it in nutshell
add styles style={styles.noOutline} to

Issue reproducible during KI retests

Triggered auto assignment to @marcaaron (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Posted here on upwork. @marcaaron just a heads up @parasharrajat  has posted a proposal above.

I suggest we get going with this issue.

:focus-visible {
outline: none !important;
}
The element when focused (when click action is performed) is showcasing a outline and with the above CSS property it'll fix it & remove the black outline.

This attribute data-focusvisible-polyfill should be set to 'false' in order to remove the black border.
data-focusvisible-polyfill="false"

Element Class:focus{
outline:none !important;
border:0;
}
Please refer above. You may need to assign element class before pseudo class ':focus'

Bump @marcaaron, we good to move forward with Rajat's proposal?

I suggest we get going with this issue. This is a minor one.

@parasharrajat counterpoint, if it's minor then there's not really any need for urgency
Sorry for the delay here. I'm not sure this is a bug at all. Going back to @deetergp's comment here...

It looks like the polyfill is added by the browser and is used to indicate, when navigating a web page with a keyboard, that an element has focus. I think the right solution here is to figure out how to prevent individual messages from being able to receive focus--there's not much you can do with them when they get focus anyway.

I have a few questions about this behavior, but ultimately I think we can just "do nothing" here. It seems like an accessibility feature not a bug. Keyboard users will maybe desire this feedback to see what they are focused on. Removing this outline seems like a step in the wrong direction.
Thoughts, @stitesExpensify @kadiealexander ?

Issue reproducible during KI retests

I agree, I don't think this is a problem.

Ok. gonna close then. Thanks!