[go] Fake IP not working (Go said: 6007:Unable to retrieve required files)

[X] I've verified and I assure that I'm running youtube-dl 2017.03.02
[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

C:\Users\Desktop\youtube-dl>youtube-dl.exe -f best --all-subs --username PRIVATE --password july1987 --ap-username PRIVATE --ap-password july1987 --ap-mso DTV --continue --no-check-certificate http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'best', '--all-subs', '--username', 'PRIVATE', '--password', 'PRIVATE', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '--ap-mso', 'DTV', '--continue', '--no-check-certificate', 'http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.03.02
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-82833-gedb4f5d, ffprobe N-82833-gedb4f5d, rtmpdump 2.3
[debug] Proxy map: {}
[Go] 3698796: Downloading JSON metadata
[Go] 3698796: Retrieving Media Token
[Go] 3698796: Downloading Provider Redirect Page
[Go] 3698796: Downloading Provider Login Page
[Go] 3698796: Logging in
[Go] 3698796: Confirming Login
[Go] 3698796: Retrieving Session
[Go] 3698796: Retrieving Authorization Token
[Go] 3698796: Retrieving Media Token
[Go] 3698796: Downloading JSON metadata
WARNING: [Go] Video is geo restricted. Retrying extraction with fake IP <IP_ADDRESS> (US) as X-Forwarded-For.
[Go] 3698796: Downloading JSON metadata
[Go] 3698796: Retrieving Media Token
[Go] 3698796: Downloading Provider Redirect Page
[Go] 3698796: Downloading Provider Login Page
[Go] 3698796: Logging in
[Go] 3698796: Confirming Login
[Go] 3698796: Retrieving Session
[Go] 3698796: Retrieving Authorization Token
[Go] 3698796: Downloading JSON metadata
ERROR: Go said: 6007:Unable to retrieve required files for playback. Please try again in a few minutes.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\YoutubeDL.py", line 761, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\common.py", line 427, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\go.py", line 110, in _real_extract
youtube_dl.utils.ExtractorError: Go said: 6007:Unable to retrieve required files for playback. Please try again in a few minutes.
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee
Single video: http://watchdisneychannel.go.com/liv-and-maddie/video/vdka3712878/04/13-sing-it-livearooney
Single video: http://abc.go.com/shows/oscars/episode-guide/season-89/4-the-oscars-2017

Description of your my issue.
Fake IP not working. I can provide my TV credentials if needed.

Does it work with --no-geo-bypass?

No. I'm not in US.
C:\Users\Desktop\youtube-dl>youtube-dl.exe -f best --all-subs --username<EMAIL_ADDRESS>--password july1987 --ap-username<EMAIL_ADDRESS>--ap-password july1987 --ap-mso DTV --continue --no-check-certificate --no-geo-bypass http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee -v [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-f', 'best', '--all-subs', '--username', 'PRIVATE', '--password', 'PRIVATE', '--ap-username', 'PRIVATE', '--ap-password', 'PRIVATE', '--ap-mso', 'DTV', '--continue', '--no-check-certificate', '--no-geo-bypass', 'http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee', '-v'] [debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252 [debug] youtube-dl version 2017.03.02 [debug] Python version 3.4.4 - Windows-10-10.0.14393 [debug] exe versions: ffmpeg N-82833-gedb4f5d, ffprobe N-82833-gedb4f5d, rtmpdump 2.3 [debug] Proxy map: {} [Go] 3698796: Downloading JSON metadata [Go] 3698796: Retrieving Media Token [Go] 3698796: Downloading Provider Redirect Page [Go] 3698796: Downloading Provider Login Page [Go] 3698796: Logging in [Go] 3698796: Confirming Login [Go] 3698796: Retrieving Session [Go] 3698796: Retrieving Authorization Token [Go] 3698796: Retrieving Media Token [Go] 3698796: Downloading JSON metadata ERROR: 1002:You appear to be outside the United States or its territories. Due to international rights agreements, we only offer this video to viewers located within the United States and its territories. This video is available in United States. You might want to use a VPN or a proxy server (with --proxy) to workaround. Traceback (most recent call last):   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\YoutubeDL.py", line 761, in extract_info   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\common.py", line 427, in extract   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\go.py", line 108, in _real_extract   File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\common.py", line 701, in raise_geo_restricted youtube_dl.utils.GeoRestrictedError: 1002:You appear to be outside the United States or its territories. Due to international rights agreements, we only offer this video to viewers located within the United States and its territories.

It's not supposed to work in all cases. It will only work if all checkpoints that verify geo location honor X-Forwarded-For header.

What do you mean? It never works!

Only with the free ones.

In 8e1409fd805b3b5e3731da66a2101494643a06ea, @remitamine wrote:

use geo bypass only for free videos

Seems the bypass works for free videos only? By default X-Forward-For is always used in face of GeoRestrictedError. If we know it won't work, how about explicitly disabling it to prevent further confusions? (I didn't test it as I don't have an account)
diff --git a/youtube_dl/extractor/go.py b/youtube_dl/extractor/go.py
index 4c9be47b4..30c666e67 100644
--- a/youtube_dl/extractor/go.py
+++ b/youtube_dl/extractor/go.py
@@ -101,6 +101,9 @@ class GoIE(AdobePassIE):
                         'token_type': 'ap',
                         'adobe_requestor_id': requestor_id,
                     })
+                    # Explicitly disables X-Forward-For bypassing as it works
+                    # for free videos only and may bring confusions (#12355)
+                    self._GEO_BYPASS = False
                 else:
                     self._initialize_geo_bypass(['US'])
                 entitlement = self._download_json(

If you don't have an account, you can find a stolen one here: http://freebie-nation.org/

@RuneMagle I deleted your last comment as we don't want to spread illegal stuffs.

Well, I wouldn't say it's illegal, just a...workaround...

Works just fine in the US, even without a login.

E:\>youtube-dl.exe --verbose http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.03.02
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-82966-g6993bb4, ffprobe N-72383-g7206b94, rtmpdump 2.4
[debug] Proxy map: {}
[Go] 3698796: Downloading JSON metadata
[Go] 3698796: Retrieving Authorization Token
[Go] 3698796: Retrieving Media Token
[Go] 3698796: Downloading JSON metadata
[Go] 3698796: Downloading m3u8 information
[debug] Invoking downloader on 'http://content-auso3.uplynk.com/1ab51bd7495d49478b26770b4c22032b/j.m3u8?exp=1488651346&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10085953&iph=d6f86aa9c907b9fd9e516da8fededd6f334288018690a5fb7968b452b27fa498&rays=jihgfedcb&euid=D6BD9435-8213-41BB-ACB6-9EA70A917473_000_1_001_lf_03-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&sig=92e029ddcf236ac6301275b7f16d92185f5cc614fcea2d53c03583be9614ecaa&pbs=614233d7d4654542af68ca583208a7e0'
[download] Destination: S2 E1 - Jewel-bilee-3698796.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Language: en-us,en;q=0.5
' -i 'http://content-auso3.uplynk.com/1ab51bd7495d49478b26770b4c22032b/j.m3u8?exp=1488651346&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10085953&iph=d6f86aa9c907b9fd9e516da8fededd6f334288018690a5fb7968b452b27fa498&rays=jihgfedcb&euid=D6BD9435-8213-41BB-ACB6-9EA70A917473_000_1_001_lf_03-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&sig=92e029ddcf236ac6301275b7f16d92185f5cc614fcea2d53c03583be9614ecaa&pbs=614233d7d4654542af68ca583208a7e0' -c copy -f mp4 -bsf:a aac_adtstoasc 'file:S2 E1 - Jewel-bilee-3698796.mp4.part'
ffmpeg version N-82966-g6993bb4 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 70.100 / 57. 70.100
  libavformat    57. 61.100 / 57. 61.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[aac @<PHONE_NUMBER>822c40] element type mismatch 1 != 0
Input #0, hls,applehttp, from 'http://content-auso3.uplynk.com/1ab51bd7495d49478b26770b4c22032b/j.m3u8?exp=1488651346&ct=a&oid=21885d134fa441488df8e1d7acee8c66&eid=10085953&iph=d6f86aa9c907b9fd9e516da8fededd6f334288018690a5fb7968b452b27fa498&rays=jihgfedcb&euid=D6BD9435-8213-41BB-ACB6-9EA70A917473_000_1_001_lf_03-06-00_NA&cdn=ec&stgcfg=datg&pp2ip=0&sig=92e029ddcf236ac6301275b7f16d92185f5cc614fcea2d53c03583be9614ecaa&pbs=614233d7d4654542af68ca583208a7e0':
  Duration: 00:35:54.45, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (HE-AAC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 23.98 tbr, 90k tbn, 48 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:2: Data: timed_id3 (ID3  / 0x20334449)
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:S2 E1 - Jewel-bilee-3698796.mp4.part':
  Metadata:
    encoder         : Lavf57.61.100
    Stream #0:0: Video: h264 (High) ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 23.98 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (HE-AAC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 1118 fps=365 q=-1.0 Lsize=   19826kB time=00:00:46.84 bitrate=3466.9kbits/s speed=15.3x
video:19093kB audio:725kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.041663%
Exiting normally, received signal 2.

ERROR: Interrupted by user

Yeah, I know. It works fine with me too, but I can only get it to work with very slow VPN. But it don't work with no VPN, because I'm in DK. I don't know how you get it without login though, because it's locked, and it doesn't work here.
C:\Users\rumag\Desktop\youtube-dl>youtube-dl.exe --verbose http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'http://watchdisneychannel.go.com/descendants-wicked-world/video/vdka3698796/02/01-jewelbilee']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.03.02
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-82833-gedb4f5d, ffprobe N-82833-gedb4f5d, rtmpdump 2.3
[debug] Proxy map: {}
[Go] 3698796: Downloading JSON metadata
[Go] 3698796: Retrieving Media Token
ERROR: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\YoutubeDL.py", line 761, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\common.py", line 427, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\go.py", line 92, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\adobepass.py", line 1366, in _extract_mvpd_auth
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpbcda0ng_\build\youtube_dl\extractor\adobepass.py", line 1346, in raise_mvpd_required
youtube_dl.utils.ExtractorError: This video is only available for users of participating TV providers. Use --ap-mso to specify Adobe Pass Multiple-system operator Identifier and --ap-username and --ap-password or --netrc to provide account credentials.


What is the example C:\returnvalue.sql supposed to illustrate?

Hi
I don't get the point of this example. All it does is return the value 100.
Thanks
Marcel

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

ID: 57bb7336-951e-cab7-522e-abb98e7f7a54
Version Independent ID: 339664c0-7de2-720a-d28d-49e38288a240
Content: Use the sqlcmd Utility - SQL Server Management Studio (SSMS)
Content Source: docs/ssms/scripting/sqlcmd-use-the-utility.md
Product: sql
Technology: scripting
GitHub Login: @markingmyname
Microsoft Alias: maghan

@Mannigfaltigkeit -- thank you for your feedback.  Yes, returnvalue.sql only demonstrates how to set an exit code; the remainder of that example file was mistakenly copied from the subsequent example windowsscript.bat.  I am updating the article.

@markingmyname -- Mark, please review private PR 15205.


Problem with zoom

we arrive at zoom 22 (so unreadable) when :

we search and find a place (ctrl+F)
we geolocate (Show my location)

I think that the maximum zoom defined by the tiles is no longer used

Done in 1.12.2 :)


