Add new "no-old-shims" rule

This PR resolves a major part of https://github.com/netguru/eslint-plugin-ember/issues/86
Example from the documentation:
// GOOD
import Component from '@ember/component'
import EmberObject, { computed } from '@ember/object'
import Service, { inject } from '@ember/service'

// BAD
import Component from 'ember-component';
import EmberObject from 'ember-object';
import computed from 'ember-computed';
import Service from 'ember-service';
import inject from 'ember-service/inject';

The rule also supports eslint --fix
/cc @michalsnik @rwjblue @cibernox

One more thing @Turbo87 I think we should add this rule in https://github.com/netguru/eslint-plugin-ember/blob/master/config/base.js though it will require us to bump a major version of this plugin then instead of a minor

I'd recommend to try this out for a bit in a minor release and then enable it later if everything works as expected. Since the rule is only useful if you use Babel 6 I'd could also lead to a few false positives if it's enabled by default.

Alright, that makes perfect sense to me.

Released as v3.6.0 🚀  Thanks @Turbo87


Make download support streaming use

What is the purpose of your issue?

[x] Bug
[ ] Feature Request
[ ] Question
[ ] Other

Description
Here, the download creates a .temp file, and when the download completes, removes the .temp extension; Somehow, this causes the applications that have opened that file to crash. I don't know the Unixy filesystems much, but I think perhaps the way the file is renamed is changing its inode? If so, this needs fixing, as it is not necessary (per, e.g., https://unix.stackexchange.com/questions/192800/does-the-inode-change-when-renaming-or-moving-a-file.)
I use youtube-dl like this, too, and it renames its temp files without breaking my streaming application.
On a side note, why doesn't the project use youtube-dl?
https://github.com/ritiek/spotify-downloader/blob/master/spotdl/youtube_tools.py#L176
PS: Here is the code used for streaming (It uses my PR https://github.com/ritiek/spotify-downloader/pull/580):
spotdl -f . -nr -s 'not evil' & retry-eval 'mpv *.m*'

retry-eval () {
	retry-limited-eval 0 "$@"
}
retry-limited-eval () {
	local limit=0
	local ecode=0
	until {
			test "$1" -gt 0 && test $limit -ge "$1"
		} || {
			eval "${@:2}" && ecode=0
		}
	do
		ecode="$?"
		echo Tried eval "${@:2}" "..."
		sleep 1
		limit=$((limit+1))
	done
	(
		exit "$ecode"
	)
}

I guess the has been handled with a PR. Closing this.
I know it's late, just clearing out old issues.


shim executor: print shim-log.json on shim failure

example output (with too newer runc):
$ ctr --debug run --tty  -b ~/tmp/ocibundle/busybox foo
rpc error: code = 2 desc = shim exited prematurely with exit code 0 (log: "{\"level\": \"warn\",\"msg\": \"invalid argument\"}")

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

Updated PR @mlaventure

With the shim refactor to GRPC this is not needed anymore because we don't rely on the shim logs for errors, we can get the feedback from the rpc calls.
Thanks for doing this though.


Only call checkSession if the token has expired

This small change addresses #150 by not calling checkSession() unnecessarily.
Before
checkSession() called from every useAuth(). Led to #150. In a typical Gatsby app, this led to many requests to Auth0 from every page:

After
checkSession() only called after the token has expired. Same app with the same navigation pattern (3 clicks/pages):

Potential drawbacks

In the rare event that the user changes their information with Auth0 (or the social identity profile) while logged into the app, that information won't be reflected until they refresh the token. Users typically tend to reload the page in this scenario, which would typically trigger the app calling checkSession() in its initialization, so the issue is minor.
If the user's token is revoked, they'll still be able to access client-side information they had access to, until the token expires (2 hours by default with Auth0, I think). However, server-side security would reject the invalidated JWT.

Notes
I've remove the try/catch from that block, as I'm not sure when it the catch would ever occur. setUser() wouldn't trigger is, and auth.getUserProfile(); simply accesses this.userProfile;.

Any thoughts on this @epilande ?


Ability to start / stop a tunnel from command line

Feature description

Forgive the possible silly nature of this question, but I am a "user", not a developer.  I love WebSSH as it gives me the ability to connect to the Linux servers my customers use with a single click.  I am especially fond of the Forwarding function that allows me to do port forwarding easily, again, with a single click.
What I would like to know is if it is possible, from a shell script, to call a specific WebSSH Forwarding connection?

From Marty by email

I suggest to use deep linking for resolving this issue.
Perhaps it should be like :

webssh://{TUNNEL_UUID}/start
webssh://{TUNNEL_UUID}/stop


simwifi: Fix the error of the need length for scan bssinfo.

Summary
Fix the error of the need length calculation when scanning.
Impact
N/A
Testing
When scanning in sim, we should not get an out-of-bounds error in copy_scan_results.

please add a commit message

Done.


Conditional fetching

Hey, and thank you for this library.
I would love to be able to use conditional fetching just like the base SWR library. I'm currently using the isDisabled option which is an okay workaround, but to keep the integrity of the type checking that would be great!

Unfortunately this is not possible as the key is generated by tRPC. Which type checking errors are you facing?

Unfortunately this is not possible as the key is generated by tRPC. Which type checking errors are you facing?

Okay I see, that's unfortunate. My use case is the following. I need to explicitly set a random value for TypeScript.
const order = swr.payment.order.getOrderById.useSWR(content.orderId ?? -1, {
    isDisabled: content.orderId === null,
})

I would love to be able to the same I would do in the base SWR library so that if content.orderId is null it will not fetch until it isn't.
const order = swr.payment.order.getOrderById.useSWR(content.orderId)

And thank you for your work with this library!

I don't see where typescript would error in your case. isDisabled is performing conditional fetching using SWR's mechanism under the hood. The reason isDisabled was introduced is to handle this exact case.
The reason we won't be able to change this is that there is no longer a key argument. The key argument is the path payment.order.getOrderById combined with the query data content.orderId. tRPC allows for any kind of values added to the query, this includes null values.

No, there is no error in my above example. I however need to add a fallback value for the null value in the input to the tRPC function – a fallback that is never used as a value. This also requires the developer to remember both that and adding the isDisabled flag with the same variable. Not a big issue but not a very idiomatic TypeScript solution. I understand that it may not be possible and this alternate solution still solves the problem! 😀

I see the issue now. As TS will attempt to enforce the input value to be what tRPC expects. The solution would be to move this logic inside its own component and only render it if the value is not null. That'd be the normal "React style" way to do this as well.
Otherwise, you can always opt out of tRPC-SWR for this specific use case like so:
Option 1 - manually fetch while keeping the same keys
const {client} = swr.useContext();
const getKey = () => content.orderId ? swr.payment.order.getOrderById.getKey(content.orderId) : null;
const {data, ...} = useSWR(getKey(), () => {
  return client.payment.order.getOrderById(content.orderId!) // Same solution as Option 2
})

Option 2 - Use ! to tell typescript that key will be defined
Since we know isDisabled will pause the query until the key exists, you can just tell TS to ignore the issue.
const order = swr.payment.order.getOrderById.useSWR(content.orderId!, {
  isDisabled: content.orderId === null
})


Added example from README

Added the example from pymc REAME to the welcome page at pymc.io.
This is from issue pymc #7411,
previously raised a PR and discussed here.

📚 Documentation preview 📚: https://pymcio--98.org.readthedocs.build/

noticed the last column title is not wrapping properly in the build :(

I like it! CC @OriolAbril

@twiecki should i make that change?

@twiecki should i make that change?

Yes

@twiecki is this good?

Thanks!

@twekei i have not made the chnage, i wanted to know how it was before making it :(

Oh, jumped the gun. Just make a follow-up PR.


feat(100.html): link to 100-missing

Could you add a link from 100-missing.html back to 100.html? Otherwise LGTM.

Done


Update NU1105.md

Added sample code to restore projects in solution using dotnet CLI
#2340

Docs Build status updates of commit d99d96f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU1105.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit df8bfe8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference/errors-and-warnings/NU1105.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@JonDouglas can you please review? I've addressed comments.


Update main.py

added a toss, added a multiplayer option, and added comments throughout the code.
Type of change

[ ] Added new project
[ ] Bug fix
[x] New features
[ ] Enhanced documentation

Changes proposed in this pull request

Project name :

Short description :

Checklist

[x] The code is Python 3 compatible
[x] I have added relevant comments in my file to make code understandable
[x] I have added my project in a folder which includes all the necessary files

Thanks for the changes


info.plist with settings

Please tell me, is there an opportunity to take a ready-made Info.plist and change some parameters from it, or add them? Without resorting to creating a new Info.plist
I mean, to get rid of it:
info:
      path: "Info.plist"
      properties:
        CFBundleName: "BundleName"

XcodeGen can't edit your existing Info.plist files. You can either:

use a physical file and make changes there
generate one on demand like your example above
let Xcode generate one for you. In this way you can set build settings that relate to info plist keys using a prefix INFOPLIST_KEY_CFBundleName: BundleName. This is what new Xcode projects use by default nowadays

closing this for now, feel free to ask more questions


Bug in RPCClient/getVersion?

https://github.com/CityOfZion/neon-js/blob/31600a3cb9c38b9a0d961e98475e4cc81c908cd8/packages/neon-core/src/rpc/RPCClient.ts#L242
Shouldn't response.result.useragent first be verified to exist before accessing?
I'm calling with:
          const client = neon.default.create.rpcClient(n.url)

          client.getVersion().then(response => {

and getting:
(node:5246) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '1' of null

Thanks

Oh, apologies for the late response.
I was making calls to various test net nodes in testing and preparation for a higher level task sequence. The bug reproduces easily, as shown in the first comment. getVersion() would fail every time, I believe. To be sure, I can go back and run it against a list of nodes, if needed.
If there is anything more that I can do please let me know.
Thanks.

I'm honestly not quite clear on why the version match line is there or why it updates the client's version to match. Shouldn't this call just return a version for the node queried?
  /**
   * Gets the version of the NEO node. This method will never be blocked by version. This method will also update the current Client's version to the one received.
   */
  public async getVersion(): Promise<string> {
    try {
      const response = await this.execute(Query.getVersion());
      const newVersion = response.result.useragent.match(versionRegex)[1];
      this.version = newVersion;
      return this.version;


Class 'Psr\Log\NullLogger' not found

get this when running cat example from the CLI
PHP Fatal error:  Uncaught Error: Class 'Psr\Log\NullLogger' not found in /var/www/html/expect/src/Expect.php:55
Stack trace:
#0 /var/www/html/expect/src/Expect.php(71): Yuloh\Expect\Expect->__construct('cat', NULL, NULL)
#1 /var/www/html/expect/test.php(6): Yuloh\Expect\Expect::spawn('cat')
#2 {main}
thrown in /var/www/html/expect/src/Expect.php on line 55
latest psr/log installed
[root@localhost expect]# composer show -i | grep log
Do not run Composer as root/super user! See https://getcomposer.org/root for details
You are using the deprecated option "installed". Only installed packages are shown by default now. The --all option can be used to show all packages.
psr/log                           1.0.2  Common interface for logging libraries

Hi,
Sorry I didn't see this, my github feed is pretty noisy.
does your file test.php have require __DIR__ . '/vendor/autoload.php' at the top?  It sounds like an issue with your autoloader configuration but it's hard to say without more info.

fixed it, thanks


Simplify NodeSet#to_a with a minor speed-up.

This stood up while reviewing https://github.com/sparklemotion/nokogiri/pull/1362#discussion_r47873435 . The speed-up is around 10%:
xml = Nokogiri::XML.parse("<r>#{"<a/>"*100}</r>")
set = xml.xpath('//a')
st = Time.now; 1000000.times{ set.to_a }; Time.now - st

... changed from 8.2 to 7.3 seconds on my (slow) netbook.

Great, thanks for following up and making this change!


fix(types): Make onContentProcessDidTerminate optional

Summary
Based on the documentation, onContentProcessDidTerminate should be optional but it isn't in typing.
Test Plan

It should build successfully.
Compatibility

OS
Implemented

iOS
✅

Android
❌

Checklist

[x] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[x] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

thanks @silverchen

Oversight by me in the initial PR 🙃
Thanks @silverchen 🙏


Is it possible to use wildcard on fields like in the ES?

Is it possible to use the wildcard on fields like in the ES? Let say that I want to use flatline rule to check if there is no any JMX data reported from jolokia.spark.master.*.
Example query that I am using withing the Elasticsearch is below.
GET /metricbeat-*/_search?
{
  "query": {
    "bool": {
      "filter": {
        "bool": {
          "must": [

            {
                "query_string" : {
                "fields" : ["jolokia.spark.master.*"],
                "query" : "*"
              }
            }

          ]
        }
      }
    }
  },
  "sort": [
    {
      "@timestamp": {
        "order": "asc"
      }
    }
  ]
}

Anything you put into filter is copied into the query's bool must filter verbatim. What you posted is the same as writing:
filter:
 - query:
      query_string:
         query: "*"
         fields: ["jolokia.spark.master.*"]

@Qmando You were correct. I am closing this issue.


Old leaves textures?

Why do the leaves have the old texture?

Is this still an issue? I can't personally reproduce this on my end, tried to install using both Prism Launcher and our installer.

Closing since there hasn't been a response in a while. The mods in the resource packs screen was a Quilt issue, but I'm no longer maintaining Quilt as of recent so it's not something I can fix.


fix: drop usage of host network in config daemon

config daemon uses a controller manager that tries to listen on some common ports which aren't always available in the host network context. The change was tested by QA and doesn't have an effect on the daemon's functionality.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.07%) to 59.845%

Files with Coverage Reduction
New Missed Lines
%

internal/controller/nicconfigurationtemplate_controller.go
2
86.07%

Totals

Change from base Build<PHONE_NUMBER>7:
-0.07%

Covered Lines:
1696

Relevant Lines:
2834

💛  - Coveralls


Initialise a flutter project (Use stable channel)

Just initialise a flutter project and create a pull request.
Use stable channel of flutter and latest version so that it will be easier for other contributors to contribute.
Post your doubt here:Discord server

I would like to do it. Please assign me.

I will assign it to you. Follow the instructions.


Update spanish messages

Thanks!

Btw, there's a message which I'm not sure it is correct in english: "Error create question"/"Error save question".. I think we should use a better sentence for that one


Read the docs

Pull Request
PR Type

[ ] 🐛 Bug Fix
[ ] ✨ Feature
[ ] 🚀 Performance Optimization
[ ] ♻ Refactoring
[X] 📚 Documentation Update
[ ] 🔧 Configuration Change
[ ] 🧪 Test Addition/Update
[X] 🔨 CI/CD Change
[ ] Other (please describe):

Description

Migrated docstring format to Numpy
Switched to Mkdocs

Related Issues

fixes #52

Testing
Added/Updated Tests

[ ] Yes
[X] No, and here's why:
[ ] I need help writing tests

How Has This Been Tested?
Not yet, but setting up pydoctest.
Test Configuration
Checklist

[ ] I have read the contributors guidelines and code of conduct
[ ] I have updated the documentation accordingly
[ ] I have added/updated tests as appropriate
[ ] I have updated the related issue(s) with new insights and changes
[ ] I have used a conventional commit type in my PR title
[ ] I have run pre-commit hooks and fixed any issues

Additional Notes
Still a WIP @philip-ndikum

coverage: 95.781% (-0.9%) from 96.693%
when pulling ea10758c3d095f1e9d4969681511ea5f77a94649 on read_the_docs
into e7cea8217a663f1b3adddc68392d1836c26ff4e8 on main.


Step locations

When Cucumber prints the scenario, it ideally needs a location for each step so it can print them to the user.
Example (imagined):
Scenario:
    Given the range is 1000m                       # features/step_definition/steps.tcl:2
    And Samantha is 1000m from Bob                 # features/step_definition/steps.tcl:5
      TODO (Tcl::Error)
      features/hear_shout.feature:8:in `And Samantha is 1000m from Bob'
    When Bob sends a message "hello"               # features/step_definition/steps.tcl:10
    Then Samantha should hear "hello"              # features/step_definition/steps.tcl:15

see my comment in #25. In ::cucumber::_add_step:
  # an attempt at saving the source of the step definition
  # 3 in [info frame..] is a magic number that only works in this constellation of [source]s
  # haven't come up with a more robust way yet
  set location "[file tail [uplevel 3 {info script}]]:[dict get [info frame 3] line]"

  lappend STEPS [list $re $params $body $location]

this works now in cucumber-tcl-wire and could be probably directly transfered into this repo. The magic numbers are now somewhat less magic and are robust against framelevel differences when sourcing the steps.
BTW, what is the workflow for developing this lib? rake → code → rake?

Thanks @d-led! Yes, rake will run all the tests for both the Ruby and tcl parts of the codebase.


Homebrew: Mention additional security options and fix broken links

Options:
HOMEBREW_NO_INSECURE_REDIRECT=1
HOMEBREW_CASK_OPTS=--require-sha
HOMEBREW_NO_ANALYTICS=1
These links are bad:
https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Installation.md
https://github.com/Homebrew/brew/blob/master/share/doc/homebrew/Analytics.md

How do I go about activating these rules in Homebrew?
HOMEBREW_NO_INSECURE_REDIRECT=1
HOMEBREW_CASK_OPTS=--require-sha
Are they commands or lines in some file?


Add RBI file for paper_trail gem

PaperTrail adds methods to ActiveRecord models at runtime. Adding this RBI informs Sorbet of these methods.
Type of Change

[x] Add RBI for a new gem

Changes

Gem name: PaperTrail (paper_trail)
Gem version: 13.0.0
Gem source: https://github.com/paper-trail-gem/paper_trail
Gem API doc:
Gem relevant source files: 1, 2
Tapioca version: 0.10.2
Sorbet version: 0.5.10439

I've signed the CLA but I'm not sure how to retrigger the check.

@Morriar, thank you for the guidance. Updated to include active_record as a requirement.
@rafaelfranca I'm far from an expert, but I believe this is required as the class methods are included at runtime https://github.com/paper-trail-gem/paper_trail/blob/49659e8a0c4cb0c80aeab344b7b434de7f057c88/lib/paper_trail/frameworks/active_record.rb


Disable user methods

Hi!
I have implemented a few various disable accounts methods in wrapper.
Cheers,
Gonchik Tsymzhitov

Thank you very much!
I will update also on pypi


T7.2.1 implementation: send metrics to Prometheus

reqs in #239:
output metrics on EKG, and expose to Prometheus with http://hackage.haskell.org/package/ekg-prometheus-adapter
or directly push metrics to Prometheus with https://github.com/fimad/prometheus-haskell

http://hackage.haskell.org/package/ekg-prometheus-adapter-<IP_ADDRESS> has not been updated to follow the changes in http://hackage.haskell.org/package/prometheus-2.1.1.
So a fork with a commit fixing the issue is located https://github.com/365andreas/ekg-prometheus-adapter/commit/2123420a37044c4f8910cbb0876620f8952970af.

prometheus-2.1.1 does not support Labels in contrast with EKG. Consequently, it may be needed to change Labels to Gauges where possible.


Limited set of tumor types being displayed for certain choice of variables

For the combination of choices

TCGA Study
DNA Alteration a
Leukocyte fraction
in the Correlation/Immune Feature Trends

only ~17 tumor types are displayed. Check if OK/due to some requirement of minimal/complete  data or if we need to adjust.

Fixed by @andrewelamb in 7f33acc1ac3b77f7643aae039d2a4ad740017c2e


footer chopped on mobile

this is likely due to my footer design coupled with pre-existing non-responsive px measurements.

Thanks


how do i create a chat group?

i´m a new user of chat secure, i don´t know much of encrypted comunications but we really needed. I have already get encripted talking ono to one, but i don´t know what server to use un the group chat, just because the app don´t give me any options. somebody can help me?

I don't believe that feature is included in this app.

Yes, it has. Group Chat, but just doesn´t seem to work. Anyway we
already take actions, we are not going to use Chat Secure, instead we
are using TextSecure because is better. thanks anyway :)
El 2015-10-18 22:09, David Johnson (dcharles) escribió:

I don't believe that feature is included in this app.

Reply to this email directly or view it on GitHub:
https://github.com/guardianproject/ChatSecureAndroid/issues/714#issuecomment-149085206

you have to use the conference server that your XMPP service provides if there is any, otherwise you need to make sure you're using a service that does in order to be able to use chat groups. It's generally called "conference.x.y" like in "conference.dukgo.com"

You can also use conference.rows.io which is an open conference server.
You can also try Conversations.im group chat feature, which works a bit better than ChatSecure's does currently.


user info popover: Add bot owner name in bot info popover.

In user info popover(what you get from clicking a user's name),
if user is bot, add clickable bot owner's full name, which
opens bot owner full profile on click.
Fixes #10844
Testing Plan:
GIFs or Screenshots:

@YJDave how does this look for a user with a really long name as the bot owner, like Othello?  It's possible we should shorten it to e.g. `"Owner: Iago" to make that look nicer and/or be less likely to line-wrap.  @rishig thoughts?

yeah, Owner: Iago is better. Also ideally it would be
Owner: person with a really long na... rather than line wrapping, if that's easy.

Yeah, agreed.

Thanks for review and suggestion!
Updated.

The logic and wrapping cutoff behavior look good, but I think the bot owner name link should probably not be blue (it feels like it has too much emphasis with this design, since it's the link on this page that you're probably least likely to want to click).
Can you try changing that and show what it looks like?

Thanks for the review.
@rishig and @timabbott Here are some new designs I tried:

With underline name
With user pills

I like the underlined name design.

underlined name design + something that changes on hover (so that you know you can click it) seems good to me as well.

Closing this in favor of the newer version in https://github.com/zulip/zulip/pull/11567.


Add Bing Wallpaper extension

Description
Get and set Bing wallpapers within 15 days.
Commands

Bing Wallpaper: Get and set Bing wallpapers within 15 days

Actions

Set Desktop Wallpaper(↩): Set the current picture as desktop wallpaper
Download Picture(⌘↩): Download Bing Pictures, directory is /Users/xxxx/Downloads
Set Random Wallpaper(⌘R): Set random picture as desktop wallpaper
Search Picture(⇧⌘S): Search current picture with bing
Clear Wallpaper Cache(⇧⌘⌫): Clear picture cache created when the “Set Desktop Wallpaper” action is used

Preferences

Apply Wallpaper To

Current Desktop
Every Desktop

Download Size

Original: Raw
Full: 4K (3840×2160)
Regular: 2K (2560x1440)
Small: 1K (1920x1080)

Screencast
https://user-images.githubusercontent.com/36128970/161362961-d9bc91ee-0f3b-428e-bb1c-55d304a02ba5.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
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed in the metadata folder

Hi @pernielsentikaer 👋. Thank for your review.I will attach the latest changes below.

I have selected Apply Wallpaper To Every Desktop, however, it looks like it's only changed in the first one?

1.This option is somewhat ambiguous. It applies to desktops in an extended monitor, not to other desktops in a monitor.
So I changed the text and added the hint: "Valid only when you are using an extended monitor."

It feels a bit weird that there is no default value in "downloadDirectory" in the preferences now that it's mandatory, even the code says it should be possible to leave blank isEmpty(directoryPreference)

2.Here I want the user to fill in the Download Directory when entering the extension, so that when the user checks the Auto Download, it doesn't download to an unexpected directory.
Latest changes: Added placeholder and default values to guide users.

Hi @koinzhang 👋
Thanks for the corrections 🔥
One thing I don't get is the one with the Download Directory, in the first test I just wrote Downloads` and nothing more.
What about setting the default to ~/Downloads and use a library like expand-tilde to resolve the right path?

Hi @pernielsentikaer 👋. Thank for your review.I attach the latest changes below.

Update the default download path to ~/Downloads
The download directory supports the form /Users/Username/Downloads and ~/Downloads. However, it is not supported to enter only Downloads.


Error while create release apk: backicon_mask.png: error: Invalid filename. Unable to add.

Version
Tell us which versions you are using:
react-native-router-flux v4.0.1
react-native v0.55.1
Expected behaviour
Create release apk for android
Actual behaviour
Error: Invalid file name
/android/app/build/intermediates/res/merged/release/drawable-mdpi/node_modules_reactnativerouterflux_node_modules_reactnavigationstack_dist_views_assets_backiconmask.png
Steps to reproduce
create release apk
@daviscabral This issue relates to react-native-router-fkux because this icon is one of the modules which are inside the react-native-router-flux.
P.S: it's kind of bad practice just to close issues without solving them and sending link to the commit with the changes in 39 files and 2000 lines of code.
This error happened to me and can happen to any other user of that library.

Sorry, I was really trying to help. I am focusing on bugs. I hope you get the help you need.

why？ build android apk show Error？ android/app/build/intermediates/res/merged/release/drawable-mdpi/node_modules_reactnativerouterflux_node_modules_reactnavigationstack_dist_views_assets_backiconmask.png: error: Invalid filename.  Unable to add.
"react": "16.4.0",
"react-native": "0.55.4",
"react-native-router-flux": "^4.0.1",

@Luckygirlllll   #3264

This was fixed in<EMAIL_ADDRESS>as stated here https://github.com/facebook/react-native/issues/16906.
Closing since there are two possible fixes for the issue.


Converting ply data to STEP format

Thank you for your amazing work.
Can I save files in STEP format instead of Ply format?

Thank you for your amazing work.
Can I save files in STEP format instead of Ply format?

Hi, @jxxtin,
we save the output files using trimesh.
The supported formats of trimesh are stl, off, ply, collada, json, dict, glb, dict64, msgpack.
Best Regards


make fails for EFR32 Silicon Labs

I made executed exactly the same commands as described here:
https://github.com/openthread/openthread/tree/master/examples/platforms/efr32
And get following error after executing make -f examples/Makefile-efr32 BOARD=BRD4161A
To Reproduce
Information to reproduce the behavior, including:

git clone https://github.com/openthread/openthread.git
$ cd
$ ./script/bootstrap
$ cd /third_party
$ mkdir silabs
$ cd /developer/sdks
$ cp -rf gecko_sdk_suite /third_party/silabs/
$ cd
$ ./bootstrap
$ make -f examples/Makefile-efr32 BOARD=BRD4161A

....
compilation terminated.
In file included from openthread/examples/../third_party/mbedtls/mbedtls-config.h:168:0,
from openthread/examples/../third_party/mbedtls/repo/library/ccm.c:34:
openthread/examples/../examples/platforms/efr32/crypto/efr32-mbedtls-config.h:32:23: fatal error: em_device.h: No such file or directory
Is there an issue or doing am I something wrong?
Thanks in advance

What version of Flex SDK do you have installed?
The existing EFR32 port requires Flex SDK v2.3. I believe the latest Flex SDK is v2.4, so be sure to install Flex SDK v2.3 as well. After copying, you should have the following directory: third_party/silabs/gecko_sdk_suite/v2.3

Tanks for your answer, using Flex SDK v2.3 solved the problem.
Maybe you could add the hint to use version 2.3 into the OpenThread on EFR32 Readme?

@Puchinger, we'll update the README. Thanks for raising this issue.


v4.1.9 installed from appstarter does not work

$ php spark
PHP Fatal error:  Uncaught TypeError: CodeIgniter\CLI\Console::__construct(): Argument #1 ($app) must be of type CodeIgniter\CodeIgniter, int given, called in .../ci419/spark on line 48 and defined in .../ci419/vendor/codeigniter4/framework/system/CLI/Console.php:29

Installing codeigniter4/appstarter (v4.1.9): Extracting archive
Installing codeigniter4/framework (v4.2.0): Extracting archive

$ composer create-project codeigniter4/appstarter:v4.1.9 --no-dev ci419
Creating a "codeigniter4/appstarter:v4.1.9" project at "./ci419"
Installing codeigniter4/appstarter (v4.1.9)
  - Installing codeigniter4/appstarter (v4.1.9): Extracting archive
Created project in /Users/kenji/tmp/ci419
Loading composer repositories with package information
Updating dependencies
Lock file operations: 41 installs, 0 updates, 0 removals
  - Locking codeigniter4/framework (v4.2.0)
  - Locking doctrine/instantiator (1.4.1)
  - Locking fakerphp/faker (v1.19.0)
  - Locking kint-php/kint (4.1.2)
  - Locking laminas/laminas-escaper (2.10.0)
  - Locking mikey179/vfsstream (v1.6.10)
  - Locking myclabs/deep-copy (1.11.0)
  - Locking nikic/php-parser (v4.14.0)
  - Locking phar-io/manifest (2.0.3)
  - Locking phar-io/version (3.2.1)
  - Locking phpdocumentor/reflection-common (2.2.0)
  - Locking phpdocumentor/reflection-docblock (5.3.0)
  - Locking phpdocumentor/type-resolver (1.6.1)
  - Locking phpspec/prophecy (v1.15.0)
  - Locking phpunit/php-code-coverage (9.2.15)
  - Locking phpunit/php-file-iterator (3.0.6)
  - Locking phpunit/php-invoker (3.1.1)
  - Locking phpunit/php-text-template (2.0.4)
  - Locking phpunit/php-timer (5.0.3)
  - Locking phpunit/phpunit (9.5.20)
  - Locking psr/container (2.0.2)
  - Locking psr/log (1.1.4)
  - Locking sebastian/cli-parser (1.0.1)
  - Locking sebastian/code-unit (1.0.8)
  - Locking sebastian/code-unit-reverse-lookup (2.0.3)
  - Locking sebastian/comparator (4.0.6)
  - Locking sebastian/complexity (2.0.2)
  - Locking sebastian/diff (4.0.4)
  - Locking sebastian/environment (5.1.4)
  - Locking sebastian/exporter (4.0.4)
  - Locking sebastian/global-state (5.0.5)
  - Locking sebastian/lines-of-code (1.0.3)
  - Locking sebastian/object-enumerator (4.0.4)
  - Locking sebastian/object-reflector (2.0.4)
  - Locking sebastian/recursion-context (4.0.4)
  - Locking sebastian/resource-operations (3.0.3)
  - Locking sebastian/type (3.0.0)
  - Locking sebastian/version (3.0.2)
  - Locking symfony/deprecation-contracts (v3.0.1)
  - Locking theseer/tokenizer (1.2.1)
  - Locking webmozart/assert (1.11.0)
Writing lock file
Installing dependencies from lock file
Package operations: 4 installs, 0 updates, 0 removals
  - Installing psr/log (1.1.4): Extracting archive
  - Installing laminas/laminas-escaper (2.10.0): Extracting archive
  - Installing kint-php/kint (4.1.2): Extracting archive
  - Installing codeigniter4/framework (v4.2.0): Extracting archive
5 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
1 package you are using is looking for funding.
Use the `composer fund` command to find out more!
infection/extension-installer: No extensions found

$ cat composer.json | grep framework
        "codeigniter4/framework": "^4"

I'm not that strong with git, but isn't it possible to change the repository so that the tags match the CI version of conposer.json?
This can be done at least painlessly for 4.2.0

Before release, we can manually change the version of the framework in admin/starter/composer.json, or during deployment in a script, change the version after copying with the sed command.

If we change the version "codeigniter4/framework": "v4.1.9",
CI4 is not updated when you run composer update.

@kenjis You're right.

How to install older version:
$ composer create-project codeigniter4/appstarter:4.1.9 ci419
$ cd ci419/
$ composer require codeigniter4/framework:4.1.9


Docs for UXP v7.0

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@kareemmyk  I didn't see any changes to reference-css. Could you confirm if thats correct? Hopefully, I haven't missed anything.
Also, I havent taken anything from storage.md - please confirm that I dont need to check it. Lets remove it since all the changes should go into the respective API files.

@kareemmyk I didn't see any changes to reference-css. Could you confirm if thats correct? Hopefully, I haven't missed anything.
Also, I havent taken anything from storage.md - please confirm that I dont need to check it. Lets remove it since all the changes should go into the respective API files.

Yes, there are no changes to reference-css
Yes, no new changes added for storage.md


Build RPM packages for libraries common to Fusion and Server

Added Gradle build tasks for building Post GIS and common RPMs (openGeePostGisRpm, and openGeeCommonRpm).

The common RPM is not necessarily only what is shared between Fusion and Server, but trying to modify all the scons targets that build common, fusion and server would require significantly greater amount of time.  When more packages are unbundled from Open GEE in the future, that effort will decrease.  Therefore, that clean-up is left for the future.
To build the RPMs:

cd to earth_enterprise/rpms
Run ./gradlew openGeeRpms

Is the .gradle folder and its files necessary?

I'm getting an error when installing the common RPM:
Running Transaction
  Installing : opengee-common-5.2.0-1.x86_64                                1/1
Error unpacking rpm package opengee-common-5.2.0-1.x86_64
error: unpacking of archive failed on file ./var/opt/google/openssl/misc: cpio: Archive file not in header
  Verifying  : opengee-common-5.2.0-1.x86_64                                1/1

Failed:
  opengee-common.x86_64 0:5.2.0-1

I'm going to merge this to the rhel6-rpms branch to simplify future development and fixing the install problems.

@tst-jcupp: Hm. .gradle should probably not be in the repository. I was having problems running the wrapper that came with @tst-dsheremata's clone, so I ended up including everything.
We should try removing it, and making sure it works when cloned by developers.


System option to allow users a kanban view

There should then be a new option "Enable user kanban view" to decide if the users can switch to "My Issues" -> kanban or not.
This also means he must not be able to drag/drop items in the kanban view.

Some additional thought on this:
Why not make a system setting: "Kanban View limit" and let the administrator decide which role is needed to be able to use the kanban view at all. If we set the role to "user" then no drag drop should be possible for a user.

Currently this can be done for all users.
User role: can see the kanban view. Drag and drop animation works but user cannot change status.

What issues do they see? The ones they posted?

your issue should show assigned issues to the users. Current the kanban view show all issues in project!

For me users can be testers, clients, and so on. I would want them to see only the issues they themselve created. No matter if they look at the kanban or the list. That way they can check their tickets, but There are many issues I regard as internal only. Like bugs I don't want to share with normal users.
What about a setting (globally or maybe even per project): "Users can see: <their own issues|all issues in project>?

Sorry the post was truncated:
A setting
Users can see: own issues / all projext issues

currently that view does not work right for users. will have to fix this and consider the setting option.

Okay. I'll write a github entry and for all we talked about tonight.

This works but I think you should restrict the projects issue list too.
I think we should do this depending on the private/public flag of the project (which we already have). Since this flag already does something similar to the project itself.
Anyway I think it's necessary to prevent normal users from viewing all issues.

Create github issue for each  change, so it easy to manage. :)

ok. done.


add stellar cli update meeting notes

This PR adds the meeting notes from the developer meeting with Aha Labs, covering updates to the Stellar CLI

Preview is available here:http://developers-pr729.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr729.previews.kube001.services.stellar-ops.com

Preview is available here:http://developers-pr729.previews.kube001.services.stellar-ops.com


Describe all listings

Please describe all points in the container config e.g. for a unraid server.
There is no description how to set "(ADVANCED) Extra Startup Arguments:".
How to set up two or more startup arguments ?
Argument1, Argument2 or +Argument1, + Argument2 ?
And
Auto Maintenance and Auto Wipe, if the auto maintenance is set on and the auto wipe off,
"Automatically updates server/oxide and manages wipes. " -> Nevertheless wipes if auto maintenance is on ?
Is the wipe a complete wipe, a blueprint wipe or a map wipe ?
If i want only a map wipe ?

Hi there.

The auto maintenance basically updates oxide and server and if update is forced to wipe by rust themselves then server will wipe (normally every 3 months) .  Auto wipe let you set wipe intervals in days.
Auto wipe wipe everything including BP.
Will add an option so you can select what gets wiped.

Advanced argument is so you can set extra settings that is listed on the rust server arguments page. Example is (maxspawn 500) etc..

How do you mean more then 1 argument?  You can place lots of arguments in that field like (+maxspawn 500 +minspawn 50).
Hope these are the answers you are looking for.

the auto maintenance update the server and if necessary make a wipe of map and blueprints after the update. If the update don't need a wipe, it will not wipe
Auto wipe wipe independent from update
--->Now have I understood correctly?
ANSWER: Yes basically auto wipe is forced on server by yourself.
Can you please put in a function that it update the server but do not wipe after update ?
ANSWER: You can not disable update wipe.  This happens by the rust update Dev team and if they force a wipe update there is nothing we can do about it. Normally this happens if there is new features added into the game.
Some more question
If i want to select the map size, there are only the option of small, medium and large/massive, medium is 3500, large and massive are 6000. Can i put the size manually of 4000 ?
ANSWER: you can force your own map size via startup arguments as they take priority.
The Part Performance,
1 = Resource Friendly (Optimized)
2 = Original (Rust Default Settings)
3 = Competitive (Resource Gobbler)
What is changed if i choose 3 ?
ANSWER: Basically sets unlimited fps server side for best tick rate,  uses more network data to keep up with it. Better AI on NPC,  more spawns on animals,  just a nicer experience in game and better for pro shooters.
Banner URL
Can i upload and save a banner ?
ANSWER: Yes you can save a banner anywhere you like online or your own http server and place the http link in the http field.
Announce
Is there a way to Delay each announce separate ?
ANSWER: No.  Never thought that would be needed.
Log
Is there a way to Log all activity in a seperated file ?
ANSWER: Can you explain more on this please.
Hope these are the answers you are looking for.

Hi,
you can force your own map size via startup arguments as they take priority.
-> what are the Arguments ? and If i put them now of 4000 after the Server is already running with medium mapsize (3500), will the Server remove all Data or only resize the map and the Data of buildings, bases, and stuff from Players will remain ?
Log -> Something that log all Activity of the Server, who was when logged in, who, has written something

I will look into the log system for you see if I can split commands and errors and ingame chat in separate logs for you.
Map size will apply once the map has been deleted and recreated.

you can force your own map size via startup arguments as they take priority.
-> what are the Arguments ?
Can you put a Blueprint wipe to the settings ? Like a wipe cyle, only for blueprints?

I will add the options for wipe settings under extra settings.
The command should be +server.worldsize 2000
If for some reason that don't work then try -server.worldsize 2000
Don't forget the map must be deleted so it will I'll create the new map size

Close due to inactive


TN-1839 enforce unique constraint on QNR.identifier

WIP - don't merge yet!  Still needs migration to clean up duplicates.

Hello @pbugni! Thanks for submitting the PR.

In the file portal/views/assessment_engine.py, following are the PEP8 issues :

Line 893:80: E501 line too long (84 > 79 characters)
Line 895:80: E501 line too long (87 > 79 characters)


Edit: Sky Cinema Suspense HD

Channel ID (required)
SkyCinemaSuspenseHD.it
Channel Name
No response
Alternative Names
No response
Network
No response
Owners
No response
Country
No response
Subdivision
No response
City
No response
Broadcast Area
No response
Languages
No response
Categories
No response
NSFW
None
Launched
No response
Closed
No response
Replaced By
No response
Website
No response
Logo
No response
Notes
No response

??


[RM-20521] osd: add filestore flag in the prepare parser

Signed-off-by: Alfredo Deza<EMAIL_ADDRESS>

@alfredodeza I thought this was not necessary for the fix? The earlier one had actually fixed the issue?

@vasukulkarni nope, this was still part of the issue


Fix error response for API /api/1/get-project.

Issue
Resolve https://github.com/ossf/Project-Security-Metrics/issues/47
Changes

Add Error handling for package_url param.
Use application/json response in case of status 400 or 404.
Add auto test for /api/1/get-project
Change setting and install for test

Add testserver in ALLOWED_HOSTS
Install django-redis

Hi. I'm interested in this project and I made PR for #47 (Not support turning debug mode off). Could you please check it? @scovetta


(PUP-10105) puppet resource --to_yaml emits puppet class tags (minimal)

This is the minimal changes required to fix the PUP-10105 issue. Please see https://github.com/puppetlabs/puppet/pull/8726 for more details

jenkins please test this


Removing unused winrttest.cpp file

Related PR: https://github.com/Itseez/opencv/pull/3864

Merged


Handle TGC generation at runtime or via the maven overlay build?

There are certain TGC keys in cas.properties that are used for cookie encryption. Adopters are expected to generate new keys, but may forget to do so, or not care wrongly, as they are there by default defined to some static keys. Possible options around this issue:

Expect adopters to generate keys, and leave the keys blank. Build an approach into the overlay or something else that allows adopters to build keys at build-time.
Leave the keys blank by default. If blank, generate them automatically at runtime. Otherwise, use what's there and validate. This approach is problematic when dealing with multi-node CAS deployments, because every node could potentially end up creating different keys.
Same as #2, but generate a WARN entry in the logs noting the caveat.

We may want to also apply this to the webflow session encryption secret key as well.

Good point. Sure. I'll cook up something.
I am more inclined to auto-gen it, but issue a warning. We should also have instructions on how to generate it. It's simple, but may be hard to find it for non-devs.

Guess this might work: generate the key, WARN, and also output the generated keys saying: you should really copy this to all nodes if you are in HA.
I noticed boot does similar things when it wants to secure endpoints via basic authn. It generates a password and outputs that into logs for u to use. Same sort of idea.


Config at app level

Describe the problem
Currently, Config is at project level, this will cause issue if there are lot of config values. If each app has this table, it will be easy to maintain.
Steps to reproduce
NA
Tell us how to reproduce it
System configuration

Django version:
Python version:

This is the feature request.

This is out of scope of this app.


Intercepting transactions in DBCore middleware

I am trying to intercept all transactions going through DBCore using something like:
// middleware.ts
export function createMyMiddleware(dbCore: DBCore): DBCore {
  return {
    ...dbCore,
    transaction(req: DBCoreTransactionRequest): DBCoreTransaction {
      // Modify the transaction request here?
      console.log("transaction called")
      return dbCore.transaction(req);
    },
  };
}

export const myMiddleware: Middleware<DBCore> = {
  stack: "dbcore",
  name: "MyMiddleware",
  create: createMyMiddleware,
};

And then something like:
// index.ts
const db = new Dexie("databaseName");
db.use(myMiddleware);

db.version(1).stores({
  friends: "++id,name,shoeSize,address.city",
  other: "++id",
});

await db.open();

await db.table("friends").put({
  name: "Earthling",
  shoeSize: 10,
  address: {
    city: "Earth",
  },
});

await db.transaction("readwrite", ["friends"], async (tx) => {
  const friends = tx.table("friends");
  const friend = await friends.get({ name: "Earthling" });
  ++friend.shoeSize;
  await friends.put(friend);
  await db.transaction("readwrite", friends, async (tx) => {
    const id = await friends.add({
      name: "Martian",
      shoeSize: 6,
      address: {
        city: "Mars",
      },
    });
    const friend = await friends.get(id);
    friend.name = "Replaced";
    await friends.put(friend);
    await friends.delete(id);
  });
});

But no matter what I do, the modified transaction code is never run. I would like to modify the transaction to include additional (hidden) tables, or to piggyback on the existing transaction in some way. I've also played with doing this in the table's modify middleware, which does run when I expect it to, but I don't appear to be able to accomplish what I need there. The documentation for DBCore (https://dexie.org/docs/DBCore/DBCore) states that it "... covers more use cases, such as when a transaction is created..." which is pretty much exactly what I need/want. Any help intercepting transactions would be greatly appreciated!
Also, apologies for another DBCore question!
P.S. I am able to provide a self-contained example if that would help, though I suspect this is just something pretty simple I'm missing.

Transactions in dexie seems still be using IDB directly and can be overridden the "old" way, through overriding db._createTransaction(). I'm glad you are entering a new path here to detect incorrect docs. But it must be a bit frustrating to debug these things. Apologize for that.
db._createTransaction has been used by dexie-observable for quite a time and should cover your use case anyhow. The method is overridable the same way as _parseStoresSpec.

Not a problem, thanks for the help here!


[CodeCamp2023-504]Add a new script to support the WBF (Weighted Box Fusion) function in mmdetection.

Motivation
weighted boxes fusion (https://arxiv.org/abs/1910.13302 or https://www.sciencedirect.com/science/article/abs/pii/S0262885621000226) is a method for fusing predictions from different object detection models, which utilizes confidence scores of all proposed bounding boxes to construct averaged boxes. This PR aims to add weighted boxes fusion to mmdetection.
Modification
Add a .py file named wbf.py(mmdetection/mmdet/models/layers/wbf.py), modify mmdetection/mmdet/models/layers/init.py
Use cases (Optional)
The following is a use case for this PR.
from mmdet.apis import init_detector, inference_detector
from mmdet.utils import register_all_modules
from mmdet.registry import VISUALIZERS
from mmdet.models.layers import weighted_boxes_fusion
import mmcv

config_files = [
    './configs/faster_rcnn/faster-rcnn_r50_fpn_2x_coco.py',
    './configs/yolo/yolov3_d53_8xb8-320-273e_coco.py'
]

checkpoint_files = [
    './checkpoints/faster_rcnn_r50_fpn_2x_coco_bbox_mAP-0.384_20200504_210434-a5d8aa15.pth',
    './checkpoints/yolov3_d53_320_273e_coco-421362b6.pth',
]

register_all_modules()

img = mmcv.imread('demo/demo.jpg', channel_order='rgb', backend='pillow')

assert len(config_files) == len(checkpoint_files)

results = []

cfg_visualizer = object
dataset_meta = object

for i in range(len(config_files)):
    model = init_detector(config_files[i], checkpoint_files[i], device='cuda:0')
    result = inference_detector(model, img)
    results.append(result)
    if i == 0:
        cfg_visualizer = model.cfg.visualizer
        dataset_meta = model.dataset_meta

fusion_result = weighted_boxes_fusion(results, img_shape=img.shape)

visualizer = VISUALIZERS.build(cfg_visualizer)

visualizer.dataset_meta = dataset_meta

visualizer.add_datasample(
    'result',
    img,
    data_sample=fusion_result,
    draw_gt = None,
    wait_time=0,
)
visualizer.show()

Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMPreTrain.
The documentation has been modified accordingly, like docstring or example tutorials.

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

@Morty-Xu Thank you. We can provide a Python script in the "demo" folder where users can input multiple configurations and weights to perform inference on images and folders. Additionally, we can provide a script in "tools/analysis_tools" to test the dataset. Relevant documentation will be added to explain these functionalities.

Hi @Morty-Xu,
We'd like to express our appreciation for your valuable contributions to the mmdetection. Your efforts have significantly aided in enhancing the project's quality.
It is our pleasure to invite you to join our community thorugh Discord_Special Interest Group (SIG) channel. This is a great place to share your experiences, discuss ideas, and connect with other like-minded people. To become a part of the SIG channel, send a message to the moderator, OpenMMLab, briefly introduce yourself and mention your open-source contributions in the #introductions channel. Our team will gladly facilitate your entry. We eagerly await your presence. Please follow this link to join us: https://discord.gg/UjgXkPWNqA.
If you're on WeChat, we'd also love for you to join our community there. Just add our assistant using the WeChat ID: openmmlabwx. When sending the friend request, remember to include the remark "mmsig + Github ID".
Thanks again for your awesome contribution, and we're excited to have you as part of our community!


Happy Number

🚀 Feature
Happy Number
A number is called happy if it leads to 1 after a sequence of steps wherein each step number is replaced by the sum of squares of its digit that is if we start with Happy Number and keep replacing it with digits square sum, we reach 1.
For example, 32 is a happy number as the process yields 1 as follows
3^2 + 2^2 = 13
1^2 + 3^2 = 10
1^2 + 0^2 = 1
Have you read the Contributing Guidelines on Pull Requests?
yes
Languages Supported :

C :
CPP :
Python : @salonishah01
Java : @rishigarg94
JavaScript :
C# :
GO :

I would like to work on this in python

i would like to work on it in java or pyhton

i have done submitting a pr on this issue for java code , please review it

@iamrajiv  sir please review my PR

@rishigarg94 Assigned in Java.
@salonishah01 Assigned in Python.

@atarax665 can you please assign this to me in cpp

@atarax665  i have submitted happy number code PR in java, can you please review it.thanks

I would like to work on this in C. Would you please assign it to me?

Assigned in CPP : @aditya-gite-04
Assigned in C : @arnab031
Happy Coding.

I would like to work on this in c++


Copy or clone method for SelectoBuilder

Hello, first of all, thanks for this library. This is an amazing work!
My question is: is there any way I can clone or copy a SelectorBuilder?
I have a list of these, and all I can get is the reference of these objects. I have tried several ways, but dart has no easy way to clone objects unless its already instantiated in the class.
I have post a question related to this problem in SO with no luck.

#21 added

I close this issue. Feel free to re-open it if needed.


Iterate values generated from Cgo with iter.Pull:
package main

/*

extern void go_yield(int);

static void native_iterate(void) {
  go_yield(5);
}
*/
import "C"
import "fmt"
import "iter"

var globalYield func(int) bool

//export go_yield
func go_yield(v C.int) {
	globalYield(int(v))
}

func main() {
	next, stop := iter.Pull(func(yield func(int) bool) {
		globalYield = yield
		C.native_iterate()
	})
	defer stop()
	for {
		v, ok := next()
		if !ok {
			break
		}
		fmt.Println("got from C: %d\n", v)
	}
}

What did you see happen?
$ go run .
coro: got thread 0x102a5f120, want 0x0
coro: got lock internal 1, want 0
coro: got lock external 0, want 0
fatal error: coro: OS thread locking must match locking at coroutine creation

runtime stack:
runtime.throw({0x10299dc8d?, 0x10293adf8?})
	/Users/a/proj/goroot/src/runtime/panic.go:1027 +0x38 fp=0x16d501de0 sp=0x16d501db0 pc=0x102961608
runtime.coroswitch_m(0x16d501f80?)
	/Users/a/proj/goroot/src/runtime/coro.go:125 +0x46c fp=0x16d501e60 sp=0x16d501de0 pc=0x1029004ec
runtime.mcall()
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:193 +0x54 fp=0x16d501e70 sp=0x16d501e60 pc=0x1029649d4

goroutine 35 gp=0x140001028c0 m=0 mp=0x102a5f120 [running, locked to thread]:
runtime.coroswitch(0x0?)
	/Users/a/proj/goroot/src/runtime/coro.go:91 +0x4c fp=0x140001424d0 sp=0x140001424b0 pc=0x10295f26c
iter.Pull[...].func1.1()
	/Users/a/proj/goroot/src/iter/iter.go:71 +0x6c fp=0x14000142510 sp=0x140001424d0 pc=0x1029944cc
main.go_yield(...)
	/Users/a/proj/gio/callback.go:19
_cgoexp_fcbcb787d322_go_yield(0x14000142588?)
	_cgo_gotypes.go:56 +0x30 fp=0x14000142530 sp=0x14000142510 pc=0x102993f40
runtime.cgocallbackg1(0x102993f10, 0x16d501f60, 0x0)
	/Users/a/proj/goroot/src/runtime/cgocall.go:428 +0x218 fp=0x14000142600 sp=0x14000142530 pc=0x1028fe288
runtime.cgocallbackg(0x102993f10, 0x16d501f60, 0x0)
	/Users/a/proj/goroot/src/runtime/cgocall.go:347 +0xf4 fp=0x14000142650 sp=0x14000142600 pc=0x1028fdfe4
runtime.cgocallbackg(0x102993f10, 0x16d501f60, 0x0)
	<autogenerated>:1 +0x1c fp=0x14000142680 sp=0x14000142650 pc=0x102968b9c
runtime.cgocallback(0x140001426f8, 0x102993d90, 0x1029945b0)
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:1131 +0xb0 fp=0x140001426b0 sp=0x14000142680 pc=0x102966e50
runtime.systemstack_switch()
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:201 +0x8 fp=0x140001426c0 sp=0x140001426b0 pc=0x1029649e8
runtime.cgocall(0x1029945b0, 0x14000142738)
	/Users/a/proj/goroot/src/runtime/cgocall.go:176 +0x70 fp=0x14000142700 sp=0x140001426c0 pc=0x10295f030
main._Cfunc_native_iterate()
	_cgo_gotypes.go:45 +0x30 fp=0x14000142730 sp=0x14000142700 pc=0x102993d90
main.main.func1(0x0?)
	/Users/a/proj/gio/callback.go:25 +0x44 fp=0x14000142740 sp=0x14000142730 pc=0x102993ee4
iter.Pull[...].func1()
	/Users/a/proj/goroot/src/iter/iter.go:75 +0x104 fp=0x140001427a0 sp=0x14000142740 pc=0x102994414
runtime.corostart()
	/Users/a/proj/goroot/src/runtime/coro.go:71 +0x50 fp=0x140001427d0 sp=0x140001427a0 pc=0x102900010
runtime.goexit({})
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140001427d0 sp=0x140001427d0 pc=0x102966f44
created by iter.Pull[...] in goroutine 1
	/Users/a/proj/goroot/src/iter/iter.go:59 +0x110

goroutine 1 gp=0x140000021c0 m=nil [coroutine]:
runtime.coroswitch(0x14000088ea8?)
	/Users/a/proj/goroot/src/runtime/coro.go:91 +0x4c fp=0x14000088e80 sp=0x14000088e60 pc=0x10295f26c
iter.Pull[...].func2()
	/Users/a/proj/goroot/src/iter/iter.go:91 +0x7c fp=0x14000088ed0 sp=0x14000088e80 pc=0x1029942ac
main.main()
	/Users/a/proj/gio/callback.go:29 +0xb0 fp=0x14000088f40 sp=0x14000088ed0 pc=0x102993e60
runtime.main()
	/Users/a/proj/goroot/src/runtime/proc.go:271 +0x288 fp=0x14000088fd0 sp=0x14000088f40 pc=0x102930b58
runtime.goexit({})
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000088fd0 sp=0x14000088fd0 pc=0x102966f44

goroutine 18 gp=0x140000aa380 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/Users/a/proj/goroot/src/runtime/proc.go:402 +0xc8 fp=0x14000070790 sp=0x14000070770 pc=0x1029616e8
runtime.goparkunlock(...)
	/Users/a/proj/goroot/src/runtime/proc.go:408
runtime.forcegchelper()
	/Users/a/proj/goroot/src/runtime/proc.go:326 +0xb8 fp=0x140000707d0 sp=0x14000070790 pc=0x102930e08
runtime.goexit({})
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000707d0 sp=0x140000707d0 pc=0x102966f44
created by runtime.init.6 in goroutine 1
	/Users/a/proj/goroot/src/runtime/proc.go:314 +0x24

goroutine 19 gp=0x140000aa540 m=nil [GC sweep wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	/Users/a/proj/goroot/src/runtime/proc.go:402 +0xc8 fp=0x14000070f60 sp=0x14000070f40 pc=0x1029616e8
runtime.goparkunlock(...)
	/Users/a/proj/goroot/src/runtime/proc.go:408
runtime.bgsweep(0x140000ba000)
	/Users/a/proj/goroot/src/runtime/mgcsweep.go:277 +0xa0 fp=0x14000070fb0 sp=0x14000070f60 pc=0x10291d260
runtime.gcenable.gowrap1()
	/Users/a/proj/goroot/src/runtime/mgc.go:203 +0x28 fp=0x14000070fd0 sp=0x14000070fb0 pc=0x1029114c8
runtime.goexit({})
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x14000070fd0 sp=0x14000070fd0 pc=0x102966f44
created by runtime.gcenable in goroutine 1
	/Users/a/proj/goroot/src/runtime/mgc.go:203 +0x6c

goroutine 20 gp=0x140000aa700 m=nil [GC scavenge wait]:
runtime.gopark(0x140000ba000?, 0x1029ba0a8?, 0x1?, 0x0?, 0x140000aa700?)
	/Users/a/proj/goroot/src/runtime/proc.go:402 +0xc8 fp=0x14000071760 sp=0x14000071740 pc=0x1029616e8
runtime.goparkunlock(...)
	/Users/a/proj/goroot/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x102a5e9a0)
	/Users/a/proj/goroot/src/runtime/mgcscavenge.go:425 +0x5c fp=0x14000071790 sp=0x14000071760 pc=0x10291ac5c
runtime.bgscavenge(0x140000ba000)
	/Users/a/proj/goroot/src/runtime/mgcscavenge.go:653 +0x44 fp=0x140000717b0 sp=0x14000071790 pc=0x10291b1a4
runtime.gcenable.gowrap2()
	/Users/a/proj/goroot/src/runtime/mgc.go:204 +0x28 fp=0x140000717d0 sp=0x140000717b0 pc=0x102911468
runtime.goexit({})
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000717d0 sp=0x140000717d0 pc=0x102966f44
created by runtime.gcenable in goroutine 1
	/Users/a/proj/goroot/src/runtime/mgc.go:204 +0xac

goroutine 34 gp=0x14000102700 m=nil [finalizer wait]:
runtime.gopark(0x140000745b8?, 0x1029622c8?, 0x8?, 0x0?, 0x1029c6580?)
	/Users/a/proj/goroot/src/runtime/proc.go:402 +0xc8 fp=0x14000074580 sp=0x14000074560 pc=0x1029616e8
runtime.runfinq()
	/Users/a/proj/goroot/src/runtime/mfinal.go:193 +0x108 fp=0x140000747d0 sp=0x14000074580 pc=0x1029105b8
runtime.goexit({})
	/Users/a/proj/goroot/src/runtime/asm_arm64.s:1223 +0x4 fp=0x140000747d0 sp=0x140000747d0 pc=0x102966f44
created by runtime.createfing in goroutine 1
	/Users/a/proj/goroot/src/runtime/mfinal.go:163 +0x80
exit status 2

What did you expect to see?
The equivalent https://github.com/golang/go/issues/65946 was closed as fixed, and the fix, https://go-review.googlesource.com/c/go/+/583675 does mention

Specifically, when iter.Pull is used in
conjunction with thread-locked goroutines, complex cases (passing next
between goroutines or passing yield between goroutines) are likely to
fail. Simple cases, where any number of iter.Pull iterators are used in
a straightforward way (nested, in series, etc.) from the same
goroutine, will work and will be guaranteed to be fast regardless of
thread-lock state.

Note that the error is at the very least confusing because there is no explicit thread locking involved (LockOSThread) in the above program. I realize using iter.Pull with Cgo may not be covered by "simple cases", in which case I worry about the "may" in the later mention

This is a compromise for the near-term and we may consider lifting the
restrictions imposed by this CL in the future.

In other words, I believe the above program should work in a future Go version, in which case this issue tracks the implementation.

cc @golang/compiler

Thanks for filing this tracking issue. You're right that this is an unfortunate and rather hidden limitation of the current approach, though we hope that people won't run into this very often.
We do have a rough idea of how to fix this that would also probably improve the performance of cgo code. The key observation is that, while the C code needs to run on the same thread if you call back into C or return to C, the Go code itself does not. So, the idea is that we do a "half" OS thread lock on a C -> Go call.  That way, if it very quickly returns or calls back into C, you don't pay the cost of moving threads. But if it blocks or runs for a long time in Go, the scheduler can move it around to make within-Go transitions cheap. When you transition back to C (either by returning or calling), at that point we make sure we're running on the original thread by switching back to it if we aren't already running on it.

You're right that this is an unfortunate and rather hidden limitation of the current approach, though we hope that people won't run into this very often.

FWIW, I ran into this :) As far as I can tell, both https://github.com/golang/go/issues/64755 and https://github.com/golang/go/issues/64777 can be closed in favor of an elegant range-func construction:
import "gioui.org/app" // Calls LockOSThread during init, as required by the platform.

func main() {
        w := new(app.Window)
        for _, e := range w.Events() {
             // Respond to e, usually by redrawing window content.
        }
}

even on the platforms where w.Events starts and run a native event loop. The caveat is that the user cannot exit the loop (e.g. break), because the native event loop is in general uncooperative: once started, it cannot be stopped nor paused[0].
The workaround is to introduce a singleton intermediate iter.Pull iterator to suspend the native main event loop and return to the user. Without a fix for this issue, however, yield'ing from the native event loop to the intermediate iterator panics. The same happens if the user attempts to use their own iter.Pull with w.Events.
[0]: For example, the iOS UIApplicationMain function must be called from the main thread and blocks forever.


Fix grammar mistake

This Pull Request addresses a grammatical error in the file build/lib/tsb/builder.ts. Specifically, the typo UNKNWON_FILE_ was corrected to UNKNOWN_FILE_.
Changes Made:
Corrected the typo UNKNWON_FILE_ to UNKNOWN_FILE_ in build/lib/tsb/builder.ts.

@microsoft-github-policy-service agree

How did you find it?

By looking of source code.


https://github.com/fabric8io/fabric8/issues/4143 lets allow rooms to be created on startup using an env var and passing them into both hubot-letschat and letschat as env vars

https://github.com/fabric8io/fabric8/issues/4143 lets allow rooms to be created on startup using an env var and passing them into both hubot-letschat and letschat as env vars

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/568/
Test PASSed.

merged


Devise

Blog app: add device

Remove current_user method in ApplicationController, devise will provide us with one.
Install and set up the device.
Can register a new user.
User logs in with a combination of email and password.
Hashed password should be stored in the database.
Ask for confirmation of email.
Can reset password.
Add basic style to the project.

Thank you for your kind review❄😄👍✔

thank you :)


Update prerequisites in README

hiredis >= v1.0.0 is needed for successful builds and
the Perl module JSON is needed to run simulated redis tests.

Btw, are you sure Perl JSON is required to build? I think you can even build the tests, but you cannot run the tests without it.

Absolutely right, moved Perl JSON as prerequisites for tests.


AttributeError: 'str' object has no attribute 'append'

Problem Description
Cannot launch spyder under anaconda.
The spyder worked well on my laptop before. However, one day I restarted my laptop, it doesn't work anymore and I got the following error message. So I uninstall and install spyder using conda. This cannot help. Then I uninstall and reinstall anaconda, still cannot solve the problem. Of course, I restarted my laptop several times but nothing changed.
What steps reproduce the problem?

install the anaconda in win10
start 'anaconda prompt'
start 'spyder' in  'anaconda prompt'

What is the expected output? What do you see instead?
I'm supposed to launch the software but cannot launch it and got an error message.
Paste Traceback/Error Below (if applicable)

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\Scripts\spyder-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\start.py", line 186, in main
    from spyder.app import mainwindow
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 117, in <module>
    from spyder.utils.qthelpers import qapplication, MENU_SEPARATOR
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\qthelpers.py", line 26, in <module>
    from spyder.config.gui import get_shortcut
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\config\gui.py", line 168, in <module>
    set_default_color_scheme(_name, replace=False)
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\config\gui.py", line 164, in set_default_color_scheme
    set_color_scheme(name, sh.get_color_scheme(name), replace=replace)
  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\config\gui.py", line 157, in set_color_scheme
    names.append(to_text_string(name))
AttributeError: 'str' object has no attribute 'append'

Versions

Spyder version: 3.3.6
Python version: 3.7.4
Qt version: 5.9.7
PyQt version: 5.9.2
Operating System name/version: Windows10

Dependencies

PASTE DEPENDENCIES HERE

Please open the Anaconda Prompt, run there:
spyder --reset

and try again. That should fix your problem.

Hi Carlos,
Thank you very much for your reply. I tried the command but still got the same error message.
(base) C:\Users\Yaping>spyder --reset
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\Scripts\spyder-script.py", line 10, in
sys.exit(main())
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\start.py", line 200, in main
from spyder.app import mainwindow
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 117, in
from spyder.utils.qthelpers import qapplication, MENU_SEPARATOR
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\utils\qthelpers.py", line 26, in
from spyder.config.gui import get_shortcut
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\config\gui.py", line 168, in
set_default_color_scheme(_name, replace=False)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\config\gui.py", line 164, in set_default_color_scheme
set_color_scheme(name, sh.get_color_scheme(name), replace=replace)
File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\config\gui.py", line 157, in set_color_scheme
names.append(to_text_string(name))
AttributeError: 'str' object has no attribute 'append'
Could you give more suggestions on how to solve this issue?

Please then remove the .spyder-py3 directory placed in C:\Users\Yaping\

Hi Carlos,
Thank you very much. It works!


Dialog box for Outlook Add-In On Send

I currently have a function which is called when the sent button is pressed, so I am able to get the fields I require. The purpose of the add-in is log emails which need to be recorded for financial rules.
What I'm trying to do is add a dialog box when send is pressed asking if they need to log that particular email. I've looked at the dialog samples but they aren't overly helpful for running on Events.
When the MessageSent function is called I've even tried calling a separate dialog box:
function ShowDialog() {     var dialog;     Office.context.ui.displayDialogAsync('/Dialog.html', { height: 30, width: 20 },         function (asyncResult) {             dialog = asyncResult.value;             dialog.addEventHandler(Office.EventType.DialogMessageReceived, processMessage);         }     ); }
Has anyone got this kind of email sending confirmation to work?
Essentially I need this but with different text:

Hi, do you have soloution for it? i'm looking for such the same case. regards

You would get better results asking your question on Stack Overflow with the office-addins tag.
https://stackoverflow.com/questions/tagged/office-addins


App support

I can’t get wire pod to work with the app. It says Vector can’t connect to the internet even though he is. Is this a side effect of using wire pod or is it because I came from the escapepod? If it is wire pod, will it ever support the Vector app?

So I can use the Vector iOS app without any problems.

With an OSKR/Dev bot the app should work fine. But there is no app for the escape pod OTA yet, so it won't work with production robots on the escape pod OTA.

With an OSKR/Dev bot the app should work fine. But there is no app for the escape pod OTA yet, so it won't work with production robots on the escape pod OTA.

So for me the app works without problems with a production Vector.

It might be because I went straight to wire pod instead of returning to prod servers. Normally you have to clear user data, but I did not do that when migrating.

You were on the escape pod OTA and went directly to wire-pod? If so then that would be the reason.

Yeah that is the case. If I where to follow returning to prod servers instructions and then reset up vector with wire pod would the app begin working again.

So I reset Vector back to prod and then moved him to wire-pod and everything worked fine.


[oap-native-sql] should follow upstream design on AQE

https://issues.apache.org/jira/browse/SPARK-32332

[ ] columnar shuffle
[ ] columnar BHJ
[x] columnar wscg

@xuechendi let's use this issue id for the columnar wscg refactor

https://github.com/Intel-bigdata/OAP/pull/2061


Adding new provider

Much better!

@jamcat22 ... thanks

@jamcat22  . can you please tell me that , when i can see this update on website
https://twofactorauth.org/providers/

@anishmenon How does it work using "software"? If it works using missed calls, where does software come in?

@mxxcon  it provides an android library which can be integrated on client side for automated authentication , fetch user location , device details etc .
https://github.com/cognalys/cognalys-android-library

@anishmenon After the pull request is accepted, it can take about a week for it to show up on the website after we review the recent submissions.

@jamcat22  . thanks for the ino :+1:

How is a missed call a second factor (knowledge, inherence, or possession)?

^

@smholloway I guess the way it works is that their system calls your verified phone number with last 4 digits of the caller being used as OTP.

I tried the "demo" they provide using multiple numbers but didn't get a call. Are we still to add it if it doesn't work?

@Carlgo11 . its works here . friend

@mxxcon you are right .

Worked for me. Got a call that immediately hung up and entered last 4 numbers of phone number that called.

@jamcat22  :100:

Dear @jdavis  . Any update on this . ?

@anishmenon it will happen when it'll happen. Have patience. This is a volunteer project and people work on it when they can/want. Your changes have not been merged yet.

"@anishmenon After the pull request is accepted, it can take about a week for it to show up on the website after we review the recent submissions." - @jamcat22


BREAKING: all default Send* and Send*Error functions to have the same…

Per: https://github.com/go-fuego/fuego/discussions/162#discussioncomment-10367657
Squaring up all these signatures.

seems coveralls is having some problems 🤷

I agree with you a type alias for would make good sense here.

@ccoVeille thanks for the feedback and great idea.

@ccoVeille thanks for the feedback and great idea.

You are welcome

Added one more commit adding function SendTextError, SendHTMLError, and SendYAMLError


set jsonld @context to http://schema.org

Current version breaks (at least for google interpreter, see e.g. https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fwww.research-software.nl%2Fsoftware%2Fxenon ).
https://www.w3.org/TR/json-ld/#the-context doesn't mention an array as @context.
Examples @ https://github.com/codemeta/codemeta/tree/master/examples are not so clear to me either.
So I'm confused, at least these modifications seem to be okay according to the Google interpreter - but I guess CodeMetas schema additions are not picked up in this way.

Hey Tom, thanks for this. The issue is similar to what was discussed here https://github.com/citation-file-format/cff-converter-python/issues/30. Not entirely sure what is the best way to proceed. Maybe we should just split the current export as_codemeta() method into an export as_schema_dot_org() and an export as_codemeta()?

Sorry Tom, I decided to cancel this PR. But I made an issue #66 instead that advocates exporting as linked data, with the schema as an argument. Possibly, this means we'll make as_codemeta a 'private' method and add an _as_schema_dot_org, also as a private method.


🪲[Bug]: Override of PowerShellVersion is not taken into account

Describe the bug
The module build is not using the overrided (5.1) PowerShellVersion but is setting the default 7.4
Version information
v3
To reproduce
Define PowerShellVersion in manifest.psd1
Code snippet
@{
    # Minimum version of the PowerShell engine required by this module
    PowerShellVersion    = '5.1'
}

Relevant output
Link of the Action:
https://github.com/webalexeu/PSWinBGP/actions/runs/11684684422

First off, big thank you for using the framework! Its awesome to see that it works well to run from a remote organization using the public reusable workflow and actions. Would be happy to discuss with you what you like with it and what you want to see improved on it.
I might loose you as a user of the framework here though; The behavior your are seeing is expected on v3 of the framework, the reasons can be found on the profile page of PSModule. All functionality that supported development of 5.1 should have been removed, if its not it will be at one point.
Leaving the issue open for a week in case you want to discuss this, I'm happy to hear if my assumptions are wrong regarding side-by-side installation of powershell on production servers or IT pro/developer machines.

Hello @MariusStorhaug ,
I was expecting to be able to still override this value if the module behind is working for both version (which is the case here)
I fully understand the direction to move to 7 but what will prevent the framework to just let the value to be overidden?
Thank you for your quick answer

I agree that the override should still be possible. Let me have a look at how quickly I can re-add that.

Deeper review of logs:

I see that the override still is taken into consideration on Build-PSModule step. Log link
The issue seems to be in the test summary Log link

Root cause is likely here: https://github.com/PSModule/Process-PSModule/blob/main/.github/workflows/workflow.yml#L388

Remains to be seen if this fixes it. The framework also touches the manifest in Publish-PSModule to set the module version, but shouldn't touch the other metadata.


Improve how the sublicense text is written in the license

Description
Added "who are" in the sublicense wording in the license.md for clarity.

Motivation & Context
It sounds more fluid

Type of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Refactoring (non-breaking change)
[ ] Breaking change (fix or feature that would change existing functionality)

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
[ ] My change introduces changes to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] All new and existing tests passed

Live previews

Related issues

Thanks for the PR. IMHO, whether or not it sounds more fluid depends on personal preference. Both versions are grammatically correct, and the original sentence is already clear. We'll pass on this modification.


⚠ captana.io | API has degraded performance

In f562de6, captana.io | API ($CAPTANAIO_API_BACKEND_CHECK) experienced degraded performance:

HTTP code: 200
Response time: 2901 ms

Resolved: captana.io | API performance has improved in 2462d1a.


Private configuration via .env rather than a json file

Private configuration, e.g. the bot's discord token, should be configurable via an .env file, which will automatically be picked up and loaded by pipenv on start-up.

Done via dae861e39cc80c7c76eda4c8c06f744f47d399fa.


feat: HW specification of typical deployments

Added typical (hardware) specification for production and testing deployments.

LGTM

LGTM


修改README.md中的错误文案

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


Cake4

DO NOT MERGE
Still need to update tests, update docs, etc

initial spark from https://github.com/adayth/cakephp-cipher-behavior/issues/5

@angelxmoreno thanks for your pull request.
The update seems ok to me. Just finish with the tests and I will create a new 2.0.0 tag for this cakephp 4 compatible release.


Meta & SEO

Context
Should provide correct and up-to-date sitemap.xml, and configure / fix all issues from Google Search Console
### Tasks
- [x] Strategy for handle multi-lang indices. Refer to [Tell Google about localized versions of your page](https://developers.google.com/search/docs/specialty/international/localized-versions?hl=en&ref_topic=2370587&visit_id=638290711518879069-151931400&rd=2)
- [ ] https://github.com/sveltevietnam/sveltevietnam.dev/issues/85

Sitemap implemented in https://github.com/sveltevietnam/sveltevietnam.dev/commit/ea4f86c1010e75501e4fcb66b61faa60e71ed410

closing for now, revisit when necessary


Expo-less environment

What exactly does this library depend on from Expo? We don't use Expo and can't use this library as is.

Hey @liambutler-lawrence.  This uses Expo's module api https://docs.expo.dev/modules/module-api/ which makes building native views super easy. Also, expo is now recommended for all new projects. It depends on expo modules core, which should be relatively easy to add even if you aren't fully using expo, but im not too familiar with that.

Not sure if you're able to do this easily, but the setup for adding expo modules to a non expo project can be found here https://docs.expo.dev/bare/installing-expo-modules/


How to get a paginated collection object of Customers?

The following code is based on the pagination example in the readme, the main difference being that this is attempting to find customers rather than products.
In the list_next function i get:  NoMethodError (undefined method `next_page?' for #<Array:0x00007fb956aafef8>):
bundle info gives shopify_api (9.1.0), shopify_app (13.2.0), rails (<IP_ADDRESS>)
in my config/initializers/shopify_app.rb, config.api_version = "2020-04"
class Api::CustomersController < AuthenticatedController
    def list
        @customers = ShopifyAPI::Customer.find(:all, params: { limit: 10 })
        session[:customers] = @customers
        render json: @customers
    end
    def list_next
        @customers = session[:customers]
        if @customers.next_page?
            @customers = @customers.fetch_next_page
        else
            @customers = []
        end
        render json: @customers
    end
end

Store customers.next_page_info in session and pass that to the .find API.

Closing this as it doesn't look to be an actual issue with the API code, and the next_page_info suggestion would be the right call, as per the example in README:
  first_batch_products = ShopifyAPI::Product.find(:all, params: { limit: 50 })
  second_batch_products = ShopifyAPI::Product.find(:all, params: { limit: 50, page_info: first_batch_products.next_page_info })


Added netcat Binary and changed the dockerfile

Adding netat binary for hermetic Builds

@tommyd450 closing this for now


Add support for block

afaict it can be merged. ping @narimiran

All CI failures seem unrelated. Can this be merged?


M> Translate style_guide_assets/presentations/README.md to Greek

Measure of Completion: 100%

[x] Create the file README_GR.md
[x] Translate the content: 100%

[x] @ICA3DaR5: 40%

[x] @zero-andreou: 30%

[x] @thiefinshadows: 30%

[x] Review each other's work
[x] Check the spelling
[x] Have it reviewed by others with knowledge of English and Greek

Suggested Budget: $10

This has been completed too!


Reapply "Include operator certificates in application trust store" [run-systemtest]

Reverts vespa-engine/vespa#17975

@bjorncs please verify last commit


[BUG] AttributeError: module 'numpy' has no attribute 'printoptions'

I am trying to run the following example.
import mars.tensor as mt
N = 200_000_000
a = mt.random.uniform(-1, 1, size=(N, 2))
print(((mt.linalg.norm(a, axis=1) < 1)
        .sum() * 4 / N).execute())

And I get the following error.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<timed exec> in <module>

~/venv/ENVMARS/lib/python3.7/site-packages/mars/core.py in __str__(self)
    124
    125     def __str__(self):
--> 126         return self._data.__str__()
    127
    128     def __repr__(self):

~/venv/ENVMARS/lib/python3.7/site-packages/mars/tensor/core.py in __str__(self)
    174
    175     def __str__(self):
--> 176         return self._to_str(representation=False)
    177
    178     def __repr__(self):

~/venv/ENVMARS/lib/python3.7/site-packages/mars/tensor/core.py in _to_str(self, representation)
    169             # if not, set to corner_data.size - 1 make sure ... exists in repr
    170             threshold = threshold if self.size <= threshold else corner_data.size - 1
--> 171             with np.printoptions(threshold=threshold):
    172                 corner_str = repr(corner_data) if representation else str(corner_data)
    173             return corner_str

AttributeError: module 'numpy' has no attribute 'printoptions'

Python version = Python 3.7.6
The version of Mars you use = '0.6.0a1'
Versions of crucial packages, such as numpy == 1.19.1, scipy == 1.4.1

I tried uninstall and reinstall of numpy, but I did get the same issue.

Could you please run import numpy; print(numpy.__version__) please to see the exact numpy version.

@qinxuye my Jupyter had a cache issue with NumPy installation. It picked an older version.
with 1.19.1 I don't get the issue. I got this issue with the 1.4.x version.
It is resolved. Thank You.


security: XSS vulnerability

XSS/Cross Site Scripting Vulnerability
Vulnerability: XSS
Severity: VERY HIGH
Image: pawelmalak/snippet-box:arm
Digest: sha256:ba9245cc339d159588c76b33f0ae708f5c1af68a27f876561b8b84ed5b8ee288
Why this is a problem: Snippet-box doesn't have authentication, allowing anyone to perform this attack. Furthermore, if Snippet-box is running on a domain which is used by other services, e.g. Nextcloud, then an attacker could potentially be able to perform a lateral move via extracting local storage; obtaining authentication tokens. Alternatively, one could perform CSRF, even if "same site cookies" are enabled, depending on the service, account take over may be possible due to XSS on the same domain.
Proof of Concept

Create new snippet.
Set the snippet content to:

HTML is being rendered

WARNING XSS

Copy "raw url"
Navigate within a browser

Result

Cause
The cause to this vulnerability due to the raw snippet route setting content-type to text/html.
Resolution
Follow both steps.

Set content-type to text/plain.
Set header X-Content-Type-Options: nosniff.

Responsible disclosure statement: I was unable to find emergency contact information for reporting security concerns in private, as a result this issue has been created.

This sounds like a job for a reverse-proxy.

For the time being it may be an appropriate temporary patch, but certainly not a permanent one.


Refactoring Config and Metrics

Coverage increased (+0.1%) to 80.293% when pulling b64be396bde63403864cc09e9bd1a02791da7ed0 on refactor/use-existing-dir-in-config into c71c62e9bc799fef7729b80d0e7fa8efba470711 on master.

Coverage decreased (-0.1%) to 80.079% when pulling 8be25edaa078e639ac9b1509595e7ebc5a0a9e70 on refactor/use-existing-dir-in-config into c71c62e9bc799fef7729b80d0e7fa8efba470711 on master.

Coverage increased (+0.1%) to 79.462% when pulling a649c2937f5162df3f2a6880c81086cd4a4e7a17 on refactor/use-existing-dir-in-config into 6070e34ffcc9a3947633b8f7e42095a5ae2c4482 on master.


Update REST endpoint documentation

NIFI-2237:

Updating Rest Endpoint documentation specifically regarding access policies.
Ensuring the resource listing is accurate.
Removing unnecessary code.

This PR is part 1 of the overall effort required for NIFI-2237.

Reviewing...

I'm a +1 once the comments above are addressed, let me know if you want me to merge it in after you make any updates

Thanks @bbende! I addressed all the command and went ahead and merged.


When I save a tensorflow session in windows the file(e.g 1.ckpt.data-00000-of-00001) size becomes around 1.9 GB whereas in linux it is around 270 MB. The file generated in windows gives 2% accuracy(supposed to be 82%) when restored in testing.  So the weights are not getting saved properly and many extra info gets stored in Windows I think.  Kindly help to solve the problem in Windows.

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

System information
-Not custom code
-windows server 2016 essentials
-python 3.6.5
-jupyter notebook 5.5.0
-tensorflow 1.2.0

I have used tf.train.Saver().restore(sess, "1.ckpt") to restore and for saving the model I have used tf.train.Saver().save(sess, "./model/"+str(epoch)+".ckpt")

I have used tf.train.Saver().restore(sess, "1.ckpt") to restore and for saving the model I have used tf.train.Saver().save(sess, "./model/"+str(epoch)+".ckpt")

Any update on this?

Nagging Assignee @cy89: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@ani31101993 Tensorflow 1.2.0 is pretty old. Can you please see if your program continues with a more recent version?

It has been 17 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 34 days with no activity and the awaiting response label was assigned. Is this still an issue?

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks!


Default/global EntityListener

How can I associate a default EntityListener to all classes?
Use case: the need of a @PrePersist method to be called before every save() when extending every class isn't affordable.

Can you post to the mailing list?  We can walk through this there.


Remove Docker support? Builds fail with 'Service is in unknown state'

Issue Type

Bug Report

Your Environment
Docker Hub Build Environment
Your OS

Linux

Full console output
TASK [geerlingguy.postfix : Ensure postfix is started and enabled at boot.] ****
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Service is in unknown state", "status": {}}

Summary

Well, at least for the past day or so.

This seems potentially related: https://github.com/ansible/ansible/issues/71528

https://molecule.readthedocs.io/en/latest/examples.html -> have a look at the config here. I was getting the same error, trying to test a role that incorporated your PHP role, but following the example resolved the problem.

I made a workaround for this systemd issue in https://github.com/ansible/ansible/pull/72337.

This ain't stale, partner.

Well the build on Docker Hub is currently failing because the Debian 10 image build is currently failing due to a new dep on Rust in the Python cryptography package: https://github.com/pyca/cryptography/issues/5771
Fun.
Workaround is to force-upgrade Pip from the system package version, so YOLO I guess.

Still failing.

At least the error is reproducible locally:
#9 34.06 TASK [geerlingguy.postfix : Ensure postfix is started and enabled at boot.] ****
#9 34.30 fatal: [localhost]: FAILED! => {"changed": false, "msg": "Service is in unknown state", "status": {}}

You can not remove docker, but replace it with podman
https://github.com/korzh-nick/drupal-vm/tree/podman


Sequence of parameters shouldn't matter

and if it does, then it should be documented.
Just wasted couple hours figuring-out that: while the following doesn't work (and didn't give any helpful debugging info):
consul://localhost:8500 -resync 10 -ip {{inventory_hostname}}

apparently, this was a total winner:
 -resync 10 -ip {{inventory_hostname}} consul://localhost:8500

Whether the maintainers decide to:

Ignore it and file under "don't care"
Semi-ignore it and just add to the FAQ or documentation
Fix it in the code (most Unix programs don't care about sequence of options and parameters)

I hope that this issue being filed and existing, will surface in Google search and potentially save somebody else hours of frustration.
More seriously though: many thanks for a very useful tool (once I figured it out).
Irakli

+1

Thanks Irakli! :-)

Yeah, this seems to have caused a bit of confusion. Go's flag module requires all options to come before any non-option positional arguments. This isn't uncommon for Unix commands, though I'll update it to exit with a usage message if we receive additional unexpected arguments.


Not able to access choerodon

I'm not able to run npm install instead i did yarn install and yarn start. After Build sucessfully How to access the choerodon front?
I'm not able to find the One click setup in the documentation.
📦  building modules (10990/10991 modules)DEPRECATION WARNING on line 24 of<EMAIL_ADDRESS>The operation #3F51B5 minus #0f1216 is deprecated and will be an error in future versions.
Consider using Sass's color functions instead.
http://sass-lang.com/documentation/Sass/Script/Functions.html#other_color_functions
📦  building modules (10994/10994 modules)Extracted theme color css content length: 27553
webpack: bundle build is now finished.
DONE  Compiled successfully in 202191ms                                                                                12:58:36 PM

what version of choerodon-front-boot?
there's no reason yarn can but npm can not. i am confused.
if you run npm start, it will open brower on 8080 automaticly
can you provide more infomations, it strange🧐


Heapster 1.4.0 and InfluxDB configuration

Hi, I have created a brand new Kubernetes 1.7.2 cluster on GKE and it installs Heapster 1.4.0 by default in the kube-system namespace. I've read in various places that Heapster uses InfluxDB by default? How does it do that and where does it look for it?
I've installed InfluxDB in my cluster but Heapster is not using it from what I can see in the logs and in the InfluxDB database itself. Since it's installed as a cluster addon, I'm unable to edit it's deployment and add a --sink configuration. Is there a different method to add an InfluxDB sink to Heapster 1.4.0 then? Maybe a ConfigMap?

Heapster is able to talk to InfluxDB as a sink, if configured.  What does your Heapster config look like?