Path value seems different when Vnet bound URLs are used

The path value in the Translate Text Python code snippet is incorrect when Vnet-bound endpoints to the Cognitive Service is used; this gave an 404 error.
What was working, what the value '/translator/text/v3.0/translate' for the path.
Hope you can add this (as a note) to the example text - or as a comment in that paragraph.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 39fa12ff-87c9-ecc0-929b-055b1b7e1a86
Version Independent ID: 1351b31b-04b6-2e8b-8f03-adb7aa74f6ad
Content: Quickstart: Get started with Translator - Azure Cognitive Services
Content Source: articles/cognitive-services/Translator/quickstart-translator.md
Service: cognitive-services
Sub-service: translator-text
GitHub Login: @laujan
Microsoft Alias: lajanuar

Thanks for your feedback! We will review and update this doc accordingly.

@FrankVanEgmond are you able to post a request using the following pattern?
https://[custom domain]/translate?api-version=3.0

https://[custom domain]/translate?api-version=3.0
was not working for us, that's why we moved to '/translator/text/v3.0/translate'
From: GiftA-MSFT @.>
Sent: woensdag 24 november 2021 16:07
To: MicrosoftDocs/azure-docs @.>
Cc: Frank van Egmond @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Path value seems different when Vnet bound URLs are used (Issue #84249)
@FrankVanEgmondhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FFrankVanEgmond&data=04|01|Frank.van.Egmond%40microsoft.com|2e1c947414f14f185e8308d9af5c21d8|72f988bf86f141af91ab2d7cd011db47|1|0|637733632525528828|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=fsvsrCL1Vmoumqs6pWmrb5FY2yOgPR8eQCmYcei0VJA%3D&reserved=0 are you able to post a request using the following pattern?
https://[custom domain]/translate?api-version=3.0

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F84249%23issuecomment-977965050&data=04|01|Frank.van.Egmond%40microsoft.com|2e1c947414f14f185e8308d9af5c21d8|72f988bf86f141af91ab2d7cd011db47|1|0|637733632525538787|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=xyJCkojpgnLOYKAHeyIHclDrm67r8XCKMMT%2FPLD1ay8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJRUYBSAMKVBLVR35T3S5NLUNT5TBANCNFSM5IRG3JLQ&data=04|01|Frank.van.Egmond%40microsoft.com|2e1c947414f14f185e8308d9af5c21d8|72f988bf86f141af91ab2d7cd011db47|1|0|637733632525543761|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=0Q%2BrznhlECLRkdZDdQsHVzpB2UEKkUa84BcjxjgHSAI%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|Frank.van.Egmond%40microsoft.com|2e1c947414f14f185e8308d9af5c21d8|72f988bf86f141af91ab2d7cd011db47|1|0|637733632525548739|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=pO5MoCBSMkzHSIX0FiGGhVQhA8Hh9HW8zjFJ5UO8rLk%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|Frank.van.Egmond%40microsoft.com|2e1c947414f14f185e8308d9af5c21d8|72f988bf86f141af91ab2d7cd011db47|1|0|637733632525553781|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=AN9nswRIZxafbuCD0dBJzpCCmGyeOMiWRc9aWX8cp1s%3D&reserved=0.


Defund the Las Cruces Police Department

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>https://www.heinrich.senate.gov/contact/write-martin
@MartinHeinrich
https://www.tomudall.senate.gov/?p=contact
@SenatorTomUdall
@XochforCongress
Every year 50% of our city budget goes to the LCPD. it goes to police hiring, police vehicles, police vehicle detailing. Those cool 'invisible' decals on police vehicles you see around town? The city and YOU pay for that. And what's the purpose? To sanction the killing of civilians, but invisibly?
Our city is funding the execution of Las Cruces citizens at the hands of the LCPD at the highest rate in the nation for that last 5 years (Washington Post, June 2020). We are featured on Democracy Now! as a haven for police brutality. Is this our sleepy little Las Cruces or is this a border town with a pension for militarization? Defund the LCPD and invest in community.
Email/call the people who represent Las Cruces. Tell them the same thing that Minneapolis organizers told the Mayor, the Governor, and local authorities: we are beyond tired of flagrant racism. We are sick to our stomachs over constant microaggressions, whether it be to the people in the streets or to our children in school. We are done. This will not stand any further.

Hi @tazuzaz, thanks for your request to add Las Cruces to the site! We have an open request at #1041. If you’d like to add to or edit the messaging, please visit that issue.
Thank you!


Bing Maps Platform / Virtual Earth

I had to whitelist dev.virtualearth.net in order to select a store location on costco.com. It appears to be related to Bing maps. I found it blocked in the WIndowsSpyBlocker list along with a few other Virtual Earth domains that may need to be unblocked as well.
dev.virtualearth.net
ecn.dev.virtualearth.net
t0.ssl.ak.dynamic.tiles.virtualearth.net
t0.ssl.ak.tiles.virtualearth.net

@PurpleHullPeas Thanks for reporting. All 4 domains are added to list


[#noissue] Cleanup Bootstrap

Codecov Report

Merging #6523 into master will increase coverage by 0.04%.
The diff coverage is 36.36%.

@@            Coverage Diff             @@
##           master    #6523      +/-   ##
==========================================
+ Coverage   39.47%   39.51%   +0.04%
==========================================
  Files        3090     3090
  Lines       92198    92125      -73
  Branches    11931    11891      -40
==========================================
+ Hits        36392    36405      +13
+ Misses      52786    52717      -69
+ Partials     3020     3003      -17

Impacted Files
Coverage Δ

...ava/com/navercorp/pinpoint/bootstrap/AgentIds.java
0% <0%> (ø)
:arrow_up:

.../navercorp/pinpoint/bootstrap/AgentProperties.java
0% <0%> (ø)
:arrow_up:

...inpoint/bootstrap/config/SimplePropertyLoader.java
0% <0%> (ø)
:arrow_up:

...npoint/bootstrap/config/PropertyLoaderFactory.java
0% <0%> (ø)
:arrow_up:

.../com/navercorp/pinpoint/bootstrap/IdValidator.java
0% <0%> (ø)
:arrow_up:

.../navercorp/pinpoint/bootstrap/PinpointStarter.java
0% <0%> (ø)
:arrow_up:

...navercorp/pinpoint/bootstrap/ModuleBootLoader.java
0% <0%> (ø)
:arrow_up:

...int/bootstrap/config/ProfileLogConfigResolver.java
0% <0%> (ø)
:arrow_up:

...orp/pinpoint/bootstrap/AgentIdResolverBuilder.java
0% <0%> (ø)
:arrow_up:

.../navercorp/pinpoint/bootstrap/AgentIdResolver.java
0% <0%> (ø)
:arrow_up:

... and 14 more

Continue to review full report at Codecov.

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


Add dependabot configuration

Manual dependency updating is tedious, let a bot do it :wink:

Argh, I haven't noticed that this was already a PR, so I went to settings to enable it, then noticed it's a PR, and I like your version better. :D

Thanks, and sorry for just not landing your PR!

No offense taken of course! :heart:


select! without FusedFuture

select! is probably my favorite API in the whole Rust async story. That is because it enables use-cases that are not possible in normal threaded code: We can wait on arbitrary operations to complete concurrently (not only on channels) - and depending on the result and current state even cancel some of the branches.
I think the most recent changes which allowed to select! on non-pinned Futures made this operations already a fair bit more accessible for most users, since they now do not need to deal with pinning in most cases.
I'm now thinking about whether we could not still improve in another area: Fusing. The requirement that branches need to implement FusedFuture imposes 2 downsides:

Users need to discover what that FusedFuture thing actually is, and add .fuse() to most of their statements (since they might be coming from an async fn).
Types which want to implement FusedFuture directly (since it's more correct and more ergonomic) must take a dependency on future-core. Which some libraries that have a zero-dependency policy or which are unhappy that futures-rs is still not 1.0 want to avoid.

I am not  contemplating whether the use-cases for which FusedFuture in select! is required could not be also supported in another fashion - which has different trade-offs.
First of all regarding the use-cases: I think the main use-case for fusing is to selectively disable branches inside select!, which prevents busy-looping. It is in that sense similar to the Go pattern of selecting on nil channels, which disables a select branch.  I think the select! macro could support selective branches in a similar fashion: By enabling or disabling individual branches of a select! by user function calls (instead of automatically disabling them based on previous observation that the branch terminated).
In order to enable/disable branches users would need to store the Stream or Future for these branches in a certain Switch/Option type which is known to the macro
Translating the Go example from the Link, it could look along
asnyc fn merge(a_stream: Receiver<i32>, b_stream: Receiver<i32>) -> Receiver<i32> {
    let (sender, receiver) = channel();
    spawn(async {
        // Wrap the types which we are interesting to disable during select in something which
        // offers a disable function. The name is bad. Open for anything.
        let a_stream = SelectDisabler::new(a_stream);
        let b_stream = SelectDisabler::new(b_stream);
        while a.is_enabled() && b.is_enabled() {
            select! {
                // This block is only executed if `a` is still enabled. Since we need to know
                // whether something supports enabling/disabling at compile time (unless we
                // have specialiation), this requires a custom macro syntax like `if_enabled` here.
                // In the future that could potentially by dropped
                a_result = if_enabled(a_stream) => {
                    match a_result {
                        Some(v) => sender.send(v).await,
                        None => {
                            // Disable the branch
                            a.disable();
                        }
                    }
                }
                b_result = if_enabled(b_stream) => {
                    match b_result {
                        Some(v) => sender.send(v).await,
                        None => {
                            // Disable the branch
                            b.disable();
                        }
                    }
                }
            }
        }
    });
    receiver
}

With such an API the terminated branch obviously only makes sense if all branches in the select! support disabling.
Benefits:

No need for .fuse() anymore in common select! use-cases. Directly selecting on Futures and Streams would just work, unless people need selective disabling (which the minority probably do).
Libraries would no longer be required to implement FusedFuture and could potentially avoid being dependent on futures-core for select compatibility.
Users can also disable branches even when they have not yet run to completion. They could even disable and reenable them. E.g. to implement throttling.

Drawbacks:

Adding support for explicit enabling/disabling is not a breaking API change. However not respecting the FusedFuture information anymore is one. And thereby software which relied on it would no longer work the same. I'm however not really sure if a lot of that is out there.
This requires users to disable branches correctly in order to avoid endless loops instead of the Future/Stream implementations doing it automatically.

WDYT @cramertj , @Nemo157 , @taiki-e

Just figured out Streams  are currently supported via generating a Future from them via .next and not directly. Which means the example that I provided doesn't directly work that way.
But I think selecting on a_result = if_enabled(a_stream.next()) => { could work, if we simply invoke the expression inside if_enabled lazily only in the cases where the selection is still active. Actually that's even nicer, since it also avoids the dependency on any specific Stream type definition.

Just another syntax idea to make sure arbitrary expressions that resolve to a Future can be awaited and select ing on them disabled:
Instead of passing the Stream to the disabler this just gets a plain struct. And instead disabling is passed in a fashion that is similar to if guard if clauses on match expressions:
asnyc fn merge(a_stream: Receiver<i32>, b_stream: Receiver<i32>) -> Receiver<i32> {
    let (sender, receiver) = channel();
    spawn(async {
        et a_disabler = SelectDisabler::new();
        let b_disabler = SelectDisabler::new();
        while a.is_enabled() && b.is_enabled() {
            select! {
                a_result = a_stream.next() if_enabled(a_disabler) => {
                    match a_result {
                        Some(v) => sender.send(v).await,
                        None => {
                            // Disable the branch
                            a_disabler.disable();
                        }
                    }
                }
                b_result = b_stream.next() if_enabled(b_disabler) => {
                    match b_result {
                        Some(v) => sender.send(v).await,
                        None => {
                            // Disable the branch
                            b_disabler.disable();
                        }
                    }
                }
            }
        }
    });
    receiver
}

https://github.com/tekjar/rumq/blob/master/rumq-client/src/eventloop.rs#L169-L172
Conditional branch polling helped me in implementing a very readable flow control based on current inflight queue size. Any plans to bring this feature to futures select! ?

@tekjar I'd be happy to accept a PR! I don't personally have the bandwidth to implement it myself at the moment, sorry.

Please also note that selecting on stream.next() is a very problematic thing to do, as it makes a fresh new .next() call on each iteration and then drops (cancels) the future if any other arm is taken. It's probably fine for the case of receiving from a channel; but should be discouraged in general.

With futures::stream::Stream and the currently unstable std::stream::Stream that is invisible to the stream, there is no possible state that can tell whether it is the same or a new instance of Next that is polling it. Only if we get something like the AsyncIter trait discussed in https://internals.rust-lang.org/t/blog-series-dyn-async-in-traits/15449 would this matter.


undefined method `strftime'

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

/Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/match/lib/match/nuke.rb:99:in block in print_tables': [!] undefined method strftime' for "2017-10-31T13:34:55Z":String (NoMethodError)
from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/match/lib/match/nuke.rb:96:in collect' 	from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/match/lib/match/nuke.rb:96:in print_tables'
from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/match/lib/match/nuke.rb:23:in run' 	from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/match/lib/match/commands_generator.rb:111:in block (3 levels) in run'
from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in call' 	from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:178:in call'
from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/command.rb:153:in run' 	from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in run_active_command'
from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in run!' 	from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in run!'
from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/match/lib/match/commands_generator.rb:118:in run' 	from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/match/lib/match/commands_generator.rb:12:in start'
from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/fastlane/lib/fastlane/cli_tools_distributor.rb:49:in take_off' 	from /Users/andreas/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/fastlane-2.17.0/bin/fastlane:15:in <top (required)>'
from /Users/andreas/.fastlane/bin/bundle/bin/fastlane:22:in load' 	from /Users/andreas/.fastlane/bin/bundle/bin/fastlane:22:in '
Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.3

Ruby
2.2.4

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.3 (16D32)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Is homebrew
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version '1.99.0'

default_platform :ios

platform :ios do
    before_all do
        # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
        ENV['FL_HIPCHAT_MESSAGE'] = 'Build in fastlane is done and uploaded to Testflight'
        ENV['FL_HIPCHAT_CHANNEL'] = 'Fastlane'
        ENV['HIPCHAT_API_TOKEN'] = 'MCKdlarFJeVElNPfYmEL2fyTZJKBzcBlQnDvgaSf'
        ENV['FL_HIPCHAT_CUSTOM_COLOR'] = 'green'
        ENV['HIPCHAT_NOTIFY_ROOM'] = 'true'
        ENV['HIPCHAT_API_VERSION'] = '2'
    end

    desc 'Runs all the tests'
    lane :testChat do
        hipchat
    end

    desc 'test bashscript'
    lane :bashTest do
        sh './runGrunt.sh'
    end

    desc 'Submit a new Beta Build to Apple TestFlight'
    desc 'This lane is to upload a Jaz whitelable app.'
    desc 'This will also make sure the profile is up to date'
    lane :betaJaz do
        sh 'cd ../../../.. && grunt switchWhitelabel --hotelName=jaz && grunt compass && grunt pg:deploy:ios --Verbose'
        match(type: 'appstore') # more information: https://codesigning.guide
        increment_build_number
        gym(scheme: 'jaz') # Build your app - more options available
        deliver(force: true, verbose: true)
        hipchat
    end

    desc 'Submit a new Beta Build to Apple TestFlight'
    desc 'This lane is to upload a hotelbird app.'
    desc 'This will also make sure the profile is up to date'
    lane :betaHbapp do
        sh 'cd ../../../.. && grunt switchWhitelabel --Verbose && grunt compass && grunt pg:deploy:ios --Verbose'
        match(type: 'appstore') # more information: https://codesigning.guide
        increment_build_number
        gym(scheme: 'hotelbird') # Build your app - more options available
        deliver(force: true, verbose: true)
        hipchat
    end

    desc 'Deploy a new version to the App Store'
    lane :appstoreUpload do
        # match(type: "appstore")
        # snapshot
        gym # Build your app - more options available
        deliver(scheme: 'Jaz', skip_metadata: true, skip_screenshots: true, force: true, verbose: true)
        # frameit
    end

    # You can define as many lanes as you want

    after_all do |lane|
        # This block is called, only if the executed lane was successful

        # slack(
        #   message: "Successfully deployed new App Update."
        # )
    end

    error do |lane, exception|
        ENV['FL_HIPCHAT_MESSAGE'] = 'Lane in fastlane is faild.'
        ENV['FL_HIPCHAT_CHANNEL'] = 'Fastlane'
        ENV['FL_HIPCHAT_CUSTOM_COLOR'] = 'red'
    end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
# app_identifier "com.hotelbird.hb-white-label-app" # The bundle identifier of your app
# apple_id<EMAIL_ADDRESS># Your Apple email address
team_id "A9EF3YCJ4H"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.17.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

CFPropertyList
2.3.5

activesupport
<IP_ADDRESS>

addressable
2.5.0

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.14.3

claide
1.0.1

colored
1.2

commander
4.4.3

domain_name
0.5.20161129

dotenv
2.2.0

excon
0.54.0

faraday
0.11.0

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.0.1

gh_inspector
1.0.3

google-api-client
0.9.26

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

i18n
0.7.0

io-console
0.4.3

json
1.8.1

jwt
1.5.6

libxml-ruby
2.9.0

little-plugger
1.1.4

logging
2.1.0

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

multi_json
1.12.1

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.3

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.5

rake
10.4.2

rdoc
4.2.0

representable
2.3.0

retriable
2.1.0

rouge
1.11.1

rubygems-update
2.5.2

rubyzip
1.2.0

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.13

terminal-notifier
1.7.1

terminal-table
1.7.3

test-unit
3.0.8

thread_safe
0.3.5

tty-screen
0.5.0

tzinfo
1.2.2

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.3

word_wrap
1.0.0

xcodeproj
1.4.2

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

generated on: 2017-02-16

This should also be fixed by #8270

Closing issue as this is a duplicate of #8266


hostname behavior for Windows does not match Unix

Describe the bug
This project's hostname value for Windows has changed from being formatted to all uppercase, to all lowercase, back to all uppercase over the last couple of years, but I think the behavior is still incorrect.
In 2022, it was all uppercase, which was marked as an issue: (https://github.com/ardaku/whoami/issues/39)
In 2023, it had been coerced into all lowercase, which was again marked as an issue: (https://github.com/ardaku/whoami/issues/82)
After that, whoami was changed to use the NetBIOS formatted hostname, so back to being all uppercase, which I believe is still incorrect.
Consider this example:
On MacOS:
system:
hostname: soDIum
whoami:
hostname: soDIum
devicename: My MacBook Air
On Windows:
system:
hostname: soDIum
whoami:
hostname: SODIUM
devicename: soDIum
To Reproduce
Steps to reproduce the behavior:
Use the latest release of whoami on Windows.
Check the output of hostname and devicename functions.
Expected behavior
I think that whoami's hostname result should try to identically match what the OS system CLI tool hostname reports.. which itself preserves casing.
Yes DNS itself is case insensitive, but people do often use mixed case styling in their hostnames, so reflecting that in whoami's output accurately does makes sense.
Currently whoami's behavior matches this expectation for Linux and MacOS, but not Windows.
I believe a good fix would be to reverse the use of ComputerNameFormat::NetBIOS and ComputerNameFormat::DnsHostname in the hostname and devicename functions in whoami/src/os/windows.rs
NetBIOS (and also the COMPUTERNAME env var) will always be uppercase, and seems to me to be more of a 'fancy' naming, or at least aligns better with being a 'device' name than a 'host' name.
Also, not sure the order of precedence for ComputerNameFormat::PhysicalNetBIOS and ComputerNameFormat::PhysicalDnsHostname over the respective non-physical versions, but one level could be incorporated as a fallback over the other too, if desired.
Thank you!

@meop Thanks for opening this issue, I will take a look!


Conbee unreachable in homebridge-hue since installing homebridge-rpi

Hi,
I just installed homebridge-pi to monitor temperature of my two Pi's. I followed the Raspbery Pi Configuration guide and got things working fine on both computers, first try.
However, upon restarting Homebridge, I get an error from Homebridge-hue in the Homebridge logs, as follow:
[3/6/2020, 11:38:28 AM] [Hue] ConbeeGW: error: /sensors/1: {"config":{"configured":true,"on":true,"sunriseoffset":30,"sunsetoffset":-30,"reachable":true},"etag":"2a2888d62308ddd6d2bd65da0e63c919","manufacturername":"Philips","modelid":"PHDL00","name":"Daylight","state":{"dark":true,"daylight":null,"lastupdated":"none","status":null,"lightlevel":0},"swversion":"1.0","type":"Daylight","uniqueid":"00:21:2e:ff:ff:05:02:26-01"}
 TypeError: Cannot read property 'period' of undefined
    at HueSensor.checkStatus (/homebridge/node_modules/homebridge-hue/lib/HueSensor.js:2035:48)
    at new HueSensor (/homebridge/node_modules/homebridge-hue/lib/HueSensor.js:1523:12)
    at HueAccessory.exposeSensorResource (/homebridge/node_modules/homebridge-hue/lib/HueAccessory.js:312:20)
    at HueAccessory.exposeSensorResources (/homebridge/node_modules/homebridge-hue/lib/HueAccessory.js:302:12)
    at HueAccessory.expose (/homebridge/node_modules/homebridge-hue/lib/HueAccessory.js:123:8)
    at HueBridge.exposeResources (/homebridge/node_modules/homebridge-hue/lib/HueBridge.js:534:49)
    at HueBridge.accessories (/homebridge/node_modules/homebridge-hue/lib/HueBridge.js:92:16)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Promise.all (index 0)
    at async HuePlatform.accessories (/homebridge/node_modules/homebridge-hue/lib/HuePlatform.js:311:29)

More about my Hue config here (and quickly resolved bug): https://github.com/ebaauw/homebridge-hue/issues/636
Homebridge launches fine and is usable, however all homebridge-hue exposed devices fail to work, resulting in the following logs:
[3/6/2020, 11:44:23 AM] [Hue] ConbeeGW: gateway request 75: put /lights/1/state {"on":true}
[3/6/2020, 11:44:23 AM] [Hue] ConbeeGW: gateway communication error: resource, /lights/1, not available

Could the pigpiod and vcgencmd script have messed things up with Conbee II USB connections?
Note: I believe this plugin/config is definitely the culprit, as things were working fine an hour ago (and have been for days now).
Thanks!

Pays to add that deCONZ is running as expected
$ sudo systemctl status deconz
● deconz.service - deCONZ: ZigBee gateway -- REST API
   Loaded: loaded (/lib/systemd/system/deconz.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2020-03-06 11:57:38 NZDT; 10min ago
 Main PID: 367 (deCONZ)
    Tasks: 5 (limit: 4915)
   Memory: 37.9M
   CGroup: /system.slice/deconz.service
           └─367 /usr/bin/deCONZ -platform minimal --http-port=80

Mar 06 11:57:38 raspberrypi systemd[1]: Started deCONZ: ZigBee gateway -- REST API.
Mar 06 11:57:40 raspberrypi deCONZ[367]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pi'
Mar 06 11:57:41 raspberrypi deCONZ[367]: libpng warning: iCCP: known incorrect sRGB profile
Mar 06 11:57:42 raspberrypi deCONZ[367]: This plugin does not support propagateSizeHints()
Mar 06 11:57:42 raspberrypi deCONZ[367]: This plugin does not support propagateSizeHints()
Mar 06 11:57:52 raspberrypi deCONZ[367]: This plugin does not support propagateSizeHints()

Hi @ebaauw,
Yes, Homebridge is running in Docker on the same raspberry pi 4B that deCONZ is set up. deCONZ runs outside of Docker obviously.
I can see and control all the lights fine from the Phoscon web interface or the Hue Essentials iOS app.
Yep, rebooted the Pi.
Is homebridge-rpi making use of http:8888 in any way?
Is it possible to undo all the steps of configuring pigpiod and from the vcgencmd script? I can't think of anything else...

Alright, all sorted.. Sorry for taking some of your time on this one. It seems it was a proximity issue with the bulbs, or maybe there's been some interferences from the neighbours at the wrong time, which made me believe the issue came from this newly installed plugin.
Brought the bulbs closer to the Conbee upon rebooting the Pi, and all is good. Again, sorry for the time wasted here.


Can`t use GPU on testing

Environment:
Anaconda3
Python: 3.7
PyTorch: 1.3.1
torchvision: 0.4.2
cudatoolkit: 11.0
Server: Linux
GPU: 4*Nvidia 2080Ti
Trouble:
After installing the environment and downloading the pretrained models, try to run 'test_tsm_kinetics_rgb_8f.sh' and get some trouble.
When change 'map_location=None' to 'map_location=lambda storage, loc: storage.cuda(1))',something wrong with '_cuda_getDevice' and test

When change 'map_location=None' to 'map_location={'cuda:1':'cuda:0'})',something wrong with 'torch.cuda.is_available()'.

If I change map_location to torch.device('cpu'), test will run but cant get a result because I havent upload the test video and labels and annotations to the server. This is not a problem but Im wondering why cant I use gpu to do the test, if I can only run test.sh with cpu then I cant train my own dataset.
Really appreciate any help!

try to install CUDA and cuDNN

try to install CUDA and cuDNN

I find out that I misinstalled the cpu version pytorch and after installing cuda version pytorch, test_model works.
Thank you very much!!!


Publish Model Metadata

As a model publisher I want to publish my model metadata so consumers can easily find my model
Assumptions:

Metadata will be published in GlobusSearch
The publication will occur from the client and not require an intermediate server.3.
Writes to GlobusSearch will be controlled by membership in a GlobusGroup
Assumes https://github.com/Garden-AI/garden/issues/4 is done

Acceptance Criteria
Given I have described my models metadata using the GardenClient, when I call the publish method, then I can find my metadata on GlobusSearch using globus-search-cli

Following this model anyone in the Globus Group will be able to write or overwrite anything in the index. This is ok as an incremental step, but just a reminder of the way permissions work for Globus Search indexes.

Following this model anyone in the Globus Group will be able to write or overwrite anything in the index.

Can this only be fixed by having our own server in the middle?

I was going to assign myself to this, as I know I have all necessary repository permissions to work on it, but I don't have permissions to edit the assignee field

Following this model anyone in the Globus Group will be able to write or overwrite anything in the index.

Can this only be fixed by having our own server in the middle?

You could hash a password for each model (when the model is created, the publisher passes in a password which is hashed and stored) and when a user wants to edit the metadata they pass in the password and edit it.

Can this only be fixed by having our own server in the middle?

You could hash a password for each model (when the model is created, the publisher passes in a password which is hashed and stored) and when a user wants to edit the metadata they pass in the password and edit it.

If all of the checks are client-side, a malicious or motivated user could bypass them.
We could absolutely devise a method by which we allow the user to modify (only) their own documents--the simplest way would be to add a "published by" field to the doc and stick their globus uuid (and/or username, but uuid is probably better) in it.  Then, the server can check the existing doc against your uuid before letting you republish.
It's a bit annoying that the Globus Search model lets you set accessibillity (visibility) on a per-document basis, but write permission at a per index basis.  But that's what we've got.  (and dynamoDB wouldn't be any better out of the box--we'd still have to roll our own access control, server side).
The solution is to have a server do all of the actual publishing, and not give index write permissions to any normal users.  The server then does the check as to whether the user should be able to republish the doc (as above, or with a hashed password as you suggest). That's out of scope for this story, though.

Note: Code is done but there's a test that needs to be fixed

Update: Eric needs to push before anyone reviews

closing this because we forgot to do so when merging the completed PR a couple weeks ago


Search box API call for search results view

Description / User Story:
Further develop and optimised search button. Develop from scratch functionality of search box.
Utilise both APIs to retrieve data, get value written by user in search box and treat it as keyword for the API, show APIs results in console by linking calls in order. Block blank search.
Acceptance Criteria:

Blocks blank search, so no input on search box and user clicks search. Expected no redirection on searchPage
Search button to stop just redirecting to searchpage without not calling both APIs
Link both APIs, so we get the value input by user in search box, call moviesminidatabase.p.rapidapi.com fetch the data and subject to primary key to call the imdb188.p.rapidapi.com API and and get data results
store data on local storage

QA (quality assurance) / testing:
Must meet requirements addressed in acceptance criteria

@clamadi for your convenience and to save some API calls, so we won't run out of calls I recorded my testing. FYI in my testing in video below I blocked Shola's js script so I don't have any noise. That means I block line 27 & 48 from script.js as it is not relevant to this work which sits on search.js & result.js files.

By the way I tried to add as many as possible comments so easily the code to make sense.

https://www.awesomescreenshot.com/video/23354375?key=e493e91d3cc5c39a0ef6fbf49a156c3c


Update Check the compliance status of a managed node content

$reports = Get-AzureRmAutomationDscNodeReport -ResourceGroupName 'MyResourceGroup' -AutomationAccountName 'myAutomationAccount' -Id $node.Id
Should be
$reports = Get-AzureRmAutomationDscNodeReport -ResourceGroupName 'MyResourceGroup' -AutomationAccountName 'myAutomationAccount' -NodeId $node.Id

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 47bfce65-1545-aaf8-ad4a-629b3bf14735
Version Independent ID: 51d6a1d1-7b95-63f3-bff0-42f52029d1dc
Content: Configure servers to a desired state and manage drift with Azure Automation
Content Source: articles/automation/tutorial-configure-servers-desired-state.md
Service: automation
GitHub Login: @bobbytreed
Microsoft Alias: robreed

@EdwinGomes Thank you for the detailed feedback. This is being assigned to the content author to evaluate and update as appropriate.

@EdwinGomes I see you have submitted a PR to correct it. Thank you for that!  We will get that reviewed and merged.. We are updating our markdown engine at this time, so this change won't go live until 3/11 at the earliest.. Will circle back on the 11th to make sure we get your PR merged.

@EdwinGomes Your change is live! Thanks again for your commitment to our documentation. @MicrosoftDocs/azure-cxp-triage #please-close

We will now proceed to close this thread.


Modified screening schema

Modified screening schema for remaining data driven form pages

Thanks again @nathanbaleeta 🙏
Did minor edits in fda8397 and 1b38258 to ensure consistency in the answers, and remove some that were not fitting into the ["Yes", "No", "Unknown"] to standardize, and moved locations to the very end to have all other indicators in order.
Lint'ed the file in e2a6ff9 by running locally npx jsonlinter screening-schema.json


The calling parameters of GenerateCoinbaseCommitment function are inconsistent

Compilation error:
The calling parameters of GenerateCoinbaseCommitment function are inconsistent
The error prompt is as follows:
CXX      libearthcoin_server_a-miner.o
miner.cpp: In member function ‘std::unique_ptr BlockAssembler::CreateNewBlock(const CScript&, bool)’:
miner.cpp:173:129: error: too many arguments to function ‘std::vector GenerateCoinbaseCommitment(CBlock&, const CBlockIndex*, const Consensus::Params&)’
pblocktemplate->vchCoinbaseCommitment = GenerateCoinbaseCommitment(pblock, pindexPrev, chainparams.GetConsensus(), prevHash);
^
In file included from ./miner.h:11:0,
from miner.cpp:6:
./validation.h:420:28: note: declared here
std::vector GenerateCoinbaseCommitment(CBlock& block, const CBlockIndex pindexPrev, const Consensus::Params& consensusParams);

There is no such error in the code. Probably fixed earlier. Thanks.


Waiting for driver process to stop on Windows (fixes #499)

Codecov Report

Merging #502 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #502   +/-   ##
=======================================
  Coverage   77.25%   77.25%
=======================================
  Files          11       11
  Lines        1288     1288
=======================================
  Hits          995      995
  Misses        232      232
  Partials       61       61

Flag
Coverage Δ

#unittests
77.25% <0%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

service/driver.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


helm: add new node labels for mq and db pods

closes https://github.com/reanahub/reana/issues/604
This PR adds two additional node labels in order to separate MQ and DB pods into separate dedicated nodes and to make sure no other pods will run on these nodes.
Other techniques were considered, but this one was the most straightforward. Good summary of other techniques can be found here.
To test it locally one can use this recipe to deploy multi-node cluster locally and to label those nodes accordingly.
Here is how it can be tested:

Modify values.yaml by adding these lines:

node_label_infrastructure: reana.io/system=infrastructure
node_label_infrastructuremq: reana.io/system=infrastructuremq
node_label_infrastructuredb: reana.io/system=infrastructuredb
node_label_runtimebatch: reana.io/system=runtimebatch
node_label_runtimejobs: reana.io/system=runtimejobs

Run these commands:

kind delete cluster
reana-dev cluster-create -m /var/reana:/var/reana --mode debug --worker-nodes 6
kubectl label node kind-worker reana.io/system=infrastructure
kubectl label node kind-worker2 reana.io/system=runtimebatch
kubectl label node kind-worker3 reana.io/system=runtimejobs
kubectl label node kind-worker4 reana.io/system=infrastructuremq
kubectl label node kind-worker5 reana.io/system=infrastructuredb
reana-dev cluster-build --exclude-components=r-ui,r-a-vomsproxy,r-a-krb5 --mode debug
reana-dev cluster-deploy --exclude-components=r-ui,r-a-vomsproxy,r-a-krb5 --admin-email<EMAIL_ADDRESS>--admin-password 123456 --mode debug

Verify that MQ and DB pods were deployed in the right nodes:

kind get nodes # should display all the nodes
kubectl describe node kind-worker4 # should show `reana-message-broker-0` in `Non-terminated Pods`
kubectl describe node kind-worker5 # should show `reana-db` pod in `Non-terminated Pods`
kubectl describe node kind-worker # should not show DB and MQ pods in `Non-terminated Pods`

This PR requires changes in the deployment repo.

Codecov Report

Merging #606 (0b74b0a) into master (c56c2d7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #606   +/-   ##
=======================================
  Coverage   19.38%   19.38%
=======================================
  Files          26       26
  Lines        2074     2074
=======================================
  Hits          402      402
  Misses       1672     1672


Chinese + number combination. The number cannot be displayed

Code:
Container(
        alignment: Alignment.centerLeft,
        color: Colors.red,
        height: 40.0,
        child: Text(
          '这是一段中文字123456789123456789123456789123456789',
          maxLines: 1,
          overflow: TextOverflow.ellipsis,
        ),
      )

show：

[✓] Flutter (Channel stable, v1.17.4, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 4.0)
[✓] Connected device (1 available)

Same result
这是一段中文字123456789123456789123456789123456789 :

这是一段中文字qwertyazerty123456789 :

flutter doctor -v
[√] Flutter (Channel master, 1.22.0-10.0.pre.36, on Microsoft Windows [version 10.0.17763.973], locale fr-FR)
    • Flutter version 1.22.0-10.0.pre.36 at C:\Users\Lenovo\Documents\flutter
    • Framework revision 728fdc06ce (24 hours ago), 2020-09-01 11:40:50 +0100
    • Engine revision 165abef0a2
    • Dart version 2.10.0 (build 2.10.0-77.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Lenovo\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.0.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.0.28803.202
    • Windows 10 SDK version 10.0.17763.0

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.48.2)
    • VS Code at C:\Users\Lenovo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.13.2

[√] Connected device (2 available)
    • STK L21 (mobile)  • XMJ4C19B09007407 • android-arm64 • Android 10 (API 29)
    • Windows (desktop) • windows          • windows-x64   • Microsoft Windows [version 10.0.17763.973]

• No issues found!

Hi @zhangyingcheng,
Can you try by adding chinese escape char before every chinese character and then see if it works for you ?
Thanks.

Hi @zhangyingcheng
Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


Make it possible to start VertxSliceServer on random port

Starting VertxSliceServer on random server is very useful in tests

@g4s8/z please, pay attention to this issue

@olegmoz , close the issue

Job gh:artipie/vertx-server#11 is not assigned, can't get performer


report/feedback button

Hi, requesting here as per whatsapp.
Please add a button for users to add feedback or report a mistake they noticed they made, or maybe some other feedback that isn't specific to a mistake in transcript

Is your feature request related to a problem? Please describe.
The current tagging interface does not provide a convenient way for users to give feedback or report mistakes they have noticed, whether they are specific to a transcript error or general comments about the tagging process.
Describe the solution you'd like
The tagging interface should include a button that allows users to submit feedback or report mistakes. This feedback form could include options for common issues (e.g., "I made a mistake in an earlier tag") as well as a free text field for additional comments.
Describe alternatives you've considered
An alternative solution could be to implement a dedicated feedback page accessible from the tagging interface, where users can report issues or provide suggestions in more detail.
Additional context
Including a feedback mechanism will require changes to both the backend and the frontend of the tagging interface. This feature will help in identifying common problems and improving the overall accuracy and user experience of the tagging process.

See #17 about reporting a mistake in the last segment.


Set up web-only access for guest users

Hi,
Current:  12. On the Client apps blade, click Yes for Configure, and then select the Mobile apps and desktop clients and Modern authentication clients settings.
Correct: On the Client apps blade, click Yes for Configure, and then select the Browser settings.
Regards
Remi :)

Dokumentinformasjon
⚠ Ikke rediger denne delen. Den kreves for koblingen docs.microsoft.com ➟ GitHub-problem.

ID: a4945844-0f8f-2691-1092-0025cc19c683
Version Independent ID: adc60afc-fb2a-dd5c-9217-6e074abc8dc0
Content: Create a secure guest sharing environment
Content Source: microsoft-365/solutions/create-secure-guest-sharing-environment.md
Service: sharepoint-online
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@Remi007 - Thank you for submitting feedback.
Please see the response from the author based on this https://github.com/MicrosoftDocs/microsoft-365-docs/pull/1868#issuecomment-626675416. We will close this issue now.
Thank you for your contribution to make the docs better! Much appreciated!


Add an API Proxy to a Product

Tutorials: https://developers.sap.com/tutorials/hcp-apim-create-product.html
This tutorial is completely outdated. I would suggest to replace it with a link to Creating a Product.

Agree, Gregor.  I'll review this.


Add missing BUCK dependency on javax-annotation-api for ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer

Summary:
CircleCI is currently red as mapbuffer is missing a dependency on javax annotations.
Changelog:
[Internal] [Changed] - Add missing BUCK dependency on javax-annotation-api for ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer
Differential Revision: D35280223

Closing as this is not relevant anymore


Implement Arbitrary for Arc<[A]> and Rc<[A]>.

Also adjust the Box<[A]> implementation to be simpler and regular, not using a conversion from Vec, and provide an implementation of arbitrary_take_rest() rather than using the default.

Published 1.3.2 with this change.


pr-runtime-sdk tls for extension servers

adds tls handling for the client
adds tls to poc/test/rte-implementation-v1alpha1 via flags
adds reimplementation of poc/test/rte-implementation-v1alpha1 to poc/test/rte-implementation-v1alpha1-secure which re-uses controller-runtimes server implementation

For the lint issue you can either fix them now or wait for #23 to merge (#23 has the fox for the lint error already).

rebased / #23 had the linter fixes 👍

This is good to merge.


Const violations do not throw error in serialized code

Input:
const n = 1;
export default () => n++;

Serialized output:
export default (n => () => n++)(1)

Calling the original function would throw an error due to trying to write to a const var. The serialized function executes without error and increments n.
Possible solution
Assignments to const vars could be identified and replaced with an assignment to a const var:
const _const = 0;
export default (n => () => _const++)(1)

Implemented in consts branch. Justs needs tests written.


[Schematic] Create a constructor with parameters

Create a constructor that makes it possible to pass the field values directly.
Right now we have to set the field after the instance has been created:
Data().also {
    it.field = "hello"
}

There are two possible patterns to make the code above clearer:
Direct Constructor Parameters
In this case the compiler plugin generates a constructor with all fields.
Data(field = "hello")

Pros:

usual, common way in Kotlin
makes it possible to pass more than one parameter in one line

Cons:

noisy code, parenthesises, equals, commas
unnecessary code, this might be considerable in size if there are many fields / classes
code completion does not work that well with parameters as there is no prefix to provide the context for the name

Builder Function
In this case the compiler plugin adds a constructor that has a function parameter. This is equivalent to ().also { } but
it is much more clean.
Data {
    field = "hello"
}

Pros:

clearer syntax
smaller code
code completion works with it. or this.

Cons:

cannot set two parameters in one line
might feel a bit unusual

The constructor approach has to wait until IntelliJ 2024.2 as KMP + K2 won't be supported in 2024.1.

The builder function approach is already implemented. It needs adding the companion object manually but that's only because IDEA does not support K2 KMP yet.


Refactor: Remove the index.d.ts file and move its types to the appropriate location

Refs: https://github.com/Magickbase/ckb-explorer-public-issues/issues/434
Based on PR https://github.com/Magickbase/ckb-explorer-frontend/pull/121

This PR is based on https://github.com/Magickbase/ckb-explorer-frontend/pull/124 so we may review https://github.com/Magickbase/ckb-explorer-frontend/pull/124 first

Rebased.


query_ray and query_ray_closest are bugged when compiling on release

query_ray and query_ray_closest completely omit a cuboid, but correctly find a plane when compiled on release. When compiled on debug, they both find the cuboid and the plane.

Got a minimal gist demonstrating this, by any chance?


chore(main): release 0.2.0

:robot: I have created a release beep boop
0.2.0 (2023-12-10)
Features

Add charges (f243ce2)

Bug Fixes

Use a better default (78f7cd1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Alex-Stagg/heraldry/releases/tag/v0.2.0 :sunflower:


A webhook example

Summary
title
What is the feature request for?
The documentation
The Problem
theres no webhook example
The Ideal Solution
Make a example for using webhooks
The Current Solution
No response
Additional Context
No response

Hi, can I work on this? Can I try out with Slack webhook

Feel free to work on it, although this is a discord library so using a discord webhook is kinda required

I can do it, but I want more info on how exactly you want it. By that i mean "How to do" it in the readme or a separate file for that or something completely different. And yea once you confirm me how to do it you can assign me this issue.

We have a examples directory, and what I was thinking was basically showing how to create a webhook object using a URL and send a message. Also we don't really do assignments in case someone leaves the project or gets busy, although feel free to send that you are currently working on it.


[SMALLFIX] Fix reading from an InputStream

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15734/
Test PASSed.


Running spark-perf using OpenBLAS and MKL

Can someone help me in running spark-perf's MLIB tests using OpenBLAS and MKL?

https://github.com/fommil/netlib-java#linux
https://github.com/fommil/netlib-java/issues/62
Follow the 2 links.


Resolve "Refactor Memory Management" (Parse Bootloader Memory Map)

Addresses part of #313
Closes #328 and #329 (because I shaved a few yaks in the process of working on this branch)

I'm worried that removing size_t in many places is going to hurt portability to 64-bit systems whenever we decide to do that

I'm worried that removing size_t in many places is going to hurt portability to 64-bit systems whenever we decide to do that

That's why I added the "%z" flag to printf. I'm going to put them back now that I realized it was relatively easy to add 64 bit support to printf. The formatting is a little bit different (%L vs %ll) but it does work.

Merging since nothing is panicking and memory management will still be actively worked on anyways. Shouldn't be any stability issues, but it isn't going into stable so we'll still be able to correct anything.


Should lib support disposable? Should decorators be merged with esnext.decorators?

Currently, you can access all the explicit resource management stuff via the following lib option:
    "lib": ["es2022", "esnext.disposable"],

However, the following doesn't work:
    "lib": ["es2022", "disposable"],

Should it? It is kind of weird that there is no disposable setting whereas you can for decorators.
When I looked into this, I realized an oddity - that there is both a decorators and esnext.decorators, but that they are not the same thing despite both being part of esnext. The only difference is that esnext.decorators defines Symbol.metadata.
These are both part of esnext, so should they be merged?

Currently, you can access all the explicit resource management stuff via the following lib option:
    "lib": ["es2022", "esnext.disposable"],

This is consistent with most other features we provide via lib, especially those that are tied to a specific version of JavaScript because they introduce new runtime values.

However, the following doesn't work:
    "lib": ["es2022", "disposable"],

Should it? It is kind of weird that there is no disposable setting whereas you can for decorators.
When I looked into this, I realized an oddity - that there is both a decorators and esnext.decorators, but that they are not the same thing despite both being part of esnext. The only difference is that esnext.decorators defines Symbol.metadata.

It should not. lib.esnext.disposable.d.ts introduces runtime values that are required for use that are related to a specific version of JavaScript. The decorator types don't introduce types for new runtime values and thus can be used in every target down to ES5. Only the new Symbol.metadata declaration introduces a new runtime value, and that is provided by lib.esnext.decorators.d.ts, not lib.decorators.d.ts.

These are both part of esnext, so should they be merged?

No, doing so would break anyone who is currently writing Stage 3 decorators that does not depend on Symbol.metadata.


openai key

how do i manually edit my api key?

Hi, possible workaround is by editing the <ai.py> file in gpt-engineer package library. Path of the package is shown in error message of no API key provided.
Add new line (e.g. 6): openai.api_key="YOUR-KEY"

I am getting this error openai.error.AuthenticationError: Incorrect API key provided: sk-90Ho5*************************************zf9J. You can find your API key at https://platform.openai.com/account/api-keys.

@zvey
openai.api_key accepts only string. Put your API key in between quotes "..."

May be add an option to load the key from .env on openai.error.AuthenticationError?, if assigned, i can work on that :wink:

how do i manually edit my api key?

Insert the following code on line 6:
openai.api_key="example-key-894710293870198234"

I am getting this error openai.error.AuthenticationError: Incorrect API key provided: sk-90Ho5*************************************zf9J. You can find your API key at https://platform.openai.com/account/api-keys.

Visit the provided link and verify your key exists and that it's not expired. If you see no keys, create a new one.

If you wish to reopen the issue please do following the new issue template.


[Q] How to use tsfclean utility?

Please show an example of a command line for clearing a single .ts file. The User Guide is uninformative and causes difficulties for me.

For example tsfclean -o fileout.ts filein.ts.

Could you please describe how uninformative the user's guide is on tsfclean?  What should be added to make it more informative?
The command syntax itself is quite simple, there is only one option, the output file, as illustrated by @AlfonZ42.
What the command does is copied below from the user's guide:

In its most general form, an MPEG transport stream file is just a set of TS packets. It can be a capture of a live stream, in which case the file starts and ends at arbitrary points in an endless transmission.
However, when a media player manipulates stored contents, it expects the files to start with the actual beginning of an audio/video content. When the file format is an MPEG transport stream, the player expects some characteristics such as immediate identification of the services and PID’s, initial intra video frame, etc. Not matching these characteristics does not prevent the content from being rendered by the player but glitches are usually present at startup.
The tsfclean command cleans up a TS file to make it more consistent for media players and other similar tools. The following transformations are applied:

The output file starts with the PAT, the CAT (if present on input), the SDT (if present on input) and the PMT’s of all services. Thus, the player is aware of the exact structure of the TS before processing the first audio / video data.
EIT present/following for actual existing services are kept. All other EIT’s are removed.
All other PSI/SI (including NIT, BAT, TDT and other broadcast-related tables), all null packets and all orphan PID’s are deleted.
In each video PID, all packets preceding the first intra-frame are deleted. If no intra-frame can be found (unknown video codec or scrambled contents), all packets preceding the first complete PES packet are deleted.
In each audio, subtitles or data component of the services, all packets preceding the first complete PES packet or section are deleted.

If the input file contains several versions of a table (PAT, CAT, SDT or PMT’s), all successive versions are merged into one single version of the table. Some players are known to read the first table of each kind only and are not able to handle table updates as a TV receiver would do. Consequently, if a service or a component of a service appears and disappears several times, it becomes in fact declared from the start to the end of the output file. If incompatible non-cumulative changes are introduced in a table update, an error is reported.

What should we add?

Thanks for the quick replies! I'm not a programmer and the command line syntax is confusing for me. So one or two examples for each description would be very helpful for understanding.

This is not programming, just shell usage.
The syntax of all TSDuck commands are quite similar to most shell commands. They use the same rules. TSDuck is not a GUI application where specific tasks are pre-programmed and accessible from a few mouse clicks. TSDuck is a generic framework which allows an infinity of combinations, just like ffmpeg. This is a lab tool for DTV engineers.
I do not recommend TSDuck to users who are not familiar with shell scripting.


uninstalling extension via cli doesn't update extension editor actions

Testing #119518

Similar for remote-containers but the viewlet doesn't update either

Also cc @Tyriar the "inappropriate ioctl for device" and "no job control in this shell" messages are new versus stable, not sure if you know anything about that.

No idea, was it just a one off?

Every time I use the cli for extension management

@JacksonKearl but only --uninstall-extension, not --install-extension?

No, it can happen either way:

Not sure why it didn't in the earlier screenshot

@deepak1556 this may be caused by Electron starting as part of the extension management events and inheriting the console?

@Tyriar this was not obvious to me either, strace clarified it. Firstly, the issue repros outside vscode terminal, so the following tests were done in system shell.
$ strace --env=ELECTRON_RUN_AS_NODE=1 /snap/code-insiders/current/usr/share/code-insiders/code-insiders /snap/code-insiders/current/usr/share/code-insiders/resources/app/out/cli.js --install-extension ms-python.python

clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLDstrace: Process 5839 attached
, child_tidptr=0x7f0f867d7e50) = 5839
[pid  5839] set_robust_list(0x7f0f867d7e60, 24) = 0
[pid  5831] close(29 <unfinished ...>
[pid  5839] close(5 <unfinished ...>
[pid  5831] <... close resumed>)        = 0
[pid  5839] <... close resumed>)        = 0
[pid  5831] read(28,  <unfinished ...>
[pid  5839] close(6)                    = 0
[pid  5839] pipe2([5, 6], O_CLOEXEC)    = 0
[pid  5839] write(6, "*", 1)            = 1
[pid  5839] setsid()                    = 5839
[pid  5839] open("/dev/null", O_RDONLY) = 30
[pid  5839] dup2(30, 0)                 = 0
[pid  5839] fcntl(0, F_GETFL)           = 0x8000 (flags O_RDONLY|O_LARGEFILE)
[pid  5839] close(30)                   = 0
[pid  5839] dup2(27, 1)                 = 1
[pid  5839] fcntl(1, F_GETFL)           = 0x2 (flags O_RDWR)
[pid  5839] close(26)                   = 0
[pid  5839] fcntl(2, F_GETFD)           = 0x1 (flags FD_CLOEXEC)
[pid  5839] fcntl(2, F_SETFD, 0)        = 0
[pid  5839] fcntl(2, F_GETFL)           = 0x8002 (flags O_RDWR|O_LARGEFILE)
[pid  5839] close(27)                   = 0

......

[pid  5839] execve("/bin/bash", ["/bin/bash", "-ilc", "/snap/code-insiders/current/usr/"...], 0x2cbd41b9f7b0 /* 1 var */ <unfinished ...>

.......

[pid  5839] ioctl(2, TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid  5839] dup(2)                      = 3
[pid  5839] prlimit64(0, RLIMIT_NOFILE, NULL, {rlim_cur=1024, rlim_max=1024*1024}) = 0
[pid  5839] fcntl(255, F_GETFD)         = -1 EBADF (Bad file descriptor)
[pid  5839] dup2(3, 255)                = 255
[pid  5839] close(3)                    = 0
[pid  5839] ioctl(255, TIOCGPGRP, 0x7ffd0fc5c904) = -1 ENOTTY (Inappropriate ioctl for device)
[pid  5839] getpid()                    = 5839
[pid  5839] ioctl(255, TIOCGPGRP, 0x7ffd0fc5c904) = -1 ENOTTY (Inappropriate ioctl for device)
[pid  5839] fstat(2, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x2), ...}) = 0
[pid  5839] write(2, "bash: cannot set terminal proces"..., 77bash: cannot set terminal process group (-1): Inappropriate ioctl for device
) = 77
[pid  5839] write(2, "bash: no job control in this she"..., 35bash: no job control in this shell
) = 35

The output is actually from a child process that does the execve step. Its from https://github.com/microsoft/vscode/blob/05ce54df77c242b1b8ea5fd93d720c62fdb183e6/src/vs/platform/environment/node/shellEnv.ts#L85 that is invoking the bash script in interactive mode from a detached child process,
Minimal repro:
ELECTRON_RUN_AS_NODE=1 /snap/code-insiders/current/usr/share/code-insiders/code-insiders -e "const cp = require('child_process'); const child = cp.spawn('/bin/bash', ['-ilc', '/snap/code-insiders/current/usr/share/code-insiders/code-insiders -p \"console.log(process.versions)\"'], {env: {ELECTRON_RUN_AS_NODE: 1}, detached: true, stdio: ['ignore', 'pipe', process.stderr]}); child.on('exit', () => console.log('child exited'))"

Issue can be fixed by removing the -i from the above command. But I have a follow-up question, does the code cli to install extension now spawn the app ? If so, why does it have to get shell env using the child process hack above, can they be short-circuited ?

@deepak1556 I think some CLI commands (like ext management) need to start Electron to initialize important services that can't be used within the CLI (without larger refactoring. @joaomoreno perhaps we can just remove the -i?

I no longer remember why -i is it. But there's one thing I can guarantee: things will break for users if you remove it.

does the code cli to install extension now spawn the app

AFAIK --install-extension (and friends) shouldn't spawn Electron, but just Node (with ELECTRON_AS_NODE), unless @sandy081 changed this recently?

Also cc @Tyriar the "inappropriate ioctl for device" and "no job control in this shell" messages are new versus stable, not sure if you know anything about that.

Yeah these are definitely weird. What does which code-insiders return?

I should have added this info as well, this is a new behavior with insiders cli that invokes the probing code, the current stable does not have a similar trace.
Two things to be fixed:

Child process created in detached mode should not invoke bash with interactive mode as the process does not have a controlling terminal, see minimal repo in https://github.com/microsoft/vscode/issues/119660#issuecomment-806430824 , executable can be replaced with node

node -e "const cp = require('child_process'); const child = cp.spawn('/bin/bash', ['-ilc', 'node -p \"console.log(process.versions)\"'], {detached: true, stdio: ['ignore', 'ignore', process.stderr]}); child.on('exit', () => console.log('child exited'))"

Cli app should not invoke the shell probing code

I no longer remember specifically why -i is there. But there's one thing I can guarantee: things will break if you remove it.

-l (login shell) makes Bash source .bash_profile (or if that doesn't exist .profile) and that often sources .bashrc. .bashrc often first checks if it is in an interactive shell (-i) and exits if not. We have been using the combination -il in shellEnv.ts for a long time to make sure we get all the user customizations from .bash_profile and .bashrc.
I think the CLI should set VSCODE_CLI=1 like code does. That will let shellEnv.ts skip the probing. /cc @bpasero

@chrmarti thanks for the context on the use of interactive mode for the shell probing. Our current shell probing is launched via child process in a detached mode {detached: true}, node basically does setsid call to accomplish that https://github.com/libuv/libuv/blob/master/src/unix/process.c#L294. From the documentation of setsid
setsid() creates a new session if the calling process is not a
       process group leader.  The calling process is the leader of the
       new session (i.e., its session ID is made the same as its process
       ID).  The calling process also becomes the process group leader
       of a new process group in the session (i.e., its process group ID
       is made the same as its process ID).

       The calling process will be the only process in the new process
       group and in the new session.

       Initially, the new session has no controlling terminal.  For
       details of how a session acquires a controlling terminal, see
       credentials(7).

Since there is no controlling terminal unless we open, invoking the bash command in interactive mode will result in inappropriate ioctl for device" and "no job control in this shell".
Question:
why is the shell probing code launched as a detached process ? Can it just run in the same session as parent process, that way it will also get the controlling terminal of the parent.

I think the CLI should set VSCODE_CLI=1 like code does. That will let shellEnv.ts skip the probing. /cc @bpasero

If you think there is something wrong with VSCODE_CLI, please open a separate issue with steps to reproduce.

I think the CLI should set VSCODE_CLI=1 like code does. That will let shellEnv.ts skip the probing. /cc @bpasero

That's what confuses me. VSCODE_CLI was created specifically for the CLI.

why is the shell probing code launched as a detached process ? Can it just run in the same session as parent process, that way it will also get the controlling terminal of the parent.

Also unsure why anymore. It's there since the Big Bang: https://github.com/microsoft/vscode/blame/3d5e0586528e4439e41d06f960ec295b9de46492/src/vs/base/node/env.ts#L18
Lots of info in these issues:

https://github.com/microsoft/vscode/issues/21655
https://github.com/microsoft/vscode/issues/22400
https://github.com/microsoft/vscode/issues/14229
https://github.com/microsoft/vscode/issues/7644

So here is the deal: we set VSCODE_CLI properly for the normal vscode launch here:
https://github.com/microsoft/vscode/blob/d96f34c867bbcc7991bd1b60f3f8c933a27a7b7c/src/vs/code/node/cli.ts#L121-L121
But for some reason we don't set it for extensions management:
https://github.com/microsoft/vscode/blob/d96f34c867bbcc7991bd1b60f3f8c933a27a7b7c/src/vs/code/node/cli.ts#L56-L62
So someone forgot to move it up I guess.

shouldSpawnCliProcess is a misleading name. Nothing gets spawned: it just loads up a bunch of more code and runs functions on them and exists. Only that Node process is ever alive in that case. No full Electron comes up.

Either way, we need to set VSCODE_CLI properly.

Now I get it, what @bpasero points at is: maybe there is code loaded from vs/code/node/cliProcessMain which eventually goes into shellEnv.ts. In that case, VSCODE_CLI wouldn't be set and the user env would be wrongfully probed. Might that be what's happening here?

Also unsure why anymore. It's there since the Big Bang: https://github.com/microsoft/vscode/blame/3d5e0586528e4439e41d06f960ec295b9de46492/src/vs/base/node/env.ts#L18

Thanks, I will remove it for the next iteration, if anything breaks can revisit, would be surprising if it did.

With https://github.com/microsoft/vscode/commit/3a2a24e452c5e79781e71cda0c7eb1153899f041, VSCODE_CLI is now defined earlier to ensure any code executing in cli.ts will correctly inherit this.


Speed up new postgres search

The new postgres search https://github.com/rubymonsters/speakerinnen_liste/tree/try-simple-postgres-search is still a little slow.
One culprit is already identified: pagination with kaminari as it is currently implemented.
Please investigate how we have to implement it so it works faster.

@zaziemo There is the issue #914 that suggests to use pagy instead of kaminari.

@sabrina-ulbrich ah good hint!


Fix exception capturing for bad UUIDs

What does this pull request do?
Fix a bug with exception capturing for bad UUIDs
Related issues
closes #1303

:grey_exclamation: Build Aborted

There is a new build on-going so the previous on-going builds have been aborted.

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Reason: Aborted from #2

Start Time: 2021-08-23T17:00:27.799+0000

Duration: 30 min 42 sec

Commit: f3352ef985da1320ab8f25bcd34ea50d66cdf2b6

Test stats :test_tube:

Test
Results

Failed
0

Passed
9378

Skipped
7881

Total
17259

Trends :test_tube:

Steps errors
Expand to view the steps failures

Show only the first 10 steps failures

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-psycopg2-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-memcached-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-elasticsearch-7

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-cassandra-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-pymysql-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-mysqlclient-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-httplib2-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-pypy-3-prometheus_client-newest

Archive the artifacts

Took 0 min 0 sec . View more details on here
Description: [2021-08-23T17:30:06.849Z] Archiving artifacts
Python-python-3.9-elasticsearch-6 tests failed : org

Error signal

Took 0 min 0 sec . View more details on here
Description: Python-python-3.7-psycopg2-newest tests failed : org.jenkinsci.plugins.workflow.steps.FlowInterruptedException

Log output
Expand to view the last 100 lines of log output

[2021-08-23T17:29:08.107Z] ERROR: No such saved stash ‘coverage-python-3.9-httplib2-newest’
[2021-08-23T17:29:19.272Z] ERROR: No such saved stash ‘coverage-pypy-3-celery-4-django-2.0’
[2021-08-23T17:29:19.465Z] ERROR: No such saved stash ‘coverage-pypy-3-requests-newest’
[2021-08-23T17:29:20.279Z] ERROR: No such saved stash ‘coverage-pypy-3-psycopg2-newest’
[2021-08-23T17:29:20.557Z] ERROR: No such saved stash ‘coverage-pypy-3-memcached-newest’
[2021-08-23T17:29:21.391Z] ERROR: No such saved stash ‘coverage-pypy-3-elasticsearch-7’
[2021-08-23T17:29:21.619Z] ERROR: No such saved stash ‘coverage-pypy-3-cassandra-newest’
[2021-08-23T17:29:22.520Z] ERROR: No such saved stash ‘coverage-pypy-3-pymysql-newest’
[2021-08-23T17:29:22.838Z] ERROR: No such saved stash ‘coverage-pypy-3-mysqlclient-newest’
[2021-08-23T17:29:23.805Z] ERROR: No such saved stash ‘coverage-pypy-3-httplib2-newest’
[2021-08-23T17:29:24.146Z] ERROR: No such saved stash ‘coverage-pypy-3-prometheus_client-newest’
[2021-08-23T17:29:26.386Z] + python3 -m coverage combine
[2021-08-23T17:30:05.167Z] + python3 -m coverage xml
[2021-08-23T17:30:05.811Z] [Cobertura] Skipping Cobertura coverage report as build was not SUCCESS or better ...
[2021-08-23T17:30:05.811Z]
[2021-08-23T17:30:06.272Z] + curl -sLO https://code.jquery.com/jquery-3.3.1.slim.min.js
[2021-08-23T17:30:06.586Z] + curl -sLO<EMAIL_ADDRESS>[2021-08-23T17:30:06.849Z] Archiving artifacts
[2021-08-23T17:30:07.104Z] Stage "Building packages" skipped due to earlier failure(s)
[2021-08-23T17:30:07.244Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-08-23T17:30:07.390Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-08-23T17:30:07.697Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-08-23T17:30:07.753Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-08-23T17:30:07.915Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-08-23T17:30:08.057Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-08-23T17:30:08.649Z] Running on Jenkins in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1304
[2021-08-23T17:30:08.837Z] [INFO] getVaultSecret: Getting secrets
[2021-08-23T17:30:08.901Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-08-23T17:30:10.190Z] + chmod 755 generate-build-data.sh
[2021-08-23T17:30:10.190Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1304/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1304/runs/1 ABORTED 1782113
[2021-08-23T17:30:10.190Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1304/runs/1/steps/?limit=10000 -o steps-info.json
[2021-08-23T17:30:15.394Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1304/runs/1/tests/?status=FAILED -o tests-errors.json


Comment console log

We should not have any console log in the source code.
I'm getting unwanted console logs:

I forgot these my bad, it is fixed


updates in FV3 to support levels

I modified the FV3 timer exports, made the 50m exports for surface when not 72-level model.  And added some assert details.
For the stock 1M, hydrostatic, 72-level model these should be zero diff


docs: add various ways to install from package

Improved docs/content/doc/installation/from-package.zh-cn.md

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@72f9050). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main   #18120   +/-   ##
=======================================
  Coverage        ?   44.89%
=======================================
  Files           ?      824
  Lines           ?    91589
  Branches        ?        0
=======================================
  Hits            ?    41119
  Misses          ?    43879
  Partials        ?     6591

Continue to review full report at Codecov.

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


Add async support for queries and fetch

I think this is still possibly not the cleanest code here, I think 'chaining' futures in the pool and copying states is a relatively cleaner, add_done_callback returns None only hence I don't think we can return that to the user directly.
Lmk if you have a better idea

I would go for an actual "asyncio" API with "awaits" etc.. instead of these callbacks.

Using the classic async-await will require to change our entire client to use async-await style, won't it? And I don't think it's food idea since most users are not familiar with thay syntax...

I would go for an actual "asyncio" API with "awaits" etc.. instead of these callbacks.

Using the classic async-await will require to change our entire client to use async-await style, won't it? And I don't think it's food idea since most users are not familiar with thay syntax...

We should add a different class for the async client, no need to change the existing one for users who want the standard client.

I would go for an actual "asyncio" API with "awaits" etc.. instead of these callbacks.

Using the classic async-await will require to change our entire client to use async-await style, won't it? And I don't think it's food idea since most users are not familiar with thay syntax...

We should add a different class for the async client, no need to change the existing one for users who want the standard client.

That would require adding much more code to the client. We can do that if we want, but why not adding that code that Rajat suggested anyway? We already have that in the standard client and in other APIs in the gRPC code. It'll give a good solution to the customers that are waiting for that support. And we can consider having a full asyncio client seperately

@rajat08 how does the chaning behave in case of errors? Can you test? Does it affect the error messages presented to customers?

@rajat08 how does the chaning behave in case of errors? Can you test? Does it affect the error messages presented to customers?

I actually need to change something for error messages, forgot about it for a second. Thanks


Django Import Export Issue

When i tried to use django import export package  with unfold, style not as expected.

the same to me, it works, but the display is awful

This is because this plugin is missing custom styles matching theme :-) If you want, you can create a PR implementing custom design. Anyway, we have to check if it is possible to override all templates from plugin in theme.

just add this class in simplebar.css
.object-tools li {
display: inline-block;
margin-left: 10px;
margin-bottom: 30px;
}
this will fix the import export problem

Support for this plugin was merged into main
https://github.com/remastr/django-unfold/pull/67


[ForegroundFact] decorated tests are not run as part of dotnet test (or found in test explorer).

https://github.com/aspnet/Razor/commit/e3d2b48b8989dc022cd68e14b05521cda7eb4faf


[TypeError: _data$lastSeen.toMillis is not a function. (In '_data$lastSeen.toMillis()', '_data$lastSeen.toMillis' is undefined)]

I tried to create a room but I'm getting _data$lastSeen.toMillis is not a function
How can I solve this?
Thank you.

still facing the same error

is it wise to still use FlyerChat react-native in 2023? are there any better actively maintained, feature rich chat plugins available?

This library is not maintained for years now. Please don't use.

Thanks for confirming! Will look out for other react-native chat sdk options.

If no support is provided now, can we please update the description in the Github page Bio (for react-native) ?
This is totally misleading: "Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI" and folks will end up spending time on an unsupported repo.

Flutter works actually it is like a year or two ahead of react native. Will update RN.


Chore: pdf smoke test

What
We have seen issues with tests build on circle ci passing but pdf generation on the alpine build failing
This PR attempts to add a rake task to test imapct of smoke testing a Grover test before pushing to ECR
Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase main.
The standards in the Git Workflow document on Confluence should be followed
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

I never got this working to my satisfaction... my branch is still local and we can revisit if we have more puppeteer and grover issues in the future


Remove unnecessary files from npm module

The npm module @equinor/eds-core-react contains debug, config and src-files which could be added to .npmignore.

I think this is also already been solved? @vnys @wenche @pomfrida ?

related to #627 ?

Quick test shows that we don't have anymore unwanted files in core-react npm package. Closing issue.

Quick test shows that we don't have anymore unwanted files in core-react npm package. Closing issue.


Proper timeout logging and handling

Currently, when request is timing out because of deadline exceeded, the logging is not very clear:

With the PR https://github.com/ozontech/cute/pull/79 , here is the result:

resolved in v0.1.22


Unable to save notebook

Issue Type: Bug
Im unable to save Jupyter Notebook (.ipynb). I tried multiple ways, but none of them works:

Ctrl + S (nothing happens)
Via File > Save (is permanent greyed out)
Via File > Save As... (nothing happends, no pop-up of the window explorer)
Pressing the save-button in the notebook (nothing happens)

My ipynb-file has changes (it's marked with a star).
See also: https://stackoverflow.com/questions/62718613/unable-to-save-jupyter-notebook-in-vsc
VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.88GB (0.86GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.36.1

python
ms-
2020.6.91350

cpptools
ms-
0.28.3

autodocstring
njp
0.5.3

This is also happening to me on mac:
Version: 1.46.1
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:17:14.222Z (2 wks ago)
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.7.0
OS Version:

Same for me, after work a while in a notebook for some reason I don't know, the autosave function doesn't save any change that I make to the file, and the option "save as" (to try to save the changes as another file and not to lose my work :( ) doesn't work at all either!!
literally I have to open a text editor, and copy all the work I have written, close vscode (It actually ask if I want to save changes but it doesn't save anything!), then open vscode again and take the code from the text editor to vscode again, what a waste of time.
The files are in a git repository.
This happened to me several times now.

Please file this issue against Python extension, which is currently providing this feature.

sorry wich extension is that?

@dalidavila https://marketplace.visualstudio.com/items?itemName=ms-python.python I think this is the one you are using


What app is shown in screenshots?

What app is shown in screenshots with the fullscreen window style?
https://github.com/denysdovhan/spaceship-zsh-theme/wiki/Screenshots

See https://github.com/denysdovhan/spaceship-zsh-theme/issues/52#issuecomment-284223729 for author's setup shown in README


[BUG]

What is the bug?
Essentials /back doesn't warp you to your last location when executing /team home command
Expected Behaviour
If you were to do /team home, the /back command should return you to your previous correct location, it will only /back you to the essential TP's you've made
How to Reproduce
TP to a player /tpa [name]
Have him accept the tp request /tpaccept
Then do /team home
Try to do /back
It won't return you to the previous location, it will only return you to previous essential teleport locations you've made
Error message
No error message
Output of /teama version

Additional Information
No response

@yepikaiye
See the linked line below, you need to set this to true in the EssentialsX configuration file to be able to use back command with teleports triggered by other plugins
https://github.com/EssentialsX/Essentials/blob/bf14b88600601019fb51dd6e6a1524e411e9b339/Essentials/src/main/resources/config.yml#LL603C33-L603C33


feat: Emoji font

Describe the feature you'd like to request
Add Change Emoji font feature option.

Device
Bluesky
Twemoji
Blob Emoji
Fluent Emoji
Noto Color Emoji
...and more

Describe the solution you'd like to see
Change Emoji font feature option.
Additional information
No response

I'm not sure if this is possible? I'll look into it


add the ability to filter servers by parent cachegroup

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1713/
Test PASSed.


Is the Professional version still available?

Is the Professional version still available? or is all of the work being done here.  I've tried email and even Twitter but no response

I apologize for missing your emails -- check your inbox.


ylabel is now rendered as subplot title, not y-axis label.

Solves issue #3

Thanks @mstechly! It looks like only one test is failing in the test suite, which is the test_ylabel (test_plots.TestPlot) test - I'll quickly fix that up to ensure it passes.


Update dependencies

It is used in our compile binary, and I think it's probably nice to be able to compile features from source with only this tool? So maybe more a question of updating that comment.


Add request and response factory as binding type

@dbu You mentioned that in some cases we might want to typehint to RequestFactory, rather than MessageFactory. In that case using RequestFactory as a binding type would make sense as well.

oh, in fact yes. would make sense.
Am 19.12.2015 13:04 schrieb "Márk Sági-Kazár"<EMAIL_ADDRESS>
@dbu https://github.com/dbu You mentioned that in some cases we might
want to typehint to RequestFactory, rather than MessageFactory. In that
case using RequestFactory as a binding type would make sense as well.
—
Reply to this email directly or view it on GitHub
https://github.com/php-http/message-factory/issues/26.


2 extensions on marketplace

Hello, why are there two extensions with almost the same name on the marketplace https://marketplace.visualstudio.com/items?itemName=Decodetalkers.neocmakelsp-vscode and https://marketplace.visualstudio.com/items?itemName=Decodetalkers.neocmake-lsp-vscode?

I do not know hot to delete the second one... so there are two

https://code.visualstudio.com/api/working-with-extensions/publishing-extension#removing-extensions

done. thanks for your help.. then how to unpublish the wrong one on ovsx?

https://github.com/EclipseFdn/open-vsx.org/wiki/Managing-Extensions#deleting-an-extension


[Public Catalog] Use different layout for quickstart details pages

Summary
We want to change the layout of a quick start details page so:

there is no left sidebar, and content takes up full width of page
include breadcrumbs at top (similar to NR1 catalog details page)
exclude mobile nav hamburger menu

Consider creating Breadcrumbs component in the theme for docs site to use in the future.
Remaining work in branch
Some of the work here is already in this branch. Remaining work includes:

include breadcrumbs at top (similar to NR1 catalog details page)

Mock

breadcrumbs in NR1

Acceptance criteria

[x] Each quick start page is full page width (like mock), no sidebar
[x] If I view details page on mobile, there's no hamburger menu / nav and page is responsive
[x] As a user, I can get a sense of where I am by viewing breadcrumbs, and clicking on link to quick starts landing

Related links
https://github.com/newrelic/developer-website/issues/1534
https://github.com/newrelic/developer-website/tree/clang/quick-start-layout

closing since all prs merged, criteria checked off.


How to fix the parameters of model except the last two FC layers?

I don not find codes about how to fix the parameters of model except the last two FC layers?

I don't think they do. In https://github.com/ucbdrive/few-shot-object-detection/blob/master/docs/TRAIN_INST.md, they just say that they combine the base weights from the base model with the novel weights by running
python3 -m tools.ckpt_surgery \
        --src1 checkpoints/voc/faster_rcnn/faster_rcnn_R_101_FPN_base1/model_final.pth \
        --src2 checkpoints/voc/faster_rcnn/faster_rcnn_R_101_FPN_ft_novel1_1shot/model_final.pth \
        --method combine \
        --save-dir checkpoints/voc/faster_rcnn/faster_rcnn_R_101_FPN_all1

I don't think they do. In https://github.com/ucbdrive/few-shot-object-detection/blob/master/docs/TRAIN_INST.md, they just say that they combine the base weights from the base model with the novel weights by running
python3 -m tools.ckpt_surgery \
        --src1 checkpoints/voc/faster_rcnn/faster_rcnn_R_101_FPN_base1/model_final.pth \
        --src2 checkpoints/voc/faster_rcnn/faster_rcnn_R_101_FPN_ft_novel1_1shot/model_final.pth \
        --method combine \
        --save-dir checkpoints/voc/faster_rcnn/faster_rcnn_R_101_FPN_all1

All right, thanks for pointing that out.

All right, thanks for pointing that out.

Oh, I want to correct what I said. It appears that what I said above is for initializing with "Novel Weights" as opposed to "Random Weights." Fixing the parameters is done in the config file as seen in https://github.com/ucbdrive/few-shot-object-detection/blob/master/configs/COCO-detection/faster_rcnn_R_101_FPN_ft_all_10shot.yaml
  BACKBONE:
    FREEZE: True
  PROPOSAL_GENERATOR:
    FREEZE: True

Oh, I want to correct what I said. It appears that what I said above is for initializing with "Novel Weights" as opposed to "Random Weights." Fixing the parameters is done in the config file as seen in https://github.com/ucbdrive/few-shot-object-detection/blob/master/configs/COCO-detection/faster_rcnn_R_101_FPN_ft_all_10shot.yaml
  BACKBONE:
    FREEZE: True
  PROPOSAL_GENERATOR:
    FREEZE: True

It is right !

It is right !

They freeze the model layer here  https://github.com/ucbdrive/few-shot-object-detection/blob/6b0769b5d682fbf7fdcdaed0c1d0dfd51c373468/fsdet/modeling/meta_arch/rcnn.py#L53

They freeze the model layer here  https://github.com/ucbdrive/few-shot-object-detection/blob/6b0769b5d682fbf7fdcdaed0c1d0dfd51c373468/fsdet/modeling/meta_arch/rcnn.py#L53


i tried to install but it failed

i tried to install but it falis
C:\Users\admin\Downloads\openwithida-master\openwithida-master>pip -v install openwithida
Collecting openwithida
1 location(s) to search for versions of openwithida:

https://pypi.python.org/simple/openwithida/
Getting page https://pypi.python.org/simple/openwithida/
Looking up "https://pypi.python.org/simple/openwithida/" in the cache
No cache entry available
Starting new HTTPS connection (1): pypi.python.org

C:\Users\admin\Downloads\openwithida-master\openwithida-master>
when I executed the installer
C:\Users\admin\Downloads\openwithida-master\openwithida-master\openwithida>py installer.py --ida-folder C:\Program Files\IDA Pro 8.4
Traceback (most recent call last):
File "C:\Users\admin\Downloads\openwithida-master\openwithida-master\openwithida\installer.py", line 17, in
from openwithida import common
ModuleNotFoundError: No module named 'openwithida'
C:\Users\admin\Downloads\openwithida-master\openwithida-master\openwithida>py installer.py --ida-folder C:\Program Files\IDA Pro 8.4
Traceback (most recent call last):
File "C:\Users\admin\Downloads\openwithida-master\openwithida-master\openwithida\installer.py", line 17, in
from openwithida import common
ModuleNotFoundError: No module named 'openwithida'

Seems to be a pip issue. Does pip install work for other packages?
In any case, since you've already downloaded the repository, pip install . should also work.
(Or pip install -e . if you want to keep the openwithida-master folder.)

yes it was an old pip version fault with https, i use a newer version and it worked, thanks


Added Game History Feature

@iamparas0  This is the feature I came up with after working straight for 19hr in two days.
I'd be grateful if you can upgrade the issue to level 3.

@iamparas0 @sanjay-kv

@sanjay-kv The PR hasn't been merged by the mentors.
Feature of Game History #327

@iamparas0


DataTable - Update Example with multiple features included

The sample example for DataTable should include ways to use both sorting and filter feature, or documentation on how to add more than one feature in md-table. The implementation of this process is not very straightforward.

For the case of sorting + filter, what do you find makes it difficult to combine them?

Building the template
Triggering changes
Sorting and filtering the data simultaneously

The issue I am facing is when I am triggering changes, I am only getting results for one feature.

All that really matters is that in connect(), you must make sure that your return Observable is correctly mapping trigger events to the right results.

In the sorting example, you map the observable to a sorted array of _exampleDatabase.data
In the filtering example, you map the observable to a filtered array of _exampleDatabase.data

So really all you need to do is take your data, sort it, and filter it (or filter and then sort).
return Observable.merge(...displayDataChanges).map(() => {

  return this.getSortedData()
    .filter((item: UserData) => {
      let searchStr = (item.name + item.color).toLowerCase();
      return searchStr.indexOf(this.filter.toLowerCase()) != -1;
    });

});

Here's an example of a table that includes pagination, sorting, filtering, and selection.
https://plnkr.co/edit/EU3BBlViWpPf2NJW4PXx?p=preview
The code is actually already in the repo as table-overview-example but we have yet to include it into the docs site due to some theming issues. Will leave this issue up until we do so.

@andrewseguin and @willshowell Thank you. This really helped!

@andrewseguin thank you for the plunker link. That helped! Can you please provide an example with server side pagination. I am actually stuck in implementing this with http call

@uday4vunnam See https://github.com/angular/material2/pull/5766!

@willshowell Wow! thank you so much


Combine all dependency updates

Overview

Definition of Done

[x] There are no TODOs left in the code
[ ] The continuous integration build passes

Coverage remained the same at 84.229% when pulling 607e472f35eb60452d12932eba5618d989fb0085 on dmitry-timofeev:all-dep-updates into a00ad21b185c5b88b2d7264397dbb31a2464b971 on exonum:master.


simple full example on main page isn't working

I copied the full example content and the js in a new .html, and it isn't work.
The .js is loaded, everything in place.

Can you show us your html file? (create a gist)

Easiest way:
http://test.4i.hu/slideout/m.html

@timpisti the example works fine. You should open it on your touch device or emulate touch events on your browser.
Btw, if you want to open/close the slideout clicking on the button you should add the following code:
document.querySelector('#panel button').addEventListener('click', function() {
  slideout.toggle();
});

I'm going to update the full example adding this snippet.

Great, thank you


KAFKA-6207 : Include start of record when RecordIsTooLarge

When a message is too large to be sent (at org.apache.kafka.clients.producer.KafkaProducer#doSend), the RecordTooLargeException should carry the start of the record (for example, the first 1KB) so that the calling application can debug which message caused the error.
To resolve this, added functionality to log the first 1Kb of message, if RecordIsTooLarge exception is thrown.
Thanks,
Sumit Jawale
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

FAILURE
4022 tests run, 1 skipped, 1 failed.
--none--

FAILURE
4022 tests run, 1 skipped, 1 failed.
--none--

FAILURE
4022 tests run, 1 skipped, 1 failed.
--none--

:+1:

SUCCESS
8083 tests run, 5 skipped, 0 failed.
--none--

SUCCESS
8083 tests run, 5 skipped, 0 failed.
--none--

SUCCESS
8083 tests run, 5 skipped, 0 failed.
--none--

This is my first PR for kafka.
@guozhangwang @dguy @bbejeck Can you please review?
Thank You.

@guozhangwang @dguy @bbejeck Can you please review?
I have further optimized the code.
Thank You.