Feature Request: Add a CDN install method

It would be much more convenient for rails asset pipeline users to have a CDN link. We can just include vue, bulma, and buefy via the CDN and run the constructor.

I've made a fiddle (https://jsfiddle.net/rafaelpimpa/0afsyg9v/) but didn't have time to add to the docs, the CDNs used was:
script:
https://unpkg.com/buefy

style:
https://unpkg.com/buefy/lib/buefy.css

Thanks, this works great.

Added to docs and readme.


adding dev dependency = @babel/plugin-transform-modules-commonjs

I was using pnpm as a package manager
when I tried to do pnpm i, the command failed with following message
<EMAIL_ADDRESS>build:commonjs /Users/akshay/code/test/lib/react-redux
> cross-env BABEL_ENV=commonjs babel src --out-dir lib

Error: Cannot find module '@babel/plugin-transform-modules-commonjs' from '/Users/akshay/code/test/lib/react-redux'
    at Function.resolveSync [as sync] (/Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/resolve@1.17.0/node_modules/resolve/lib/sync.js:89:15)
    at resolveStandardizedName (/Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/@babel/core@7.10.4/node_modules/@babel/core/lib/config/files/plugins.js:101:31)
    at resolvePlugin (/Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/@babel/core@7.10.4/node_modules/@babel/core/lib/config/files/plugins.js:54:10)
    at loadPlugin (/Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/@babel/core@7.10.4/node_modules/@babel/core/lib/config/files/plugins.js:62:20)
    at createDescriptor (/Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/@babel/core@7.10.4/node_modules/@babel/core/lib/config/config-descriptors.js:154:9)
    at /Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/@babel/core@7.10.4/node_modules/@babel/core/lib/config/config-descriptors.js:109:50
    at Array.map (<anonymous>)
    at createDescriptors (/Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/@babel/core@7.10.4/node_modules/@babel/core/lib/config/config-descriptors.js:109:29)
    at createPluginDescriptors (/Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/@babel/core@7.10.4/node_modules/@babel/core/lib/config/config-descriptors.js:105:10)
    at plugins (/Users/akshay/code/test/lib/react-redux/node_modules/.pnpm/@babel/core@7.10.4/node_modules/@babel/core/lib/config/config-descriptors.js:40:19) {
  code: 'MODULE_NOT_FOUND'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build:commonjs: `cross-env BABEL_ENV=commonjs babel src --out-dir lib`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:commonjs script.

installing @babel/plugin-transform-modules-common-js fixed the error and so thought of creating pull request
I run test with npm run test and it passed as well

I'm kinda confused - why are you even trying to build React-Redux yourself in the first place?

We don't use pnpm for local development. That dependency is already provided by @babel/preset-env, and if you use npm it will be installed. Please use npm if you want to build it on your own.

Sure, thanks!, it works with npm
Excuse me for non-relevance!
I just trying to see how do you write and organize code, and npm i failed.


[Feature Request] Include move_to function

🚀 Feature Request
The Move language includes move_from() and move_to_sender() functions, however it does not include a move_to() function in which a recipient address can be specified. This function is however included already in the vm. Please include this function in the stdlib:
move_to<t: StructName>(recipient: address, t: struct)

Motivation
This function is necessary in order to send a resource to another address than the sender's. A use case could be a product to which the ownership rights can be sold to another person. In this case, the rights need to be moved_from the sender's address and moved_to the recipient's address.
Pitch
Describe the solution you'd like
Integrate the vm function MOVE_TO into the Builtin syntax.
Describe alternatives you've considered
I'm not aware of how to solve the problem from my motivation otherwise. If that's possible, please advise.
Are you willing to open a pull request? (See CONTRIBUTING)
I would try, yes.
Additional context
Example Code of my Problem
module Counter {
    resource T {
        counter: u64
    }

    public create() {
        let t: R#Self.T;

        t = T {
            counter: 0
        };

        return move(t);
    }

    public increment(counter_address: address) {
        let t: R#Self.T;
        let t_new: R#Self.T;
        let increment: u64;

        T { counter } = move(counter_address);
        increment = 1;

        t_new = T {
            counter: move(counter) + copy(increment)
        };

        // The counter should stay at the same address
        move_to<T>(counter_address, t_new);

        return;
    }
}

Good question/suggestion! The restrictive nature of MoveToSender is intentional, and it's not in our plans to support a more permissive MoveTo(address). We discuss the reasoning for this in more detail in this Discourse post, but I'll briefly summarize here + suggest a design pattern for what you are trying to implement.
Why Move implements MoveToSender instead of MoveTo(address)
Move does not allow you to move a resource to an address other than the sender’s. The reason for this is that publishing a resource under your account is a privileged operation. Letting someone else publish a resource under your account would be like letting someone else install an app on your phone. Restricting this privilege to the transaction sender ensures that Libra users have control over the content of their own accounts. No one should be able to clutter account storage with resources the owner doesn’t want.
Implementing the counter example
module Counter {
    resource T {
        counter: u64
    }

    // lets anyone publish a Counter.T under their account
    public create() {
        let t: R#Self.T;

        t = T {
            counter: 0
        };
        move_to_sender<T>(move(t));

        return;
    }

    public increment(counter_address: address) {
        let t_ref: &mut R#Self.T;
        let counter_ref: &mut u64;

        // acquire a mutable reference to the T at counter_address
        t_ref = borrow_global<T>(move(counter_address));
        counter_ref = &mut move(t_ref).counter;
        // increment the counter by mutating the reference
        *move(counter_ref) = *copy(counter_ref) + 1;

        return;
    }
}

Thanks, that clears it up. I agree with your decision on keeping the move_* functionality limited. I have some questions regarding resources, but I'll open another issue for that. Thanks however for your answer!

If this function is however included already in the vm, then people can do it in bytecode level.
Am I right? So in order to totally get rid of this functionality, you have to remove this function
in the virtual machine.

Without move_to, you are unable to send an asset to someone unless she has the asset.
In the above code, you can only modify other people's assets, you can't create the assets.
This pattern is totally different from what etherum ERC20 does.
What's the best pattern to transfer assets to other people?


User#getPremiumType()

General Troubleshooting

[X] I have checked for similar issues.
[X] I have updated to the latest JDA version.
[X] I have checked the branches or the maintainers' PRs for upcoming features.

Feature Request
Implement a User#getPremiumType() method to get the Premium (Discord Nitro) type of a User. The Discord Docs support this via the premium_type? parameter in the User Object. The parameter returns an Integer which could be converted to a PremiumType Enum.
https://discord.com/developers/docs/resources/user#user-object-premium-types

Example Use-Case
You could use this to check if a Discord User has Nitro and which Nitro Level the user has. For Example: I would like to show the Nitro Badge in the User Command of my Discord Bot.

Premium types are only available through an OAUTH scope, and are not visible to regular bots

Bots have no access to this information and thus we cannot provide it in JDA. You should use OAuth2 if you want to access these user properties.

Ok, thanks for the info.


fizz_buzz_using_dictionaries_in_python

using dictionaries i solved fizzbuzz

Hi, thank you for your PR
Unfortunately a solution similar to yours has already been submitted
The goal is to find creative/abstract new solutions to FizzBuzz.
See The top 5 samples here.


Wrong truncate result

If there is long word in text and truncating stops on this word the result will be just '...'
truncate('foooooooooooooooooooooooo smth else here', 5) // { html: '...', text: '...' }

This is by design.


[PIO-31] Move from spray to akka-http

Ported following servers to Akka HTTP from Spray.

AdminServer (AdminAPI)
Dashboard
EventServer
PredictionServer (CreateServer)

First, I also tried to replace json4s with spray-json which is a default supported JSON library in Akka HTTP, but json4s is used deeply in PredictionIO. So I abandoned to do it. The current combination is Akka HTTP and json4s.

@shimamoto Could you take a look?

What about documentation?

Thanks. I removed unused code and fixed documentation! Regarding CORS support, how do you think about my above comment?

LGTM except for CORS.

@takezoe Looks like SSL support is dropped. Should we create another PR to add that back?

My opinion is that SSL support is too much.  So we can enable SSL using them if we need it.

I used to think that way as well, but I humbly disagree now. After I learned about defense in depth (https://reinout.vanrees.org/weblog/2017/05/02/https-behind-proxy.html is a good read) and security audit, it is in fact a desirable feature. I can take on that as a separate PR.

@dszeto I reverted SSL support for Akka HTTP in af75a8034694aa5bcc772e844bdc14c9e79fe689. But I realized that currently it's only used in Dashboard as same as CORS support. So I don't know if it's worth to keep maintaining.

@takezoe It should be in pio deploy as well: https://github.com/apache/predictionio/blob/dc08628eb6489e594af369310bb1c9d36c81d15a/core/src/main/scala/org/apache/predictionio/workflow/CreateServer.scala#L251

@dszeto Anyway I reverted SSL support for CreateServer as well. Please take a look.


Upgrade Manifest to V3

Motivation
The current manifest format is not extensible. We need to upgrade it to v3.
Refactoring
Manifest V3 includes Promise support, which is critical for the Chrome.Storage API. In V2, it causes the callback hell.
Chrome.Storage API is playing a critical role in the extension. We could rewrite the storage API to use async/await. It will make the code more readable.
We need to upgrade to V3 as soon as possible.
References

https://developer.chrome.com/docs/extensions/mv3/intro/mv3-overview/

We are waiting for the official support of MV3 in Firefox. (see #8)

We can discuss in the original issue (#8).


fix: fixed login-flow for e2e tests

This is new, login flow works but user flow doesn't now,

test_in_android fails because it can't send btc to the user "galoytest" stating the reason that the user doesn't exist, however, when I try sending it to galoytest in staging env, I don't get the error


AttributeError: module 'cellrank' has no attribute 'kernels'

When I attempt to run cellrank in a conda enviornment that also contains velocyto (so that I can generate my count matrices and then proceed) I am running into an issue where cellrank claims it has no kernel module, despite me copying and pasting the vignette into my shell script.
# ------- 1. installing packages common to all vignettes -------
print("Step 2: cellrank preprocessing has begun")
import numpy as np
import sys
import pandas as pd
import cellrank as cr
import scvelo as scv
import scanpy as sc
import warnings
warnings.simplefilter("ignore", category=UserWarning)

## ------- 2. Configuring basic packages -------
scv.settings.verbosity = 3
sc.settings.set_figure_params("scvelo") #these may change as we wish
cr.settings.verbosity = 2
warnings.simplefilter("ignore", category=UserWarning)

# ------- 3. read input data from loom file generated from velocyto -------
adata = scv.read("<my_data>.loom", cache=True)
# Loading in test data & confirming
scv.pl.proportions(adata)
adata

# ------- 4. Running scVelo -------
# Running scvelo
scv.tl.recover_dynamics(adata, n_jobs=8)
scv.tl.velocity(adata, mode="dynamical")

# ------ 5. main RNA Velocity Kernel --------
vk = cr.kernels.VelocityKernel(adata)
...

AttributeError: module 'cellrank' has no attribute 'kernels'
...

Any ideas about what could be going on here?

I guess this must be an outdated CellRank version, could be due to some version conflicts with velocyto.

I'm quite sure this is the most recent version (I installed from conda a few days ago). How can I check for sure?

Try running python -c "import cellrank; print(cellrank.__version__)".

I have version 2.0.0
This is the the most up to date version, right?

Interestingly enough, I verified the version by printing it in the terminal, so I know that it is running v2.0.0.
Thanks for that suggestion, it was very informative - even when explicity importing cellrank.kernels I still get the issue of ```
$ python -c 'import cellrank.kernels; print(print(cellrank.kernels.all))'
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'cellrank.kernels'

Any idea of why this could be the case?

Maybe for some reason it's just not loaded; one way to test would be running:
python -c "import cellrank.kernels; print(cellrank.kernels.__all__)"

Thanks for your suggestion, but I tried doing that and again it gave the same error.

Hi @jwalewski, does the error persist when you re-install the current CellRank version from conda?

Closing this, fee free to reopen if the error still persists in the current CellRank version.


nixos-rebuild fails with "gitolite-init Fatal: fingerprinting failed for..."

I don't know much more than this:
Apr 12 18:37:13 lucy gitolite-init-start[28302]: FATAL: fingerprinting failed for 'keydir/<somehash>-gitolite-admin.pub'

and some stackoverflow thread but I don't know how to fix this.

I was bit by this as well. It fails on other key for me -- looks like it would fail on any.

How did you solve this issue?

Can someone tell me where this "keydir" should be located? I cannot find it in my /nix/store!

The keydir should be in your gitolite datadir, which is /var/lib/gitolite in the default settings.

Okay.
My /var/lib/gitolite shows:
projects.list
repositories

oh it should be in "/var/lib/gitolite/.gitolite/keydir", my bad.

Okay, everything is there. How to check why it fails?

It failed for me for every key on v3.6.2. So, besides upgrading gitolite to v3.6.3, there is not really much you can do.

Update solved the issue.


Add 'Previous' method to 'IRecurring' interface to allow traversal of the sequence backwards

Hi @gavynriebau. Would you be open to accepting this PR to add a method that allows traversing the sequence backwards?
Thanks,
Richard

Hi @rars, nice work! Thank you very much and apologies for my delayed response

Thanks @gavynriebau. Has this been published as 2.0.4?


Broken tests

Current tests are broken, needs fixing

One test comparing the output from an old python implementation (which is arguably not super reliable) is quite broken (marked with @test_broken in #16). The only change I can think of that would have caused this is updates to the solvers or MethodOfSteps.
Would be nicer to have some lower level tests checking functionality of the filter at each step. That would help with future debugging, since now it's not clear what goes wrong when a change is made.


Add +swbt none to remove busy-wait and improve performance

Utilizing busy-wait to reduce latency primarily makes sense for applications that are running as the only node on the machine. So it doesn't make sense for ElixirLS because there will usually be other processes running on the machine such as the editor and potentially other ElixirLS instances.
A blog post that touches on +swbt none:
https://www.ably.io/blog/beam-optimization-mqtt/
Also add sbwtdcpu and sbwtdio
Fixes #328

We also need similar changes in language_server.bat and debugger.bat

Ah, very good point! Updated.


[BEAM-13430] Ensure that testRuntimeMigration depends on "default" configuration allowing us to get the main "jar" as a dependency.

This better mirrors what the "shadow" and "shadowTest" configurations do and what "testRuntime" used to do with gradle 6.x and earlier.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @ibzib

Run Python PreCommit

Run Python PreCommit


Create webhook_deploy with a path-based _id

Hey Nick 👋
First of all, congratulations for this beautiful, intuitive plugin. Effortless and extremely practical, it's really helping :D
I'm a bit concerned about security, though: as we need to add a Vercel token & webhook to our configuration, it'd be ideal if the webhook_deploy documents created were private. To do this, all we need to do is add a path before the _id of each created document, as path-based _ids are private by default (see docs). This makes no difference in private datasets as all their documents are private by default.
A good reference of a plugin using this technique is the official Mux Input.
 I opted for Math.random() as it's the cheapest way to add almost-unique ids, but we could always reach for nanoid or similar 😉
Again, thank you a ton  - no rush to review this 😄

Hey there @hdoro so sorry I missed this! Thanks so much for the kind words ☺
I think this is a totally valid point you bring up, I hadn't thought of the implications of the documents technically being public.
I love your solution, but I'm curious what security issues you see lingering with this "cheap and dirty" approach? I'm also a huge fan of nanoid, which I don't think would be all that difficult to use instead of Math.random() 😎

Hey there @hdoro so sorry I missed this! Thanks so much for the kind words ☺
I think this is a totally valid point you bring up, I hadn't thought of the implications of the documents technically being public.
I love your solution, but I'm curious what security issues you see lingering with this "cheap and dirty" approach? I'm also a huge fan of nanoid, which I don't think would be all that difficult to use instead of Math.random() 😎

@hdoro FYI this all checks out! I updated it to use nanoid() instead, and merged it in. New version is up on NPM ✨

@hdoro FYI this all checks out! I updated it to use nanoid() instead, and merged it in. New version is up on NPM ✨


Elasticsearch: incomplete first trace in new daily index

Requirement - what kind of business use case are you trying to solve?

using jaeger, elasticsearch with daily automatically created indices and kibana for logging
java test application that produces one trace with several spans every 5 minutes
there are some sub spans that are started and closed in parallel threads

Problem - what in Jaeger blocks you from solving the requirement?
All but one span are missing in the first trace of a new daily index. And this span is not the first or the last but some span in between.

yesterday i manually created the index for today and let the test application run again and no spans got lost, that confirms it has something to do with the automatic creation of a new index

@fthiel thanks for reporting we will have a look

Hi,
could you achieve any progress here? @pavolloffay

@fthiel I failed to reproduce. Could  you please clarify:

what ES version are you using?
number of jaeger collectors
are you reporting spans to collector or agent?

If you can share a reproducer that would be the best.

ElasticSearch 6.3.2
one jaeger collector
we report spans to the collector

Can this be related to the version we have for the collector and agent? These are jaeger-collector:1.2.0 and jaeger-agent:1.2.0. We will try to upgrade it to 1.7 next week and test this again.

@fthiel do you see a similar error in your logs?
{"level":"error","ts":1538747963.7151263,"caller":"app/span_processor.go:102","msg":"Failed to save span","error":"Failed to create index: elastic: Error 400 (Bad Request): index [jaeger-span-2018-10-05/wIcfjO5ZQyyYeMNeoGpIBQ] already exists [type=resource_already_exists_exception]","errorVerbose":"elastic: Error 400 (Bad Request): index [jaeger-span-2018-10-05/wIcfjO5ZQyyYeMNeoGpIBQ] already exists [type=resource_already_exists_exception]\nFailed to create index\ngithub.com/jaegertracing/jaeger/plugin/storage/es/spanstore.(*SpanWriter).logError\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/plugin/storage/es/spanstore/writer.go:191\ngithub.com/jaegertracing/jaeger/plugin/storage/es/spanstore.(*SpanWriter).createIndex\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/plugin/storage/es/spanstore/writer.go:152\ngithub.com/jaegertracing/jaeger/plugin/storage/es/spanstore.(*SpanWriter).WriteSpan\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/plugin/storage/es/spanstore/writer.go:123\ngithub.com/jaegertracing/jaeger/cmd/collector/app.(*spanProcessor).saveSpan\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/span_processor.go:101\ngithub.com/jaegertracing/jaeger/cmd/collector/app.(*spanProcessor).(github.com/jaegertracing/jaeger/cmd/collector/app.saveSpan)-fm\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/span_processor.go:88\ngithub.com/jaegertracing/jaeger/cmd/collector/app.ChainedProcessSpan.func1\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/model_consumer.go:32\ngithub.com/jaegertracing/jaeger/cmd/collector/app.(*spanProcessor).processItemFromQueue\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/span_processor.go:125\ngithub.com/jaegertracing/jaeger/cmd/collector/app.NewSpanProcessor.func1\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/span_processor.go:56\ngithub.com/jaegertracing/jaeger/pkg/queue.(*BoundedQueue).StartConsumers.func1\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/pkg/queue/bounded_queue.go:65\nruntime.goexit\n\t/home/ploffay/bin/go/src/runtime/asm_amd64.s:2361","stacktrace":"github.com/jaegertracing/jaeger/cmd/collector/app.(*spanProcessor).saveSpan\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/span_processor.go:102\ngithub.com/jaegertracing/jaeger/cmd/collector/app.(*spanProcessor).(github.com/jaegertracing/jaeger/cmd/collector/app.saveSpan)-fm\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/span_processor.go:88\ngithub.com/jaegertracing/jaeger/cmd/collector/app.ChainedProcessSpan.func1\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/model_consumer.go:32\ngithub.com/jaegertracing/jaeger/cmd/collector/app.(*spanProcessor).processItemFromQueue\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/span_processor.go:125\ngithub.com/jaegertracing/jaeger/cmd/collector/app.NewSpanProcessor.func1\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/cmd/collector/app/span_processor.go:56\ngithub.com/jaegertracing/jaeger/pkg/queue.(*BoundedQueue).StartConsumers.func1\n\t/home/ploffay/projects/golang/src/github.com/jaegertracing/jaeger/pkg/queue/bounded_queue.go:65"}

This has been fixed in https://github.com/jaegertracing/jaeger/pull/921 and released in 1.6. Please try to update and let us know.

@fthiel I will close this. If the issue is still there after update please comment/reopen.

just if someone else gets this problem: updating jaeger to 1.7 solved this


The work @ contoso template provisioning is failed

Hi @VesaJuvonen
Thank you for the reply. I have try to recreate with totally new site but i'm getting the following error.
Type = System.Exception Message = {"DocumentsUrl":null,"ErrorMessage":null,"GroupId":"ab4315bf-6d77-4863-a304-65f5968724fc","SiteStatus":1,"SiteUrl":null} Source = OfficeDevPnP.Core TargetSite = Void MoveNext() StackTrace = at OfficeDevPnP.Core.Sites.SiteCollection.d__3.MoveNext() in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Sites\SiteCollection.cs:line 256 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at OfficeDevPnP.Core.Sites.SiteCollection.Create(ClientContext clientContext, TeamSiteCollectionCreationInformation siteCollectionCreationInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Sites\SiteCollection.cs:line 43 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchySequenceSites.ProvisionObjects(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser tokenParser, ProvisioningTemplateApplyingInformation applyingInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectHierarchySequenceSites.cs:line 59 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation provisioningInfo) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 207 at Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation applyingInformation) in C:\github\PnP-Sites-Core\Core\OfficeDevPnP.Core\Extensions\TenantExtensions.cs:line 42 at SharePointPnP.ProvisioningApp.WebJob.ProvisioningFunction.d__2.MoveNext() in C:\github\sp-provisioning-service\SharePointPnP.ProvisioningApp\SharePointPnP.ProvisioningApp.WebJob\ProvisioningFunction.cs:line 360 HResult = -2146233088
Originally posted by @muges01 in https://github.com/SharePoint/sp-dev-docs/issues/3874#issuecomment-488795440

Hi @VesaJuvonen ,
Any recommendation to resolve this issue?
Thank you
muges

Hi @VesaJuvonen
Is there any updated on this issue?
regards
Muges

Effective June 2019, the official guidance is to post all issues related to the PnP provisioning service to the following GitHub repository: https://github.com/SharePoint/sp-provisioning-service.
We've transferred your issue to the issue list for that repo. In the future, please ensure you use the https://github.com/SharePoint/sp-provisioning-service repo's issue list for all issues, questions & bug reports.


Vim9: no error for declaring variable with wrong type from the command-line with :vim9cmd

Steps to reproduce
Run this shell command:
vim -Nu NONE +'vim9cmd var x: job = [123, "abc", true] | echo x'

No error is given.  This list constant is echo'ed:
[123, 'abc', v:true]

Expected behavior
Not sure.  To be consistent with a Vim9 script, we might want to enforce type checking even when an assignment is executed from the command-line via :vim9cmd.  In that case, an error should be given, because a list constant containing items with mixed types has the type list<any>.  But in the assignment, we specified job which cannot be satisfied by list<any>.
What happens is that when we declare a variable from the command-line, it's automatically turned into a global variable:
$ vim -Nu NONE +'vim9cmd var x: job = [123, "abc", true] | echo g:
{'x': [123, 'abc', v:true]}
^                         ^

That makes sense.  It's the only available scope: the assignment command is not executed from inside a block, a function, a script ...  Besides, global variables cannot be declared, and have no types.  Hence why no error is given.
However, silently ignoring the declaration without giving an error could be confusing (“why does this declaration fail in my script but not on the command-line?”).  Maybe we should give an error, or a warning.  Alternatively, if this is considered to be a convenient feature, then at least we might want to document what happens.  As a suggestion here is a patch:
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index 385238bfb..370c548df 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -60,6 +60,9 @@ rewrite old scripts, they keep working as before.  You may want to use a few
 		Evaluate and execute {cmd} using Vim9 script syntax and
 		semantics.  Useful when typing a command and in a legacy
 		script or function.
+		Note that if `:vim9` is used on the command line, and {cmd} is
+		`:var`, the variable will be global no matter what.  Any type
+		specification is silently ignored.

 :leg[acy] {cmd}					*:leg* *:legacy* *E1189* *E1234*
 		Evaluate and execute {cmd} using legacy script syntax and

Version of Vim
8.2 Included patches: 1-4495
Environment
Operating system: Ubuntu 20.04.4 LTS
Terminal: xterm
Value of $TERM: xterm-256color
Shell: zsh 5.8

Having "var x" declare a global variable would be very weird. You would use "g:x = value".
I don't see a reason to allow any variable declaration on the command line.  Most likely it would be a mistake.

why :vim9cmd g:foo = 123 is disallowed too ?

:vim9cmd g:foo = 123 is disallowed too ?

There is no reason to disallow publically available variables from being assigned (b:foo, g:foo, t:foo, v:oldfiles, w:foo).  Also, for those variables, the current error message is irrelevant, because they have no types and thus cannot be declared.  It looks like a regression.

why :vim9cmd g:foo = 123 is disallowed too ?

That was a mistake, I'll fix it.
--
Apathy Error: Don't bother striking any key.
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


Please release a newer version to central

atm 2.11 from october 2015 is the latest release on central
I'd like to use the new informationalVersion feature which was added in november
please consider releasing a new version to central

Released 2.12 right now ! :shipit:


Fix bug in function name comparison.

AbstractFunctionRestrictionsSniff did not allow for case-insensitive comparison of function names.

Note: Function names are case-insensitive, though it is usually good form to call functions as they appear in their declaration.

Ref: http://php.net/manual/en/functions.user-defined.php
Also:

Better be safe than sorry, so preg_quote()-ing the function names passed to this class.
Minor memory management improvement: no need to remember the matched function name.

The first commit adds a unit test proving the bug. The second commit fixes the bug.

Interesting. I just found another bug in this class which I had apparently accidentally fixed as well.
The wildcard replacement was not just replacing the *, but also the character before it. While for now, wildcard function groups was only used for curl_*, I expect this will be used more soon.
Example of the effect of the bug:
curlyhair(); should not match, but did.
Added unit test to that effect.


Fix local engine use in macOS plugins

Currently podhelper.rb will always point plugin builds at the cached engine artifacts, even when using --local-engine. In most cases this is fine, since when the final build actually runs it will be using the engine bundled into the app build, which will be the correct local engine build. When trying to test a local engine build with API additions against a local plugin modified to use those additions to ensure that they are working as expected, however, compilation will fail, because the new APIs won't be present in the plugin build.
This fixes that for macOS, and adds a TODO for iOS (which is more complicated to fix due to the host vs target build distinction).
macOS portion of https://github.com/flutter/flutter/issues/132228
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

Weird, I had that test working locally. Maybe it only works in some variants of the PluginTest invocation; I'll have to run all of them again.

Turns out doing a build --config-only when you already have a complete build doesn't regenerate the pod bits. It worked for me before because I had temporarily commented out the earlier test steps to make the write/test/debug iteration cycle faster.
I've added a clean before generating the local-engine config.


F5 and Ctrl+F5

Fix #1090: Launch project with debugging (F5)
Fix #1654: Launch project without debugging (Ctrl+F5)
Implement IDebugLaunchProvider for R projects.

There is some info in OneNote how to build swixproj on desktop if you want

:+1:

Pending Setup.15 changes

👍  Please file follow up items to document manual change to existing rxproj, honoring the Reset REPL option, and possibliy honoring the command line args, or hiding it from UI.

I'll add code to reset REPL - just forgot about it, and it's easy enough.

You probably need to install debugger.xaml too in cpsrules.wxi

Ah, indeed. I missed it because it gets loaded from experimental if it's there.

:+1:


Add in CSS fixes for Google Maps API v3.

Conflicting css rules apply to Google Maps API from Bootstrap that make the controls unusable, text boxes squished and marker boxes very tall. Includes a fix for IE for the text-wrapping along the bottom and sides of the maps that makes them very tall.

Now that we've moved to Bootstrap 3, I don't know if this is relevant any longer.  I'm closing it and we can re-open if necessary.


fix: aspect ratios

Fix for the following aspect ratios:
3:2, 5:4, and 16:9
Addresses Issue#38

Thanks for jumping on this @lucataco!
But it looks like these are still not correct?
Let's calculate the decimal value for each aspect ratio and compare it to the decimal value derived from the corresponding number pairs. We'll divide the first number by the second number in each case.

"1:1": (1024, 1024)
Aspect ratio: 1 / 1 = 1
Number pair: 1024 / 1024 = 1
Match: Yes

"16:9": (1360, 768)
Aspect ratio: 16 / 9 ≈ 1.7778
Number pair: 1360 / 768 ≈ 1.7708
Match: Close, but not exact (0.39% difference)

"21:9": (1536, 640)
Aspect ratio: 21 / 9 ≈ 2.3333
Number pair: 1536 / 640 = 2.4
Match: Close, but not exact (2.86% difference)

"3:2": (1152, 768)
Aspect ratio: 3 / 2 = 1.5
Number pair: 1152 / 768 = 1.5
Match: Yes

"2:3": (768, 1152)
Aspect ratio: 2 / 3 ≈ 0.6667
Number pair: 768 / 1152 ≈ 0.6667
Match: Yes

"4:5": (896, 1120)
Aspect ratio: 4 / 5 = 0.8
Number pair: 896 / 1120 = 0.8
Match: Yes

"5:4": (1120, 896)
Aspect ratio: 5 / 4 = 1.25
Number pair: 1120 / 896 = 1.25
Match: Yes

"3:4": (896, 1152)
Aspect ratio: 3 / 4 = 0.75
Number pair: 896 / 1152 ≈ 0.7778
Match: Close, but not exact (3.7% difference)

"4:3": (1152, 896)
Aspect ratio: 4 / 3 ≈ 1.3333
Number pair: 1152 / 896 ≈ 1.2857
Match: Close, but not exact (3.57% difference)

"9:16": (768, 1360)
Aspect ratio: 9 / 16 = 0.5625
Number pair: 768 / 1360 ≈ 0.5647
Match: Close, but not exact (0.39% difference)

"9:21": (640, 1536)
Aspect ratio: 9 / 21 ≈ 0.4286
Number pair: 640 / 1536 ≈ 0.4167
Match: Close, but not exact (2.78% difference)

In conclusion, 6 out of 11 aspect ratios match exactly with their corresponding number pairs. The other 5 are close but have small differences, ranging from 0.39% to 3.7%. These small differences are likely due to rounding to fit common screen resolutions while maintaining an approximate aspect ratio.

The numbers have the following constraints:

be divisible by 16
multiply to be as close to 1048576 as possible (but not higher)

I'll see if I can pick some better numbers.

Here are the highest resolutions that fit the criteria:
ASPECT_RATIOS = {
    "1:1": (1024, 1024),
    "16:9": (1280, 720),
    "21:9": (1344, 576),
    "3:2": (1152, 768),
    "2:3": (768, 1152),
    "4:5": (896, 1120),
    "5:4": (1120, 896),
    "3:4": (864, 1152),
    "4:3": (1152, 864),
    "9:16": (720, 1280),
    "9:21": (576, 1344),
}

This is quite a downgrade for 9:21. Maybe we should keep the original aspect ratios (under the right label) available? Those are:
1:1, 7:4, 12:5, 19:13, 13:19, 14:17, 17:14, 7:9, 9:7, 4:7, 5:12


Handle header values with whitespace pragmatically.

Raised via https://github.com/encode/httpx/issues/632
Currently header values with trailing whitespace are causing a ProtocolError to be raised. This is technically correct, but pragmatically it'd probably be a good idea for hyper-h2 to handle the case, silently trimming the whitespace.

Hi! Are you aware that you can control this behaviour using H2Configuration -> validate_inbound_headers?

Ah fantastic, thanks!


bindings/haskell: Package failed for opendal not released

info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-08-24, rust version 1.72.0 (5680fa18f 2023-08-23)
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
info: downloading component 'rust-analyzer'
info: installing component 'rust-analyzer'
    Updating crates.io index
warning: manifest has no description.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
   Packaging opendal-hs v0.40.0 (/home/runner/work/incubator-opendal/incubator-opendal/bindings/haskell)
   Verifying opendal-hs v0.40.0 (/home/runner/work/incubator-opendal/incubator-opendal/bindings/haskell)
    Updating crates.io index
error: failed to verify package tarball

Caused by:
  failed to select a version for the requirement `opendal = "^0.40"`
  candidate versions found which didn't match: 0.39.0, 0.38.1, 0.38.0, ...
  location searched: crates.io index
  required by package `opendal-hs v0.40.0 (/home/runner/work/incubator-opendal/incubator-opendal/bindings/haskell/target/package/opendal-hs-0.40.0)`
  perhaps a crate was updated and forgotten to be re-vendored?

https://github.com/apache/incubator-opendal/actions/runs/6218969586/job/16876227246
Can we use local content?

Seems we need to release opendal first before package haskell binding.

We can use cargo package --no-verify to keep going forcely.

Seems we need to release opendal first before package haskell binding.

That's right. It seems that we can't verify automatically by cargo.

Let me find other solutions.

Oh.

Note: crates.io does not accept packages that depend on crates from other registries.


Please bring back the old File -> Open behavior (that selects from the directory of the current file)

Until recently the File -> Open command opened a dialog in the directory of the current file. I heavily rely on that behavior to quickly find files in the context of the currently edited file. Starting today, the same command opens a dialog in the Recent Files directory. AFAICT this behavior is not customizable in the settings. Could this be fixed?

I had the same issue. I had to downgrade to go back to the previous behavior.

Oh yes, please bring back the old File... or make it customizable.
For us, the new behaviour is time consuming, especially on opening folders
IMHO : Customizable is the best option
Regards

Yes please, this is pretty annoying, I just noticed this too...
See my build:

Already fixed in insiders: You can give our preview releases a try from: https://code.visualstudio.com/insiders/


vote: tag v1.1.0

Release
This would mean tagging 235910ba8efad2370aa8f2de67e364342c0462fc as v1.1.0 to release.
Vote
We need at least 4 approvals from 6 maintainers to release notation-core-go v1.1.0.

[ ] Pritesh Bandi (@priteshbandi)
[ ] Junjie Gao (@JeyJeyGao)
[ ] Rakesh Gariganti (@rgnote)
[ ] Milind Gokarn (@gokarnm)
[ ] Shiwei Zhang (@shizhMSFT)
[x] Patrick Zheng (@Two-Hearts)

Changes

build(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 by @dependabot in https://github.com/notaryproject/notation-core-go/pull/219

Full Changelog:
https://github.com/notaryproject/notation-core-go/compare/v1.1.0-rc.1...235910ba8efad2370aa8f2de67e364342c0462fc
Action Requested
Please respond LGTM or REJECT (with reasoning).

LGTM

LGTM

As suggested by @shizhMSFT, we need to shift the golang support window to 1.22 - 1.23.

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Revote:
LGTM

LGTM

LGTM on 55e35686875491a8d6ad8a47de9c566383fb1b42

LGTM

Closing as released.


Error loading

When trying to load the base index.php file, I get this PHP error:

Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Failed opening required '/F:/Git/project/node_modules/vite-plugin-php/dist/router.php' (include_path='.;C:\php\pear') in Unknown on line 0

FWIW, my PHP .exe file is in C:\Program Files\php-8.3.4-Win32-vs16-x64, not C:\php. I've tried putting "binary: C:/Program Files/php-8.3.4-Win32-vs16-x64" in the usePHP() config, but didn't change anything.
I installed the plugin with "npm install vite-plugin-php --save", and the file router.php does exist in /node_modules/vite-plugin-php/dist/

Can you share your whole usePHP() config?

I just made a new project in Vite (vanilla).
vite.config.js:
// vite.config.js
import { defineConfig } from 'vite';
import usePHP from 'vite-plugin-php';

export default defineConfig({
	plugins: [usePHP()],
});

The index.html file renamed to index.php but otherwise untouched. Same error when I go to http://localhost:5173/

I wonder if its this slash at the beginning here:
Fatal error: Failed opening required '/F:/Git/
/F: instead of F:

(I'm doing dev on a windows machine, fyi)

Yeah, I noticed. Will need to debug it on Windows and get back to you.


bug: Wrong subtitle

Describe the bug
This should be - Implementing Vertical scaling in Node.js project instead of horizontal scaling
someone fix this

Only @hkirat can change it he has all the control over the notion docs


adds docs in hypedrive_market & renames vars in simulators

Codecov Report
Patch coverage: 85.71% and project coverage change: +0.01 :tada:

Comparison is base (2a922cc) 77.46% compared to head (166155c) 77.47%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #319      +/-   ##
==========================================
+ Coverage   77.46%   77.47%   +0.01%
==========================================
  Files          26       26
  Lines        2041     2042       +1
==========================================
+ Hits         1581     1582       +1
  Misses        460      460

Flag
Coverage Δ

unittests
77.47% <85.71%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

elfpy/markets/hyperdrive/hyperdrive_market.py
72.22% <ø> (ø)

elfpy/simulators/simulators.py
95.37% <85.71%> (+0.01%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Hotfix -- Wheel is missing minified static files

Codecov Report

Merging #507 (969a1d9) into master (2829d3e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #507   +/-   ##
=======================================
  Coverage   99.24%   99.24%
=======================================
  Files           7        7
  Lines         133      133
=======================================
  Hits          132      132
  Misses          1        1

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


ci: checkout code before trying to push to staging

🤖 Generated by Copilot at 2c52965
Summary
:sparkles::wrench::rocket:

This pull request adds a checkout step to the release-candidate workflow to allow creating pull requests to main. This facilitates the release process of the repository.

actions/checkout
Fetches all branches, creates
Pull requests in fall

Walkthrough

Add checkout step to release-candidate workflow (link)

@wittjosiah merged this pull request with Graphite.


Add ApplyStrangifier function

Adds ApplyStrangifier function with two inputs item id and strangifier id.

Upon completion we will receive 2 itemRemoved and 1 itemAcquired events.

Adds TradeUp function with one input item id array.

Upon completion we will receive 10 itemRemoved and 1 itemAcquired events.

Adds removeItemAttribute with enums from #20, its inputs are item id and value from TeamFortress2.Attributes Enum.

Didn't test assuming it worked in #20.

Add applyStrangePart function with two inputs item id and strange part id.

Upon completion we will receive 2 itemRemoved and 1 itemAcquired events.

Tried implementing removeStrangePart but don't know what strange_part_score_type corresponds to.
Checked item's attributes 380, 382, 384 and removed two so far outcome was.
Buffer Data => strange_part_score_type
0, 0, 56, 66 => 46
0, 0, 64, 66 => 48

What about civilian grade stat clock ? I couldn't find nothing about it

What about civilian grade stat clock ? I couldn't find nothing about it

No idea never used them.
If you need it to be made I'll need a decorated item and a stat clock.
You can contact me on discord there's a username on my profile.


ResourceRecordSet fails to create on acm certificate records

What happened?

I have this example that creates a record in my hostedzone that should enable DNS validation of my certificate:
apiVersion: route53.aws.crossplane.io/v1alpha1
kind: ResourceRecordSet
metadata:
  name: _dsj24j034j80f34j0adpsw.foo.example.com
spec:
  forProvider:
    type: CNAME
    resourceRecords:
    - value: _dfijodfsope9023r.dfsijqwiu.acm-validations.aws
    zoneId: Z051954628PAZ7EXQHR0T

But it fails with this message:
The ResourceRecordSet "_f4f176f1bab8dc3d6bd08e6e4986c178.customer-iam3.dfds.cloud" is invalid: metadata.name: Invalid value: "_f4f176f1bab8dc3d6bd08e6e4986c178.customer-iam3.dfds.cloud": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

The issue is mentioned here as well: https://github.com/crossplane/provider-aws/issues/804#issuecomment-969267759
Importing using external name works fine as mentioned here https://github.com/crossplane/provider-aws/issues/804#issuecomment-970443911
But this means I have to manually create them before I can start managing them with Crossplane.
What environment did it happen in?
Resource: ResourceRecordSet.v1alpha1.route53.aws.crossplane.io
Crossplane aws provider: crossplane/provider-aws:v0.24.1

creation with external-name annotation and metadata.name to something else is also working - is this an option ?

Hello @samidbb, did you have a chance to try the suggestion above? You can use following manifest to create the record:
apiVersion: route53.aws.crossplane.io/v1alpha1
kind: ResourceRecordSet
metadata:
  annotations:
    crossplane.io/external-name: "_dsj24j034j80f34j0adpsw.foo.example.com"
  name: myrecord
spec:
  forProvider:
    type: CNAME
    resourceRecords:
    - value: _dfijodfsope9023r.dfsijqwiu.acm-validations.aws
    zoneId: Z051954628PAZ7EXQHR0T

I ran into this issue as well and adding annotation helped. Is this how it's supposed to work? If yes, then the documentation should be updated to reflect that

Thank you @ezgidemirel. I had to chance to test your suggestion today and it's working fine for me

@samidbb that's great to hear!
@kmcarol26 I'll check the appropriate place for updating the documentation. Thanks for your input!

@kmcarol26 just noticed that it's already documented here :)

Tried replacing the "external-name" in a composition but it does not work for me. The patch is silently ignored:
  - name: validation-record
    base:
      apiVersion: route53.aws.crossplane.io/v1alpha1
      kind: ResourceRecordSet
      spec:
        forProvider:
          ttl: 300
          description: 'Managed by Crossplane'
        providerConfigRef:
          name: 'aws-provider'
    patches:
    # - type: FromCompositeFieldPath
    #   fromFieldPath: spec.parameters.region
    #   toFieldPath: spec.forProvider.region
    #   policy:
    #     fromFieldPath: Required
    - type: FromCompositeFieldPath
      fromFieldPath: status.zoneID
      toFieldPath: spec.forProvider.zoneId
      policy:
        fromFieldPath: Required
    - type: FromCompositeFieldPath
      fromFieldPath: status.domainValidationOptions[0].resourceRecordName
      toFieldPath: "metadata.annotations.crossplane.io/external-name"
      policy:
        fromFieldPath: Required
    - type: FromCompositeFieldPath
      fromFieldPath: status.domainValidationOptions[0].resourceRecordType
      toFieldPath: spec.forProvider.type
      policy:
        fromFieldPath: Required
    - type: FromCompositeFieldPath
      fromFieldPath: status.domainValidationOptions[0].resourceRecordValue
      toFieldPath: spec.forProvider.resourceRecords[0].value
      policy:
        fromFieldPath: Required

The resulting composed managed resource is:
Annotations:  crossplane.io/composition-resource-name: validation-record
              crossplane.io/external-create-failed: 2023-05-19T11:20:33Z
              crossplane.io/external-create-pending: 2023-05-19T11:20:33Z
              crossplane.io/external-name: sample-domaincert-c6khz

And the obvious error message:
failed to create the ResourceRecordSet resource: InvalidChangeBatch: [RRSet with DNS name sample-domaincert-c6khz. is not permitted in zone abcde0.our.domian.co.]


onClose not working correctly with multiple components

Hi,
when using multiple Multiselect components the onClose callback is not working correctly. It gets fired every time a dropdown opens and everytime a dropdown closes. And it gets fired multiple times when a dropdown opens/closes.
This can be reproduced when adding a second multiselect to the page. Tested on a new created angular app with angular cli.
Angular: 6.1.0 & 6.1.3
Multiselect: 2.9.0

@CuppaLabs  i have the same issue it was not working..
i am using Angular: 6.0.7
Multiselect: 3.2.1

@CuppaLabs I have same issue. When I have other select dropdowns added to the form, opening/closing them triggers the angular2-multiselect onClose event.
Angular: 6.2.2
Multiselect: 4.1.1


Integration logging configuration

We could add a trait that enables to configure logging for integration, e.g. format, level. It should ideally be agnostic from the logging backend and the integration runtime.

Yeah lets get this into 1.1. For centralized logging (such as FluentD, ES and Kibana) then we may need to output in a format that it can import such as json.

Yes, we need to have an option for structured logging.

I guess this is a good candidate when moving to quarkus as default runtime

Hello! Is there a way to use a custom logging appender and stuff? I have my own logback.xml file which I would like to use for camel k integration.

No, the logging engine is now the one provided by quarkus, see https://quarkus.io/guides/logging

The url says it supports SLF4J. How can I configure it? I want to add the xml configuration file.

it supports SLF4J APIs but the configuration happens through properties as described int he logging guide (at least that is my understanding)

@lburgazzoli thanks for the clarification! I want to try https://github.com/quarkiverse/quarkus-logging-json and its custom log handler. I am not sure how to use CDI to inject JsonProvider.. Does not seem to work for me.. Can you please advise?

In such case you need to bring the handler as part of a custom artifact as camel-k does not expose CDI facilities (at least for now). Be aware that you need to index the artifact using Jandex or add a beans.xml to get quarkus be able to find your handler.

I'm looking at this.

These PRs mentioned throughout this discussion have added the support for the logging trait. As discussed w/ @astefanutti, now that the documentation is in place, we can close this.


colour stitching

#18  has been fixed. the position of all vertices is perfect. however, the colours of vertices around the edges of a chunk are slightly off
this is because the colour is decided by the gradient (slope) of the ground. which is decided using up to 8 of a vertex's neighbours.
because the vertices on the edge of one chunk are unaware of the vertices on the edge of another, they cannot effectively blend together

upon further examination the visual inconsistencies of colour on each chunk are caused by two factors:
both factors stem from the same concept: every chunk is only aware of itself - a chunk is not aware of other chunks
factor 1: seam awareness
each chunk is only aware of itself. therefore when calculating the colour of a vertex, the gradient is calculated. the gradient is calculated by taking all 8 neighbours to a vertex if applicable* and finding the range. the range is a measure of the steepness of the slope, therefore the steeper the slope, the more the colour of a vertex gets pushed to the upper end of the colour gradient.
the issue is caused by the asterisk placed above. a vertex checks all available neighbours to calculate its gradient:

but if a vertex is sitting on an edge of the mesh. it skips some vertices because they don't exist within this chunk:

in order to fix this issue. I need to make the colour calculation check the vertices in the other chunks:

the problem with this is that each chunk will now need to be aware of other chunks. accessing other chunks will slow the generation down. but an even more concerning issue is the colour calculation may try and access a chunk that isn't generated.
i will need to spend time considering an alternative to this solution
factor 2: localised min max's
the colour calculation takes all the gradients within the chunk and gets the min and max found within the chunk. this means that if there is a somewhat flat chunk and a somewhat mountainous chunk, the colour shading on them will be completely different. to solve this I need to have a global min and max gradient.
for simple purposes, we can assume that the minimum gradient is 0. but that max gradient is very hard to calculate. unlike with vertex normalisation, I cannot calculate a theoretical min and max and apply that to all chunks.
nor can I keep updating the max value when a new max value is found because if you find a new mountain that is taller than all the previous ones, it will make the map behind you change colour slightly.
the only way I can think of to solve this is to assume that the max gradient is 90 or 45. but this assumption may be incorrect.

this issue has now been split into two issues. #23 and #24
this issue will now be closed


Support for Automatically Parsing Negative Number Arguments

I would like to re-open the discussion from issue #555 and #1624.
My program makes heavy use of numeric arguments, including negative numbers, special float values (NaN, Infinity..), negative hex numbers, etc.
At the moment I'm using the following monkey patch as a work-around:
from click.parser import OptionParser, ParsingState

def _is_number(arg: str) -> bool:
    try:
        _ = int(arg, 0)
    except ValueError:
        try:
            _ = float(arg)
        except ValueError:
            return False
    return True

# Allow negative numbers as arguments
#
# Based on click/parser.py v8.1.7
#
def _process_args_for_options(self, state: ParsingState) -> None:
    while state.rargs:
        arg = state.rargs.pop(0)
        if arg == "--":
            return
        elif arg[:1] in self._opt_prefixes and len(arg) > 1 and not _is_number(arg):
            self._process_opts(arg, state)
        elif self.allow_interspersed_args:
            state.largs.append(arg)
        else:
            state.rargs.insert(0, arg)
            return

# Monkey-patch the OptionParser class
#
OptionParser._process_args_for_options = _process_args_for_options

It would be nice, if click would offer an official mode that accepts negative numbers.
I can also submit a PR, but would need further input on how to properly integrate the feature.

Based on looking at the previous issues, the issue results from an argument(-1 or --1)  looking like options, and so get parsed that way. In the documentation there are clear work arounds such as pass --  or passing an ignore_unknown_options to the context settings. I am not sure that its worth the parsing complexity. Possibly for integers and floats. @AndreasBackx Thoughts?
https://click.palletsprojects.com/en/stable/arguments/#option-like-arguments

We are using click in a power-electronics control application, and it's absolutely critical.
There's just no way, we can explain to our customers that they have to use "--" when they want to output a negative voltage.
The additional complexity is minimal, as shown by the monkey patch above.

I think it's something that should be possible indeed. Though I'm unsure if the proposed solution is ideal. Clap has solved this in a different way which also allows for non-number values that start with dashes: https://github.com/clap-rs/clap/issues/1245. We could possibly explore a similar solution.
I think for now it's good there's a workaround for those who need it. @davidism, would the parser rewrite of yours possible be able to accommodate this more easily?
I think we should think about this in this a bit more in the future. Right now we should catch up with the other issues and PRs that aren't parser related. Then we can tackle the parser related issues possibly in the next major version with the rewrite, or in a further down the line minor release.


Update OWNERS, add cpmeadors

Add @cpmeadors as reviewer and approver

/override  ci/prow/4.9-ci-index-sandboxed-containers-operator-bundle

/override ci/prow/4.9-ci-index-sandboxed-containers-operator-bundle

/retest

/retest

@jensfr AFAIK these e2e checks always fail but they aren't required => you can merge right away (I sill don't have super powers)

Why is this two commits though?

Why is this two commits though?

Second commit is fixing the first one. I'd personally make this a single patch and force-push.


The extension is not working

I should have activated everything, but the emails are still displayed in plain text, Markdown is not rendered.

Hopefully my responses to those tickets are sufficient to close this ticket.


end of central directory record signature not found

VSCode Version: 1.13.0
OS Version: Windows 10

Steps to Reproduce:

Try to update to the latest version of vscodevim (this is the only plugin I have issues with)

I am not running behind any proxy (as far as I know). I have the issue when I'm at home or work on the same laptop. I do however use Fiddler during development, so it's possible the proxy it sets up is not being removed, but I'm not sure how to determine if this is true or not.
In a last ditch attempt I tried uninstalling the plugin, then reinstalling, now I have no plugin and crippled vim-dependent typing skills.
This may be a vscodevim issue, if so let me know.

Are there any errors that pop up?
Any errors in the console? You can open the console by running the command Developer: Toggle Developer Tools.

 I'm on VSCode Version: 1.13.0 - Win7 sp1
I'm getting the same log entry in my debugger console as above.

No configuration is required with Fiddler.

I have the same issue with ms-vscode.cpptools extension.

VS Code version:1.12-1.13.1
OS Version:Windows 10 LTSB 10240(latest upgrade)

I didn't use Fiddler.
I had installed Apache 24 a few weeks before, but cpptools didn't had an update at that time and I haven't used VS Code to write C code for a while. So I don't know whether there is a connection between them. And I have uninstalled Apache but it didn't work.
I do use Lantern VPN sometimes but I think it can exit clearly.

@joaomoreno yes I am, it was working without issue before the last update so the breaking change was added by 1.13.0
Updates work I just got updated to 1.13.1 but the plugins will still not update.

Merging this with #22214


As a user I want to set command aliases

so that I can type more efficiently

close in #177 #176 #180


Add new rows to an existing project from external file

I have been using OpenRefine to clean data, collected across several years, in Excel/CSV files. The ability to load multiple files at once upon project creation has been very valuable. Now that I have a cleaned dataset, I anticipate the need to do this again with new data. I would like to be able to load a new Excel/CSV file into the existing OpenRefine dataset and do cleaning on it. Ideally, this new dataset would come in as new rows that I can then start manipulating.
The only way I can see to do this currently is by exporting the entire project, doing the addition outside OpenRefine, then importing the data anew. Of course, this would lose all of the valuable editing history of the project.

There is this tricks that seems to work : https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjgwYversbKAhXIVD4KHVnHC0sQFggbMAA&url=http%3A%2F%2Fkb.refinepro.com%2F2011%2F12%2Fadd-extra-rows-records-in-google-refine.html%3Fm%3D1&usg=AFQjCNEcv4k5ZKZzUoVplhLgGBSWSpECYQ&sig2=NQMIgVHG0jECngRywojgSg

Hi all
I've just hit this same issue. Have there been any further developments since the last message in 2018?
Thanks

(@thadguidry this is completely unrelated to "separating backend and frontend" or CRUD, and I am not sure where your work estimate is coming from)
@fyodorovich I would be interested to understand your use case better: at the stage where you want to import new rows into your project, would you want these rows to go through the same cleaning process as the ones you have in your project already? In other words, should the operations you have in your history be reapplied to the new data when you import it? What sorts of operations are you using in your workflow? (They would all need to work row-wise for this to be feasible)

@wetneb Hi Antonin, that work estimate came from Jacky.  It was for him to add in the ability for users to use the CSV/TSV or Line importer and add new rows read from that to a user specified existing OpenRefine project.  In 2018, we were talking about separating front/back (that also initially came from Jacky as you know) as a priority and mentioned it to let users know what our priority was at that time in 2018 when I made that comment.

This really is needed; for example one can't always easily query the data so that the rows already reconciled are not included or removing them makes everything much more difficult. Sometimes it's not possible at all. I don't know whether 556 was only about empty rows, but #1855 really seems to be. I guess I need to find out how to query the data so that the data already in the OR project is not included in what I import to OR, then reconcile just these and then somehow merge the project using a texteditor or something. Please let me know if there's an easier way. I thought this was a heavily-used core function part of the software since before 1.0 but maybe I just misunderstood something and it's already possible to import to / merge into an existing dataset with the tool.

@prototyperspective You might consider also cumbersomely importing the new data into a NEW OpenRefine project and then use the cross() GREL function to perform lookups against the EXISTING OpenRefine project to see which rows (or identifier strings) are already in the existing project, then flag or star those rows and facet on them to include/exclude.


Add prompt version 0.2.1 for JCommonsenseQA

Background
In principle, "base" models (trained as just language modeling and without specific prompt format) should be evaluated with prompt version 0.2. But, we were reported 0.3 outperformed 0.2, which is weird.
So, we did comparison between 0.2 and 0.3 for some models. (thank you @mrorii !) And, we found using 0.3 increased scores for all base models in JCommonsenseQA and JNLI.
Summary
JCommonsenseQA is a question answering task given 5 choices. In 0.2, the prompt looks like below. (reference link)
質問と回答の選択肢を入力として受け取り、選択肢から回答を選択してください。なお、回答は選択肢の番号（例：0）でするものとします。

質問:街のことは？
選択肢:0.タウン,1.劇場,2.ホーム,3.ハウス,4.ニューヨークシティ
回答:

The prompt encourages to answer by "index" rather than the text itself. But, the targets are actually texts. So, I assume models were messed up somehow by this gap. (code)
Solution

Introduced a new prompt version 0.2.1 for base models, which outperformed 0.2 and 0.3.

Model
# of shots
prompt version
acc

elyza/ELYZA-japanese-Llama-2-7b
0
0.2
31.64

elyza/ELYZA-japanese-Llama-2-7b
0
0.3
38.96

elyza/ELYZA-japanese-Llama-2-7b
0
0.21 (NEW!)
45.49

matsuo-lab/weblab-10b
0
0.2
23.32

matsuo-lab/weblab-10b
0
0.3
42.27

matsuo-lab/weblab-10b
0
0.21 (NEW!)
25.47

* all evals were performed with hf-causal-experimental and jcommonsenseqa-1.1-{prompt version}

Although all scores of 0.2.1 didn't outperform 0.3, we confirmed 0.2.1 is way better than at least 0.2 and 0.3 for base models. So, I will merge this PR.


OCPBUGS-30124: set issuer URL correctly for external OIDC

We should encourage the oc user to provide the --issuer-url directly since, in the future, there can be multiple oidcProviders.  However, currently the issuer in .well-known/oauth-authorization-server provided by the KAS is https://:0 which is obviously wrong.

other than the one, lgtm

/jira refresh

/lgtm

/test e2e-aws

/test e2e-aws

/hold
consider just not serving the endpoint and have the things that rely on it break correctly - https://github.com/openshift/kubernetes/blob/913d16a5d9fb76dfb617551d46b8c361a7128d3f/openshift-kube-apiserver/openshiftkubeapiserver/patch_handlerchain.go#L58-L60

/hold cancel
Let's call it a workaround, then.

consider just not serving the endpoint and have the things that rely on it break correctly
going this way

/close


support for updating replicationFactor?

I can see how to update the partitions and configs for a topic, is there a way to update the number of replicas for each partition?
I think maybe kadm's AlterPartitionAssignments and ListPartitionReassignments are maybe what I want to use?

Altering RF is a pretty advanced sequence of operations that I've never done myself. It's also different on different systems (i.e. Kafka and Redpanda do it differently).
https://stackoverflow.com/questions/37960767/how-to-change-the-number-of-replicas-of-a-kafka-topic
I'm not sure if it makes sense to add to kadm.

Cool, makes sense.  Just making sure I wasn't missing anything.  Thanks!


Request follow-up model support for depth_anythimg V2

https://github.com/MackinationsAi/Upgraded-Depth-Anything-V2?tab=readme-ov-file
Although there is a support node for depth_anythimg V2 in controlnet, the model provided by this address performs better and is requested to be supported.

@alex13by How do they perform better? The repo linked above seem to be a fork of the original repo with some new features. However, I don't see any line mentioning the difference between the original checkpoints and their checkpoints.

@alex13by How do they perform better? The repo linked above seem to be a fork of the original repo with some new features. However, I don't see any line mentioning the difference between the original checkpoints and their checkpoints.

I can't confirm which aspect is better, even if the independent gradio is installed there is no feedback on efficiency, but at least the model is half the size


Adding two new rebuses

Associated Issue: #
Summary of Changes

change 1
Added Coffee Rebus with hint
change 2
Added Thong Sandal Rebus with hint

Please check why it is failing.I am a newbie.


Improve GitHub Actions for pull requests

See https://github.com/Senzing/community-roadmap/issues/71

Pull requests:

https://github.com/Senzing/aws-lambda-self-signed-certificate/pull/25


Add Multipart tests to JS Fetch Codegen

PR Description
Added Posts Test 4-9 for multipart form testing for NodeJS Fetch Codegen.
Related Issues

Closes #279

Checklist

[x] I have gone through the contributing guide
[x] I have run the tests (flutter test) and all tests are passing

Added/updated tests?

[x] Yes

Have you manually verified whether POST 4- POST 9 generated code are working correctly?

https://github.com/foss42/apidash/pull/286#issuecomment-1994811511


A better way to handle PhantomJS exits

Consider evaluating exit codes first before actually handling errors.

Fixed error handling issues as well as satisfied checks on tests.


charlist to string and UTF8

I think https://github.com/gleam-lang/erlang/blob/main/src/gleam/erlang/charlist.gleam should use
unicode:characters_to_binary(CharList, utf8, utf8)

instead of
erlang:list_to_binary(CharList)

etc.
For example:
Eshell V13.1.2  (abort with ^G)
1> erlang:list_to_binary("Jérôme").
<<"Jérôme">>
2> unicode:characters_to_binary("Jérôme", utf8, utf8).
<<"Jérôme"/utf8>>

Got caught with my first try with Gleam when I wanted to:
gleam run Jérôme

with
import gleam/io
import gleam/string
import gleam/erlang

pub fn main() {
  let args = erlang.start_arguments()
  let name = string.join(args, " ")
  io.println("Hello " <> name <> "!")
}

string.join fails.

Good find! Would you like to make a pull request? 🙏

Yes, I was thinking about that, that would be the most helpful I guess. I just need to make a bit sense of it all, I just started exploring Gleam yesterday night :-) But I will, just not today.

Coolio, feel free to at any time if no one else picks up this issue :)

OK, I found time today :-)


ci(build): use personal token

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to make it over https

how to configure https://github.com/typicode/hotel this or something else to work over https.
In my case I use global ip <IP_ADDRESS> (no localhost)
i want to use https://<IP_ADDRESS>
I tried ngrok and it worked but with free plan it assigns always random subdomains.
i made like here described https://github.com/typicode/hotel/issues/321#issuecomment-467006340
made video how it looks
https://streamable.com/fghsn
please help me how to make it https

okkkkkkkkk.
I made this finally with nginx and reverse proxy

Hi @Szmycu how did you configure nginx? I have a public url and a relative url but I don't know how to configure it neither json-server

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04#step-5-setting-up-server-blocks-(recommended)
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-18-04
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-18-04
follow all steps in these tutorials. it took my whole day or more to make
all things working xd
czw., 18 kwi 2019 o 16:44 mjcguada<EMAIL_ADDRESS>napisał(a):

Hi @Szmycu https://github.com/Szmycu how did you configure nginx? I
have a public url and a relative url but I don't know how to configure it
neither json-server
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/typicode/json-server/issues/947#issuecomment-484539789,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSFCK33Z7Y73LJ67GFF243PRCCMFANCNFSM4HEHJSDA
.

Wow, thank you! I've read this tutorials but I have a problem:+
I am doing POST from a app in Unity, with a "Content-type" header (application/json), and json-server is doing POST, and GET properly

But inside base.json there is only ids, not info inside them

Can you think of something please?
PS: this is my mime.types:

My .conf of sites-available/enabled

and finally my nginx.conf

And this is the POST code:
https://pastebin.com/zt7BPUFz
Thank you so much!

i think probably ur json is not structured properly, is the data in json
format? how you send post requests? try with some program: insomnia,
postman or something like that. try search for functions to json encode
your data
niedz., 21 kwi 2019 o 18:51 mjcguada<EMAIL_ADDRESS>napisał(a):

Wow, thank you! I've read this tutorials but I have a problem:+
I am doing POST from a app in Unity, with a "Content-type" header
(application/json), and json-server is doing POST, and GET properly
[image: image]
https://user-images.githubusercontent.com/22896054/56472928-059a8d00-6465-11e9-98f2-614735cffbbe.png
But inside base.json there is only ids, not info inside them
[image: image]
https://user-images.githubusercontent.com/22896054/56472940-206d0180-6465-11e9-88bd-b42883e71cf5.png
Can you think of something please?
PS: this is my mime.types:
[image: image]
https://user-images.githubusercontent.com/22896054/56472963-4f837300-6465-11e9-915c-1494e63167b7.png
My .conf of sites-available/enabled
[image: image]
https://user-images.githubusercontent.com/22896054/56472976-72158c00-6465-11e9-8ddc-3f10fd52a15c.png
and finally my nginx.conf
[image: image]
https://user-images.githubusercontent.com/22896054/56472995-b43ecd80-6465-11e9-830c-8e3f3d26690b.png
[image: image]
https://user-images.githubusercontent.com/22896054/56472999-c28ce980-6465-11e9-9a20-7b895ede5a43.png
And this is the POST code:
https://pastebin.com/zt7BPUFz
Thank you so much!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/typicode/json-server/issues/947#issuecomment-485266153,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSFCK6DXMRSUAPB5X3I473PRSLRXANCNFSM4HEHJSDA
.

I'm using unitywebrequest https://pastebin.com/zt7BPUFz thanks man :D I'll try insomnia too

try something like here https://stackoverflow.com/posts/45476691/revisions
to send data as json format. becouse now you send ur data in dataform
format. im think this is issue here
niedz., 21 kwi 2019 o 23:18 mjcguada<EMAIL_ADDRESS>napisał(a):

I'm using unitywebrequest https://pastebin.com/zt7BPUFz thanks man :D
I'll try insomnia too
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/typicode/json-server/issues/947#issuecomment-485283013,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADSFCK3CZVJN2FRZBQJPJJTPRTK27ANCNFSM4HEHJSDA
.

I'm too lazy to check out hotel (pun intended :)
so I stayed and whipped up a quick-and-dirty command line: (it can takes a .json or .js file)
$ json-now -k keyFile -c certFile -p 3003 data.json
https://github.com/ngduc/json-now


crypto: add toChecksumAddress

Pull Request Test Coverage Report for Build 26

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

Totals

Change from base Build 24:
0.09%

Covered Lines:
281

Relevant Lines:
283

💛  - Coveralls