Fix idris gcc builds on darwin and disable broken package

Motivation for this change
https://github.com/NixOS/nixpkgs/issues/45960
The lens package is really weird: It succeeds on linux without problems, but fails on darwin with an error that indicates a missing standard library constructor. I therefore marked it as broken on darwin.
The other change this PR has is to use gccStdenv to build all idris packages instead of the normal stdenv. This is because of such errors, both the clang warnings and the gcc missing error. Since gcc seems to be the standard to use in a Makefile for idris packages, it makes sense to use gccStdenv here I think.
This fixes the build for curses, eternal and mhd on darwin
Ping @mpickering @brainrape
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build idrisPackages.curses idrisPackages.eternal idrisPackages.mhd idrisPackages.recursion_schemes idrisPackages.html idrisPackages.config

Success on x86_64-linux (full log)
Attempted: idrisPackages.curses, idrisPackages.eternal, idrisPackages.mhd, idrisPackages.recursion_schemes, idrisPackages.html, idrisPackages.config
Partial log (click to expand)
copying path '/nix/store/95aghk5w9va395yh1aisywcnij2hcrch-idris-webgl-2017-05-08' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/4ppzghcyrm0wd7adcgby1nhq23px6z84-idris-containers-2017-09-10' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/ci3fsikji6g12lwbm8x17wcy5ixzb2m6-idris-html-2017-04-23' from 'https://nix-cache.s3.amazonaws.com'...
copying path '/nix/store/lvrq3fimh8ycvj7qif8c6mlg9ib5xaxv-idris-config-2017-11-06' from 'https://nix-cache.s3.amazonaws.com'...
/nix/store/l0ifi3y805qjhlz9xna8i429lkgizchc-idris-curses-2017-10-12
/nix/store/kc0f96lf6bjfbf443vznpikxkmrgnfvf-idris-eternal-2018-07-02
/nix/store/vk1x1nm6iv5ql7j6gs32abcm6m9lhsk0-idris-mhd-2016-04-22
/nix/store/hxl3ql7jfd2iaja3hv3s3a4li8izs0i6-idris-recursion_schemes-2018-01-19
/nix/store/ci3fsikji6g12lwbm8x17wcy5ixzb2m6-idris-html-2017-04-23
/nix/store/lvrq3fimh8ycvj7qif8c6mlg9ib5xaxv-idris-config-2017-11-06

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: idrisPackages.curses, idrisPackages.eternal, idrisPackages.mhd, idrisPackages.recursion_schemes, idrisPackages.html, idrisPackages.config
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Failure on x86_64-darwin (full log)
Attempted: idrisPackages.curses, idrisPackages.eternal, idrisPackages.mhd, idrisPackages.recursion_schemes, idrisPackages.html, idrisPackages.config
Partial log (click to expand)
Attempting to install IdrisDocs for MHD in: /nix/store/awlf0n615mgzkv0m0s7ffl24wziwi1rj-idris-mhd-2016-04-22/doc/mhd
Warning: Ignoring empty or non-existing namespace 'MHD.Connection'
Warning: Ignoring empty or non-existing namespace 'MHD.Auth'
Warning: Ignoring empty or non-existing namespace 'HTTP.Status_codes'
Warning: Ignoring empty or non-existing namespace 'HTTP.Headers'
post-installation fixup
moving /nix/store/awlf0n615mgzkv0m0s7ffl24wziwi1rj-idris-mhd-2016-04-22/doc to /nix/store/awlf0n615mgzkv0m0s7ffl24wziwi1rj-idris-mhd-2016-04-22/share/doc
strip is /nix/store/df6k4mgdjxciy0f637lryp7c9ln7n1m3-cctools-binutils-darwin/bin/strip
patching script interpreter paths in /nix/store/awlf0n615mgzkv0m0s7ffl24wziwi1rj-idris-mhd-2016-04-22
error: build of '/nix/store/q8zdvhxdnidhfiffz9jypcy03cxgrih0-idris-config-2017-11-06.drv' failed

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: idrisPackages.lens
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: idrisPackages.lens
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: idrisPackages.lens
Partial log (click to expand)
these paths will be fetched (2.55 MiB download, 6.71 MiB unpacked):
  /nix/store/6l52w1xcc977qn3gp5mjnavz285m2n0y-idris-prelude-1.3.0
  /nix/store/p2c09fga1asn2k9rp7g1b5bhiw45c36y-idris-base-1.3.0
  /nix/store/w6xvy9akkbvqvylydq7nnf33gm7wjcrl-idris-lens-2017-09-25
  /nix/store/x89hmvzf559a184i1sihg1hvlwj6gwjy-idris-bifunctors-2017-02-07
copying path '/nix/store/6l52w1xcc977qn3gp5mjnavz285m2n0y-idris-prelude-1.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/p2c09fga1asn2k9rp7g1b5bhiw45c36y-idris-base-1.3.0' from 'https://cache.nixos.org'...
copying path '/nix/store/x89hmvzf559a184i1sihg1hvlwj6gwjy-idris-bifunctors-2017-02-07' from 'https://cache.nixos.org'...
copying path '/nix/store/w6xvy9akkbvqvylydq7nnf33gm7wjcrl-idris-lens-2017-09-25' from 'https://cache.nixos.org'...
/nix/store/w6xvy9akkbvqvylydq7nnf33gm7wjcrl-idris-lens-2017-09-25

The above failure with idrisPackages.config seems to disappear from time to time, see also the hydra job. I'll investigate this later. I just built it for this PR to show that a couple other idris packages still work.

Usually they build fine with clang, but unlike with Xcode our clang doesn't have gcc/g++ shims. This means builds have to honor the CC/CXX environment variables in order to find the correct compiler instead of hardcoding binary names.

NOTE in some packages do depend on gcc specific features, for those cases gccStdenv can be used.

Needs a different fix, will open a new PR if I can come up with a nicer one.


VS Code does not recognize that there is a later version of the extansion Calva

Issue Type: Bug

Have Calva v2.0.268 installed
Check for Extension Updates

Expected: Calva v2.0.269 will be found
Actual: It is not found. Instead: ”All extensions are up-to-date”
What complicates the reproduction is that if you don't have Calva installed, then VS Code picks up the latest version. I don't know how to solve that. In my Case my regular VS Code install has latest Calva because I uninstalled it, reloaded the window and then installed it again. But in Insiders I can still reproduce the issue.
VS Code version: Code - Insiders 1.67.0-insider (e7c6ad74aff28965d0189ca1dd584f5e9829cf06, 2022-04-19T05:18:48.693Z)
OS version: Darwin x64 21.4.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 Max (10 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 4, 4

Memory (System)
32.00GB (0.04GB free)

Process Argv
--crash-reporter-id bb70326f-fa59-483f-b56d-effcec0a22c0

Screen Reader
yes

VM
0%

Extensions (25)

Extension
Author (truncated)
Version

calva
bet
2.0.268

emojisense
bie
0.9.0

better-toml
bun
0.3.2

gitlens
eam
12.0.6

vscode-pull-request-github
Git
0.40.0

vscode-mocha-test-adapter
hbe
2.13.3

vscode-test-explorer
hbe
2.21.1

chat
kar
0.35.0

restructuredtext
lex
185.0.0

vscode-scss
mrm
0.10.0

vscode-docker
ms-
1.22.0

test-adapter-converter
ms-
0.1.6

vsliveshare
ms-
1.0.5527

vsliveshare-audio
ms-
0.1.91

vsliveshare-pack
ms-
0.4.0

debugger-for-chrome
msj
4.13.0

vscode-react-native
msj
1.9.2

ruby
reb
0.28.1

vscode-yaml
red
1.6.0

code-settings-sync
Sha
3.4.3

vscode-scss-formatter
sib
2.4.2

code-spell-checker
str
2.1.11

shellcheck
tim
0.19.2

org-mode
too
0.5.0

vscode-ruby
win
0.28.0

(1 theme extensions excluded)

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256197
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
pythonvspyt200:30323110
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
wslgetstarted:30449409
pythonvspyt640:30438691
vscscmwlcmt:30465136
cppdebugcf:30475217
pynewfile477:30451556

I also experienced this with this extension, just FYI (and notified @PEZ).

@PEZ thanks for filling this issue.
I assume you are referring to this extension https://marketplace.visualstudio.com/items?itemName=betterthantomorrow.calva
I can reproduce this problem.
Marketplace was having some downtime yesterday, so it might be that at the time you updated your extension Marketplace mishandled this. Can you try to publish another update so we check if that one also can not be found?
fyi @prashantvc @saikanth007

Marketplace team just confirmed this is an issue on their side. They are investigating and will let us know more soon.

@isidorn are you able to escalate this with the Marketplace team? I am getting no response from them about progress (see https://github.com/microsoft/vsmarketplace/issues/384#issuecomment-1106026480)

@isidorn are you able to escalate this with the Marketplace team? I am getting no response from them about progress (see microsoft/vsmarketplace#384 (comment))

Forget that - I just re-checked the status of our extensions and the new versions are now appearing in the Extensions view for VS Code users.

@gjsjohnmurray sorry about that.
@prashantvc can you please comment so community is aware of the status here.

I can no longer reproduce this, it seems like the Marketplace issue has been fixed.
For now closing this issue, if anybody else is still seeing this issue please let me know and I can reopen.
@prashantvc is it expected that this got fixed? Can you provide a bit more details?


Agent  Not working

Hi,
I am new to Huginn. I have cliked on run but working does not change from "no" to "yes" as i have seen in many screen shot. Thanks in advance.

Hi, I just deployed the latest Huginn on google cloud, I still see all the Agents in Working NO state
I started the server as
foreman start

Any help would be appreciated, thanks!

Try bundle exec foreman start and see if that helps.  Which Agents are not working?

Hi @cantino thanks for the quick response.. I did manage to run a TwitterUserAgent after starting my server with javascript bundle exec foreman start
However TwitterStreamAgent is still not getting executes, I get the following exception
12:17:44 jobs.1 | Exception A copy of TwitterStream has been removed from the module tree but is still active!:
12:17:44 jobs.1 | /opt/ruby/lib/ruby/gems/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:465:in `load_missing_constant'
12:17:44 jobs.1 | /opt/ruby/lib/ruby/gems/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:180:in `const_missing'
12:17:44 jobs.1 | /opt/projects/huginn/lib/twitter_stream.rb:102:in `run'
12:17:44 jobs.1 | bin/threaded.rb:29:in `block (2 levels) in <top (required)>'

Wow, that's a new error for me.  What version of Ruby is this?

Finally got it working.. I had installed incorrect version of nokogiri.. thanks!

Glad you figuring it out @betacanis!

I'm going to close this issue.  Please reopen if you need further help!


"You need a new app to open this bfcomposer" with installed and working BOT Framework Composer

Describe the bug
"You need a new app to open this bfcomposer" however Composer is installed and is opening properly
Version
2.0
Browser

[ ] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ X] Edge

OS

[ ] macOS
[X ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to any virtual agents bot and try to open it on composer
See error

Expected behavior
Open Bot Framework Composer, as shown on the documentation
Screenshots

Hi @victorlamana. What version of Windows are you using? If you go to a browser window and type bfcomposer://, what happens?

Hello!! I'm using Windows 10 1809
When I type bfcomposer:// on the browser it shows the "You'll need a new app to open this bfcomposer"

Interesting, and unexpected. Where did you install the application? When prompted did you provide the Composer installer privileges to modify the system internals to set up this file protocol? Can you uninstall and reinstall?

@cwhitten
The application is installed on"C:\Program Files\Bot Framework Composer ". I have Framework Emulator here too and it is on " C:\Program Files (x86)\Bot Framework Emulator ".
" When prompted did you provide the Composer installer privileges to modify the system internals to set up this file protocol?"
Answer: I'm pretty sure I did that, I can try to reinstall but it will take a while because this is not my personal computer and I need  ADMIN user to install/uninstall programs
Is the problem related to the folder used in the installation? Should I use "x86" instead of "Program Files"or not? I didn't know this could be an issue

I saw there's a "Copy Link" function on the Virtual agents page when prompting to open the bot on Composer. But I'm not sure of what should I do with this link, can I open it on Framework Composer or what?

@victorlamana on Windows, you would take this link and paste it into the "Run" program:

This can be accessed with Win + R but it would have the same effect as pasting the URL into your browser address bar like Chris suggested.
If you go to your browser or the Run window, and enter bfemulator:// does it launch the Emulator?

In addition, @victorlamana. Can you open "Registry Editor" in Window and navigate to the path shown in the snapshotComputer]HKET_CLASSES....\command . The path registered in the data column should be the path where Composer exe is present. If not, the installation for Composer was completely performed. Could you try a different installation configuration (Only for me vs all users during Composer install). Maybe something to do with permissions adding to the registry?

Hello Guys. I think it is something related to my computer.
I installed both programs on my personal desktop and they opened properly by the run function and through the Virtual Agents page.
By typing "bfemulator://" on my personal computer it opens the emulator, however it doesn't work on my work PC...
@srinaath  Sorry, I can't try that right now on this computer because I need ADMIN user. As this seems an issue related to permissions on my computer ( just to add: I can't even use the program properly on this computer because of our company firewall blocking some features) I will close this issue as these are not problems related to Composer by itself
Thanks for the help guys! I'm still on the learning curve building our first bot at work and I hope we can keep in touch as difficulties appear :).
Do you have an official forum for guidance and help with the program? I'm already studying the documentation but I was just wondering if there was somewhere else to ask questions besides here on github

Thanks @victorlamana . Great to hear you are using the framework!
https://stackoverflow.com/questions/tagged/botframework. We have a stack overflow group with very fast response to how to queries as well. Github and Stackoverflow are the best way to reach us.

Hi guys,
This is a problem with Emulator installation, uninstall it and when installing back, choose "only for me" option.
Test with Win +R and write: bfemulator:// and Enter.

@flavio-neves does this happen to you with Composer as well? If you install "Only for this user" does typing bfcomposer:// into the Run window do nothing?

I didn't have this problem but we fixed @victorlamana issue doing this


is the vsphere-automation-sdk-perl donsn't work with centos 7.4

We are not providing any support for centos 7.4
Please find the supported platforms list here: https://github.com/vmware/vsphere-automation-sdk-perl#supported-platforms


100 (Continue) HTTP response should be handled gracefully regardless of whether it was requested/expected

I'm using OkHttp 3.8.1 on Android to POST to a poorly-behaved server.
Even though the request does not include an "Expect: 100-continue" header, the web server returns a 100 Continue response. Rather than continuing to send the request body (or just ignoring the 100 response since the body had already been sent), then getting the actual (200) response, OkHttp stops there and sends back the 100 Continue response in my okhttp.Callback.
The w3c definition of the 100 status code states:

The client SHOULD continue by sending the remainder of the request or, if the request has already been completed, ignore this response.

and:

A client MUST be prepared to accept one or more 1xx status responses prior to a regular response, even if the client does not expect a 100 Continue status message.

I have verified the correct behavior on three other HTTP clients (iOS, Windows, and curl(1)), who correctly ignore/continue when receiving an unexpected 100 Continue response.
In contrast, it looks like OkHttp only handles the 100 response iff it was explicitly requested via an "Expect: 100-continue" header.  From CallServerInterceptor.java:
// If there's a "Expect: 100-continue" header on the request, wait for a "HTTP/1.1 100
// Continue" response before transmitting the request body. If we don't get that, return
// what we did get (such as a 4xx response) without ever transmitting the request body.
if ("100-continue".equalsIgnoreCase(request.header("Expect"))) {
    httpCodec.flushRequest();
    realChain.eventListener().responseHeadersStart(realChain.call());
    responseBuilder = httpCodec.readResponseHeaders(true);
}

Incidentally, the obvious workaround (including "Expect: 100-continue" in the request to trigger OkHttp's logic) didn't work for me because this particular server is further broken in that it complains about a mangled Expect: header. :expressionless:  It doesn't appear any other workaround is possible, though I'd love to be proven wrong.
See: https://stackoverflow.com/a/46382361/920849

The key takeaway is that a server can choose to return 100 when the client doesn't request it, or return a non-100 response when even when the client does request it.

@stephentalley Thanks for the detailed writeup.  It sounds like a legitimate bug. Given the rarity of it and it being triggered by a badly behaving server, it may not be at the top of the pile to work on.  So if it's really impacting you we would love a PR and I'll happily review quickly.

@stephentalley I think the appropriate spec is now https://tools.ietf.org/html/rfc7231#section-6.2.1.

The client ought to continue sending the request and discard the 100 response.

Since when is "ought" a rfc2119 keyword :(

I have also encountered this problem, and I don't want to add the Expect header because we send requests to a lot of different servers and I don't want to risk breaking working things.
What do you mean by "badly behaving server"? As I understand it, any server may send 100 Continue, and it should be ignored.
Do you think it's possible to write a patch/test without much okhttp experience?

The server is arguably doing the wrong thing by the spec.  The spec says the client should be tolerant even if it didn't request this (Postel's law).
I say arguably, because as the spec mentions, ther are clients out there that don't support this and servers will break by implementing.

Note: The Expect header field was added after the original
publication of HTTP/1.1 [RFC2068] as both the means to request an
interim 100 (Continue) response and the general mechanism for
indicating must-understand extensions.  However, the extension
mechanism has not been used by clients and the must-understand
requirements have not been implemented by many servers, rendering
the extension mechanism useless.  This specification has removed
the extension mechanism in order to simplify the definition and
processing of 100-continue.

But it's now a bug based on the latest spec, so OkHttp should support this even when not sending Expect.
If you need this fixed ASAP, then definitely read through the code, try making a failing test and PR, ask questions here and I'll (and others) help if you get stuck.

This is fixed with PR #3766 , so it can be closed with the next release.

What release did this make it into? 3.10 or 3.11? I'm using Retrofit and it pulls in 3.10, but I think I'm hitting this bug.

You can always specify an explicit dependency on a newer version. Retrofit
only uses public APIs.
On Mon, Nov 12, 2018, 7:03 PM Chris Kessel<EMAIL_ADDRESS>wrote:

What release did this make it into? 3.10 or 3.11? I'm using Retrofit and
it pulls in 3.10, but I think I'm hitting this bug.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/square/okhttp/issues/3628#issuecomment-438038735, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEEEcmamFi-8dx_Y2XusUagYintIJtvks5uueuKgaJpZM4Pi9Ux
.

Yea, I forced it to 3.11 and verified it with gradle dependencies, but it still fails. I'm going to try a POST with the javax.ws.rs.Client and see if that works. We were using Apache http and it worked with the default configuration. It started failing when we converted over to Retrofit/OkHttp.
I'm guessing it's something in OkHttp, but I can't figure out what exactly. Everything looks to be configured as far as ciphers, TLS versions, etc compared to what the curl command shows should happen.

I know this is through Retrofit, so maybe not useful for you, but for what it's worth, the call works (200 response) with javax.ws.rs.Client. Default client, just ClientBuilder.newClient().
          MediaType contentType = MediaType.valueOf(deliveryFormat.getMediaType());
            Response response = httpClient.target(uri)
                    .request(contentType)
                    .post(Entity.entity(serializedAlert, contentType), Response.class);

This fails with Retrofit with a 401:
            RequestBody requestBody = RequestBody.create(MediaType.parse(deliveryFormat.getMediaType()), serializedAlert);
            Response<ResponseBody> response = retrofitCustomerAlertsCallback.postAlert(uri.toString(), requestBody).execute();

And the OkHttp configuration is mostly basic aside from some timeout settings (which I'll be adding to the Client code above):
        OkHttpClient client = new OkHttpClient.Builder()
                .connectTimeout(myConfig.getPostConnectionTimeoutSeconds(), TimeUnit.SECONDS)
                .readTimeout(myConfig.getPostResponseTimeoutSeconds(), TimeUnit.SECONDS)
                .writeTimeout(myConfig.getPostResponseTimeoutSeconds(), TimeUnit.SECONDS)
                .build();

Unfortunately, this is posting to a customer's endpoint, so I don't have any details on how that's configured. Just the CURL trace above.


Update to support unicode 13 in MBCS test material

Seems that OpenJDK is updated to support unicode 13.0: https://bugs.openjdk.java.net/browse/JDK-8239383. But the test material https://github.com/AdoptOpenJDK/openjdk-tests/tree/master/functional/MBCS_Tests/unicode/data is still using the 12.0.1 version of NormalizationTest.txt. May need to update test material to use the 13.0 version https://www.unicode.org/Public/13.0.0/ucd/NormalizationTest.txt
Originally posted by @hangshao0 in https://github.com/eclipse/openj9/issues/10590#issuecomment-692263656
FYI @KKES335 @takiguc - could one of you take a look at this?

I see there is an existing issue https://github.com/AdoptOpenJDK/openjdk-tests/issues/1938 talking about the same thing.

Close as dup of https://github.com/AdoptOpenJDK/openjdk-tests/issues/1938


Not working on Raspberian (Raspberry pi 3b+

The PlugInstall and PlugUpdate commands are not working on raspberian (Raspberry pi 3b+)
On all of my other machines they work, I even re downloaded the curl file.
What outputs could I give to help you help me?

Raspberian Stretch Lite
Neovim

In vim, if you press <esc>:Plug do you see anything listed at all?  If not, then it's not being loaded into vim yet.
try
:source /home/svliantiss/.vim/autoload/plug.vim
(or wherever you have it downloaded to)
and see if it appears then...

When I load plug.vim in raspbian, vi gives the following message
Not an editor command

Oh it can be resolved with the following command
sudo apt-get install vim
the default rasbian vim does not support vim runtime
however sudo apt0get install vim makes it possible

vim-plug does not support tiny/small (see :h version) builds of Vim, vi, and vim.tiny.Installing vim via apt-get works because that installs the normal version. For best results, use the huge version and run vim-plug on Vim 7.4+ because that is what's tested in the CI.

vim-plug doesn't define PlugInstall, PlugUpdate if git is not installed.


[Feature Request] Made a fork with new stuff that I'll maintain

Maintained Fork with new stuff
Made a fork of this while developing the supabase auth integration but the PR still isn't merged.
Since it seems to be that this project isn't activly maintained for the last month I'll use my fork to work on some important issues and feature request and publish a new version at least once a week.
I don't want to take this project away or similiar. Just trying to keep this alive and maintained.
Repo Link
Happy for PRs and I'll gladly give permissions to review and merge PRs if someone wants to do that.

Hi, great to hear.
I cloned all current issues and made a roadmap / kanban board out of it.
I tried to follow the written tutorial of lemonSqueezy but it's not rlly complete on every snippet nor does it work correctly for me so if u wanna take that I'd appreachiate it. U can also take mailgun if u want.


mouse freezing after xoutput open issue

Somehow this issue came back, mouse starts lagging and freezing, then the Xoutput app shows not responding, making the pc unusable if Xoutput is open. Issue remains even after formatting PC

Somehow this issue came back, mouse starts lagging and freezing, then the Xoutput app shows not responding, making the pc unusable if Xoutput is open. Issue remains even after formatting PC

I have same problem


Update requirements.txt

:warning: Securin has found 2 issues in your pull request

Summary

Critical : 1
High : 0
Medium : 1
Low : 0
Info : 0

Details
Critical issues that need immediate attention

Title
Securin Score
Remediation

CWE-89 - hardcoded_sql_expressions
9.01
View

CWE-327 - blacklist
4.2
View

Load the following URL to get to the application in Securin platform
https://dev.securin.io/findings


[Bug] This is a bug! The partition org.apache.paimon.data.BinaryRow@9c67b85d and bucket 200 is filtered!

Search before asking

[X] I searched in the issues and found nothing similar.

Paimon version
paimon-flink-1.17-0.8.jar
paimon-flink-action-0.8.0.jar
paimon-hive-connector-2.3-0.8.0.jar
Compute Engine
flink version -> 1.17.2
hadoop -> 3.3.5
Minimal reproduce step
The cdc sync_table table synchronization task needs to be restarted to increase the task memory because the memory is insufficient. After the restart, an exception occurs.

运行后异常如下
java.io.IOException: java.lang.IllegalArgumentException: This is a bug! The partition org.apache.paimon.data.BinaryRow@9c67b85d and bucket 200 is filtered!
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Thank you for providing detailed information about your issue.
I appreciate that you searched through the issues before posting. Based on the details you've shared, it seems like you are encountering a bug related to partition filtering after restarting the CDC sync task due to insufficient memory.
The error message you provided (java.io.IOException: java.lang.IllegalArgumentException: This is a bug! The partition org.apache.paimon.data.BinaryRow@9c67b85d and bucket 200 is filtered!) suggests that there may be an issue with how partitions and buckets are being handled in your configuration.
To better assist you, could you please provide the following additional information?
The complete stack trace of the error message.
Any specific logs or outputs from Flink that might provide more context.
The configuration settings for the Flink job, especially any related to partitioning or bucketing.
Additionally, if you have any insights into the specific conditions under which the error occurs or if it happens consistently, that would be very helpful.
Regarding your willingness to submit a PR, that's great to hear! Once we gather more information, we can discuss the next steps for addressing this issue.
Looking forward to your response!


colab weather example won't run

Requires an external file. Maybe change to load it remotely from the repo so colab just works?

This is super strange.  I also can't get it to download the data.  I'll look into this.

Turns out there was an update to colab that causes gdown to break.  I'll fix it by forcing a different gdown installation.
!pip install -U --no-cache-dir gdown --pre

Should be fixed by #5

thxnks!


Logo

Nice logo!

Where did you get the green tick icon from?
Surprisingly, Haven't been able to find an exact match

https://www.iconpacks.net/free-icon/green-check-mark-verified-circle-16223.html

I suggest your loge should be this just this:

Looks better imo.


Allow function overloading in Postgres via variant_sql_function macro

Summary
This pull request adds another macro for extending diesel, variant_sql_function. This macro is only available to Postgres, and provides a way to overload SQL functions (MySQL doesn't provide function overloading). The format is: variant_sql_function(rust_function_name, struct_name, sql_name, type signature).
sql_function_body has been modified to take a sql function name so variant_sql_function can use it too.
sql_function patterns were reordered to flow more logically (the third pattern doesn't call the first).
Does this break backwards combatibility at all?
Nope!
What needs improving?
Just like sql_function, it would be nice to need less arguments. Unfortunately, concat_idents isn't that useful. Luckily, macros 2.0 seems to be moving and would allow less arguments.

@weiznich, all problems from your review should be fixed now. It's just the Clippy part that's failing the build now (but it looks like the Diesel team already brought that up with the Clippy team).

I don't know much about macros 1.1 (yet), but I agree that that's the better approach for this issue. It's more concise, logical, and forward thinking. I'd love to help out with this; my main concern would be the support for macros 1.1. Are they supported in stable currently?
If so, would you mind, @sgrif, if I closed this PR and opened an issue for discussing this new sql_function macro?

Yes, Macros 1.1 has been stable for well over a year. I think it was Rust 1.17? I know it was by far the biggest release of Rust. It's the reason Serde and Diesel work on stable.

If so, would you mind, @sgrif, if I closed this PR and opened an issue for discussing this new sql_function macro?

Up to you. It's your PR. ;)


fix: fix lint

What this PR does / why we need it:
linter is showing errors
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
Special notes for your reviewer:

Codecov Report

Merging #672 (9b8c696) into main (3ed3295) will increase coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #672      +/-   ##
==========================================
+ Coverage   15.43%   15.46%   +0.02%
==========================================
  Files          13       13
  Lines        1600     1597       -3
==========================================
  Hits          247      247
+ Misses       1325     1322       -3
  Partials       28       28

Flag
Coverage Δ

unittests
15.46% <0.00%> (+0.02%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/eraser/eraser.go
0.00% <0.00%> (ø)

pkg/metrics/metrics.go
57.14% <0.00%> (ø)

pkg/utils/utils.go
11.83% <0.00%> (ø)

test/e2e/util/kubectl.go
0.00% <0.00%> (ø)

test/e2e/util/utils.go
7.40% <0.00%> (+0.04%)
:arrow_up:

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


Feature: Add cellToChildPos and childPosToCell

Adds two new functions:

cellToChildPos gives the position of the child in an ordered list of all the children of the cell's parent at a given resolution. The "ordered list" here is the same order as returned by cellToChildren, which I believe is numerically sorted by index. Essentially, this function allows you to determine the numeric index of the cell among its siblings, given a parent resolution that defines the sibling list.
childPosToCell offers the reverse functionality, returning a child cell given a parent, a child resolution, and a child index.

This pair of functions opens up several new use cases:

Easy iteration through all children of some parent, with no need to allocate memory for cellToChildren. I think we can do this internally in the library using iterators, but this offers an ergonomic API for external consumers.
Compact representations for sets of common-ancestor cells, including arrays of small bit-width integers (e.g. uint16 if the parent/child res difference is <= 5) and bit arrays (e.g. 16807 bits / 2101 bytes to indicate yes/no whether each child 5 steps down is included in the set). This is likely more effective than compact if there's no particular likelihood that the cells are contiguous.
Association between data arrays and H3 indexes without the need to store the H3 indexes themselves (e.g. a list of 16807 values corresponding by position to each child 5 steps down from some parent)

Notes

I'm open to suggestions on the name. childPosition might be clearer (but longer), childIndex makes sense but risked confusion with H3 indexes.
I included exhaustive tests for 0-3 resolution steps for all cells up to res 2. Let me know if you think any further tests are needed here.

Coverage increased (+0.02%) to 99.016% when pulling 5d2063cc295fe537e6ea10c958832a5a8c72cd0b on nrabinowitz:child-pos-functions into 87de60bb5c88a72b09c7c8dca0c2df4e7ac1ddef on uber:master.


Suppressing 423 error in Terragrunt Provider Cache

Description
Fixes #3430.
Fixes #3420.

TODOs
Read the Gruntwork contribution guidelines.

[ ] Update the docs.
[ ] Run the relevant tests successfully, including pre-commit checks.
[ ] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[ ] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide

I noticed strict linter complaining about some moved code, most probably we need another issue to address the findings
internal/os/exec/ptty_unix.go:24: Function 'runCommandWithPTY' is too long (75 > 60) (funlen)
func runCommandWithPTY(logger log.Logger, cmd *exec.Cmd) (err error) {
config/include.go:102: the line is 228 characters long, which exceeds the maximum of 140 characters. (lll)
                return nil, errors.New("you reached an impossible condition. This is most likely a bug in terragrunt. Please open an issue at github.com/gruntwork-io/terragrunt with this error message.Code: HANDLE_INCLUDE_NIL_INCLUDE_CONFIG")
config/include.go:168: the line is 240 characters long, which exceeds the maximum of 140 characters. (lll)
                return nil, errors.New("you reached an impossible condition. This is most likely a bug in terragrunt. Please open an issue at github.com/gruntwork-io/terragrunt with this error message. Code: HANDLE_INCLUDE_DEPENDENCY_NIL_INCLUDE_CONFIG")
cli/commands/render-json/action.go:35: the line is 269 characters long, which exceeds the maximum of 140 characters. (lll)
                return errors.New("terragrunt was not able to render the config as json because it received no config. This is almost certainly a bug in Terragrunt. Please open an issue on github.com/gruntwork-io/terragrunt with this message and the contents of your terragrunt.hcl")
internal/os/signal/signal_unix.go:15:22: var-declaration: should omit type []os.Signal from declaration of var InterruptSignals; it will be inferred from the right-hand side (revive)
var InterruptSignals []os.Signal = []os.Signal{syscall.SIGTERM, syscall.SIGINT}
                     ^
internal/os/exec/ptty_unix.go:102:1: exported: exported function PrepareConsole should have comment or be unexported (revive)
func PrepareConsole(logger log.Logger) {
^
internal/errors/errors.go:13:9: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(message, args...)" (err113)
        err := fmt.Errorf(message, args...)
               ^
internal/errors/errors.go:99:10: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%v\", rec)" (err113)
                        err = fmt.Errorf("%v", rec)
                              ^
internal/errors/export.go:18:9: do not define dynamic errors, use wrapped static errors instead: "errors.New(text)" (err113)
        return errors.New(text)
               ^
internal/os/signal/signal_unix.go:12:5: InterruptSignal is a global variable (gochecknoglobals)
var InterruptSignal = syscall.SIGINT

Something is not right with error handling I suspect
terragrunt version v0.67.16

14:02:51.934 ERROR  5 errors occurred:
	* [./app2] command failed with exit code 1
	* [./app3] command failed with exit code 1
	* [./app4] command failed with exit code 1
	* [./app5] command failed with exit code 1
	* [./app1] command failed with exit code 1

14:02:51.934 ERROR  Unable to determine underlying exit code, so Terragrunt will exit with error code 1
14:02:51.935 ERROR  Suggested fixes:
The executables 'terraform' and 'tofu' are missing from your $PATH. Please add at least one of these to your $PATH.

terragrunt version v0.67.16-18-g55a5d7bea90e

14:04:48.674 ERROR  5 errors occurred:
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)

14:04:48.677 ERROR  Unable to determine underlying exit code, so Terragrunt will exit with error code 1
14:04:48.677 ERROR  runtime error: invalid memory address or nil pointer dereference
14:04:48.678 ERROR  Unable to determine underlying exit code, so Terragrunt will exit with error code 1

Something is not right with error handling I suspect
terragrunt version v0.67.16

14:02:51.934 ERROR  5 errors occurred:
	* [./app2] command failed with exit code 1
	* [./app3] command failed with exit code 1
	* [./app4] command failed with exit code 1
	* [./app5] command failed with exit code 1
	* [./app1] command failed with exit code 1

14:02:51.934 ERROR  Unable to determine underlying exit code, so Terragrunt will exit with error code 1
14:02:51.935 ERROR  Suggested fixes:
The executables 'terraform' and 'tofu' are missing from your $PATH. Please add at least one of these to your $PATH.

terragrunt version v0.67.16-18-g55a5d7bea90e

14:04:48.674 ERROR  5 errors occurred:
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)
	* %!s(PANIC=Error method: runtime error: invalid memory address or nil pointer dereference)

14:04:48.677 ERROR  Unable to determine underlying exit code, so Terragrunt will exit with error code 1
14:04:48.677 ERROR  runtime error: invalid memory address or nil pointer dereference
14:04:48.678 ERROR  Unable to determine underlying exit code, so Terragrunt will exit with error code 1

Fixed.

I noticed strict linter complaining about some moved code, most probably we need another issue to address the findings
internal/os/exec/ptty_unix.go:24: Function 'runCommandWithPTY' is too long (75 > 60) (funlen)
func runCommandWithPTY(logger log.Logger, cmd *exec.Cmd) (err error) {
config/include.go:102: the line is 228 characters long, which exceeds the maximum of 140 characters. (lll)
                return nil, errors.New("you reached an impossible condition. This is most likely a bug in terragrunt. Please open an issue at github.com/gruntwork-io/terragrunt with this error message.Code: HANDLE_INCLUDE_NIL_INCLUDE_CONFIG")
config/include.go:168: the line is 240 characters long, which exceeds the maximum of 140 characters. (lll)
                return nil, errors.New("you reached an impossible condition. This is most likely a bug in terragrunt. Please open an issue at github.com/gruntwork-io/terragrunt with this error message. Code: HANDLE_INCLUDE_DEPENDENCY_NIL_INCLUDE_CONFIG")
cli/commands/render-json/action.go:35: the line is 269 characters long, which exceeds the maximum of 140 characters. (lll)
                return errors.New("terragrunt was not able to render the config as json because it received no config. This is almost certainly a bug in Terragrunt. Please open an issue on github.com/gruntwork-io/terragrunt with this message and the contents of your terragrunt.hcl")
internal/os/signal/signal_unix.go:15:22: var-declaration: should omit type []os.Signal from declaration of var InterruptSignals; it will be inferred from the right-hand side (revive)
var InterruptSignals []os.Signal = []os.Signal{syscall.SIGTERM, syscall.SIGINT}
                     ^
internal/os/exec/ptty_unix.go:102:1: exported: exported function PrepareConsole should have comment or be unexported (revive)
func PrepareConsole(logger log.Logger) {
^
internal/errors/errors.go:13:9: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(message, args...)" (err113)
        err := fmt.Errorf(message, args...)
               ^
internal/errors/errors.go:99:10: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%v\", rec)" (err113)
                        err = fmt.Errorf("%v", rec)
                              ^
internal/errors/export.go:18:9: do not define dynamic errors, use wrapped static errors instead: "errors.New(text)" (err113)
        return errors.New(text)
               ^
internal/os/signal/signal_unix.go:12:5: InterruptSignal is a global variable (gochecknoglobals)
var InterruptSignal = syscall.SIGINT

I fixed almost everything except the functions that are too long.


why AzcopyVersion  10.18.1 doesnot show detailed log even after defining log verbosity with --log-level INFO for the log file

Which version of the AzCopy was used? AzcopyVersion  10.18.1
Note: The version is visible when running AzCopy without any argument
Which platform are you using? (ex: Windows, Mac, Linux) LINUX
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
cat "/path/to/file.txt" | azcopy cp "https://[account].blob.core.windows.net/[container]/[path/to/blob]?[SAS]" --from-to PipeBlob --log-level
What problem was encountered?
No detailed log
$ cat 4fee856d-db1b-3347-6aec-14eb756b7486.log
2024/09/13 09:54:40 AzcopyVersion  10.18.1
2024/09/13 09:54:40 OS-Environment  linux
2024/09/13 09:54:40 OS-Architecture  amd64
2024/09/13 09:54:40 Log times are in UTC. Local time is 13 Sep 2024 09:54:40
2024/09/13 09:54:40 ISO 8601 START TIME: to copy files that changed before or after this job started, use the parameter --include-before=2024-09-13T09:54:35Z or --include-after=2024-09-13T09:54:35Z
How can we reproduce the problem in the simplest way?
Have you found a mitigation/solution?
When I run higher version 10.25.1, I can see detailed log like PUT operation and all but we don't want to upgrade to higher version and need detailed log with current azcopy version that we are using i.e. 10.18.1

cat "/path/to/file.txt" | azcopy cp "https://[account].blob.core.windows.net/[container]/[path/to/blob]?[SAS]" --from-to PipeBlob --log-level INFO

10.18 is quite an older version. Kindly upgrade to the latest version and see if logging is working fine or not.

Hi @vibhansa-msft,
we don't want to upgrade azcopy version and keeping the same version is there any possible way that we can get detailed logs..
Let me know if we can define any environment variable or anything like this to get detailed azcopy log for 10.18.1 azcopy version
Command I run:
cat /path/to/file | azcopy cp "https://storageaccount.blob.core.windows.net/container/datavolume_0000.dat?SAS" --from-to PipeBlob --log-level INFO
Difference in logs
xbrhdph10101:HDB:ph1adm ~/.azcopy 68> cat 6cdcc629-3218-4547-4cca-8444ee306525.log
2024/09/13 09:38:45 AzcopyVersion  10.18.1
2024/09/13 09:38:45 OS-Environment  linux
2024/09/13 09:38:45 OS-Architecture  amd64
2024/09/13 09:38:45 Log times are in UTC. Local time is 13 Sep 2024 09:38:45
2024/09/13 09:38:45 ISO 8601 START TIME: to copy files that changed before or after this job started, use the parameter --include-before=2024-09-13T09:38:40Z or --include-after=2024-09-13T09:38:40Z
xbrhdph10101:HDB:ph1adm ~/.azcopy 63> cat 01a989f9-23f8-3c4b-5149-d9d25f35a5c2.log
2024/09/13 11:33:23 AzcopyVersion  10.25.1
2024/09/13 11:33:23 OS-Environment  linux
2024/09/13 11:33:23 OS-Architecture  amd64
2024/09/13 11:33:23 Log times are in UTC. Local time is 13 Sep 2024 11:33:23
2024/09/13 11:33:23 ISO 8601 START TIME: to copy files that changed before or after this job started, use the parameter --include-before=2024-09-13T11:33:18Z or --include-after=2024-09-13T11:33:18Z
..
2024/09/13 11:33:24 ==> REQUEST/RESPONSE (Try=1/44.8µs, OpTime=63.203037ms) -- RESPONSE STATUS CODE ERROR
PUT https://xbr0201backuptsi0001.blob.core.windows.net/xbr0201/datavolume_0000.dat?blockid=Me734ivkQFNBey2TBdCfPQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%3D%3D&comp=block&se=2024-09-14T18%3A18%3A21Z&sig=-REDACTED-&sp=rwdlacup&spr=https&srt=sco&ss=b&sv=2021-06-08
Accept: application/xml
Content-Length: 8388608
Content-Type: application/octet-stream
User-Agent: AzCopy/10.25.1 azsdk-go-azblob/v1.3.1 (go1.22.4; linux)
X-Ms-Client-Request-Id: 0c57a556-1252-4d6d-6f96-4c274bd3c354
x-ms-version: 2023-08-03
RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Content-Length: 408
Content-Type: application/xml
Date: Fri, 13 Sep 2024 11:33:23 GMT
Server: Microsoft-HTTPAPI/2.0
X-Ms-Error-Code: AuthenticationFailed
X-Ms-Request-Id: 05939181-801e-0096-62d0-0588b6000000
Response Details: AuthenticationFailedServer failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. Signature fields not well formed.</

Try using log-level to debug instead of info and you may get more detailed logs.

Hi @vibhansa-msft,
Tried but it's also not working
cat "/path/to/file.txt" | azcopy cp "https://[account].blob.core.windows.net/[container]/[path/to/blob]?[SAS]" --from-to PipeBlob --log-level DEBUG
azthdbh20201:HDB:bh2adm ~/.azcopy 55> cat 457a6db6-768d-e643-47fa-279bd84afef3.log
2024/09/16 13:01:52 AzcopyVersion  10.18.1
2024/09/16 13:01:52 OS-Environment  linux
2024/09/16 13:01:52 OS-Architecture  amd64
2024/09/16 13:01:52 Log times are in UTC. Local time is 16 Sep 2024 13:01:52
2024/09/16 13:01:52 ISO 8601 START TIME: to copy files that changed before or after this job started, use the parameter --include-before=2024-09-16T13:01:47Z or --include-after=2024-09-16T13:01:47Z


Package.toml versus package.toml (casing)

Is it possible to use the all-lowercase package.toml, or does the "p" need to be capitalized? The README spells it Package.toml in two places, even though it isn't at the beginning of the sentence. Was that intentional? Personally I'd prefer to keep it lowercase.

I tried with package.toml and was successful. Although here https://github.com/entropic-dev/entropic/blob/f6e1ccf304a7b2d535b092ad86374ffccc243e5f/cli/lib/load-package-toml.js#L12 it asks for Package.toml in the code, I am using OSX which is case insensitive, like Windows.

I don't get capitalized P as well

For consistency with the legacy node package manager, and not appearing higher up in ls results than things like README and CHANGES, I would also love it if we went with package.toml, lowercase.

P[tab] = Package.toml
p[tab] = package.json
tab completion for the win!

Except on Windows which doesn't know what case is, Macs which know what case is but just don't care about it, and anyone who's got set completion-ignore-case on in their inputrc.

yeah sorry that wasn't super helpful as a comment :)

No worries, it's totally valid if you're on Linux or BSD (we should all just be on BSD, we'd be so much more hipster)

P[tab] = Package.toml
p[tab] = package.json
tab completion for the win!

I believe Chris picked capital-P Package.toml because Rust uses capital-C Cargo.toml, and of course we're iterating on package.json.

Both of these factored in. The potential for bugs when folks collaborate on entropic packages between case-sensitive and case-insensitive filesystems makes me wince a bit, though.
The tough bit, as you know, is that this decision simultaneously carries a lot of importance (it'll be the first introduction to Entropic for a lot of folks!) and not much importance at all (as soon as you know what it is, the name is pretty inconsequential, modulo <cringe>case sensitive filesystem bugs</cringe>.)
The decision kind of boils down to: should the file convey who the file is relevant to, or what the file does? I'm torn on this. Xargo.toml in Rust confused me when I first saw it, but it's Google-able. Entropic.toml would be similar – why is this repo configuring entropy? Package.toml is a bit overreaching, but we did say we want to be "the package manager for anything".
Anyway. I note, apropos of nothing, that hart.toml, for the unit of entropy, only has 298,000 results on Google.

case sensitive filesystem bugs

I see this as case in-sensitive filesystem bugs 🤣

Anyway. I note, apropos of nothing, that hart.toml, for the unit of entropy, only has 298,000 results on Google.

7, if you use quotes, which maybe says more about Google than it does about possible package file names.
I don't have strong feelings either way, but I tend to like using lowercase everything just because it seems to lead to less issues, especially if folks are working on multiple platforms and building and deploying on mostly Linux.

There's also precedent with Ruby's Gemfile. I think capitalization is negligible. Naming it something entirely different actually sounds better. I think a lot of people are going to share the sentiment of this thread and think, this is not the Javascript package manager that I know. I saw / see a lot of that when working on Yarn.

The tough bit, as you know, is that this decision simultaneously carries a lot of importance (it'll be the first introduction to Entropic for a lot of folks!) and not much importance at all (as soon as you know what it is, the name is pretty inconsequential, modulo case sensitive filesystem bugs.)

The name is subtle, but I think using Entropic.toml or hart.toml says "Hey, we're not trying to be npm" pretty strongly. So, I would actually +1 an entirely different ( and searchable! ) name.

I'm from the Ruby community, and I've never been particularly fond of Gemfile. (I believe it was a nod to Rakefile, which was itself a nod to Makefile.) At least Package.toml has a file extension....
Anyway my vote is for whatever-you-want-just-lowercase-please-thank-you.toml.

hart.toml is way off. Config files should be called after whats using them.

:heart:.toml
I'm sorry, I'll let myself out.

I really like the clarity that "Entropic.toml" conveys. "Package.toml" feels vaguely like it might just be a new package file format the npm added support for. Changing the name completely makes it feel much more intentional.
As another note, Cargo (the package manager for Rust) uses "Cargo.toml" as its package file name, and I think the consistency between Cargo and Entropic would be pretty cool as someone who often uses Rust and Node together.

@partheseas there's been a lot of work on https://github.com/entropic-dev/entropic/pull/189 and discussion over on Discourse about what the file should be called, and I think the general mood is that yeah, calling it something more specific than Package would be a good idea. I think folks are still split on the casing, though.

Entropic.toml seems to be the most clear representation. I have always felt it was weird that npm uses package.json
Upper case characters should never be required for names because depending on your filesystem there is no difference (for this reason any project with more than a couple developers should also use only lower case filenames, IMHO). It is fine if capital E is the convention as long as lowercase works fine.


Saving branch as scene loses script variable data and some built in overrides such as layer masks

Godot version:
3.2.3
OS/device including version:
Linux
Issue description:
On saving a node branch as a scene file, it has lost script variable overrides for a large proportion of my nodes, breaking the configuration in my game. Hopefully these steps will let you know whether it's a known fault or not?

I have the following structure and have selected to save 'Map_Container_Disableable' node. If you observe I have child node Missile_Launcher3 selected and is as follows. Please observe 'Facing', which is -1 from the default.

The data for this selected child node looks like this:
[node name="Missile_Launcher3" parent="Map_Containers_Disableable/Container_Missile_Launcher" instance=ExtResource( 4 )]
position = Vector2( 343, 3074 )
z_index = -1
facing = 1

I then save 'Map_Container_Disableable'  as a scene branch file and the data is now as follows. As you can see 'facing' has gone and when I look at this branch in Godot it has reverted to the default of 1 for evert item, wiping ever -1.

[node name="Missile_Launcher3" type="KinematicBody2D" parent="." instance=ExtResource( 2 )]
position = Vector2( 343, 3074 )
z_index = -1
collision_layer = 8
collision_mask = 0
script = ExtResource( 1 )
firing = 0.25
facing has disappeared and on loading the new scene, it is the default of 1.
As you can see, facing has been put in, but it's the default of -1, when the original was overrriden with 1
It is also doing it with built in data such as collision layer masks too.
For example,

The Collision Mask which is shown as overridden completely disappears on saving as a branch, i.e. the mask is 0.
Please let me know if this is a known fault or whether you would like a sample, but I you may need to download the whole project from git, however the fault is simply limited to the activity above so knowledge of the project is irrelevant.
This is not good when you cannot rely on Godot to keep integrity of your data :(

Right, I've found the bug.
In the actual scene file for the Missile Launcher I have the code as:
export var facing:int = 1
but  I have overridden the default for the main:

So, when Godot is saving as a branch I believe it is presuming the export default is the same as stored in the settings and so ignoring the value. If that makes sense?

btw, another bug I've noticed. Normally when I open my scenes it auto-expands the Inspector showing every section that has an override. In the 'save as branch' all of this has gone and nothing is expanded. This makes it even worse trying to find all the failed entries that are lost.


New library template gitignores Cargo.lock

Problem
The .gitignore file in the new library template lists the Cargo.lock file. This can make it more difficult to reproduce builds and perform bisections using the git bisect command.
Steps

Run cargo new --bin my_app to create a new binary crate.
Run cargo new --lib my_lib to create a new library crate.

The .gitignore file in my_app does not list Cargo.lock, but the .gitignore file in my_lib does.
Possible Solution(s)
The new library crate template shouldn't add Cargo.lock to .gitignore, same as the new binary crate template.
Notes
Including the Cargo.lock file in the repository can improve the developer experience by making it more likely that the library will compile when running git clone and cargo check.
It is also a question orthogonal to that of including Cargo.lock in the packaged crate. Even if Cargo.lock is not used during dependency resolution, it can still be useful to have in the repository for the purposes of reproducibility and hermeticity when developing the library itself.
Version
cargo 1.68.0-nightly (cc0a32087 2022-12-14)                                                                                release: 1.68.0-nightly
commit-hash: cc0a320879c17207bbfb96b5d778e28a2c62030d
commit-date: 2022-12-14
host: x86_64-pc-windows-msvc
libgit2: 1.5.0 (sys:0.15.0 vendored)
libcurl: 7.86.0-DEV (sys:0.4.59+curl-7.86.0 vendored ssl:Schannel)                                                                          os: Windows 10.0.19044 (Windows 10 Pro) [64-bit]

This is by design, you can check out https://doc.rust-lang.org/stable/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries.

I'm aware of this argument and mentioned it in the notes.
It is true that Cargo.lock won't help to build the library in the exact same configuration as it will be built by some application that uses it, and that's fine.
However, it will help to build the library itself (and associated items like tests and examples) in a known configuration. This is useful for the purpose of developing the library itself.
Suppose I made a library and published it on GitHub. You check it out and try to build it and run tests. It works on my machine and doesn't work on yours, because your Cargo.lock was generated at a different time. This is bad development experience.
It could be argued that this shouldn't happen in a correct library. A correct library is supposed to work for all combinations of dependency versions compatible with the constraints specified in Cargo.toml. However, in real life, libraries are merely approximately correct. Sometimes the constraints are not tight enough, or the dependencies break SemVer requirements. A principled approach would be to build and test the library with various Cargo.lock files, preferably with ALL possible Cargo.lock files. But this isn't practical. Building and testing with one specific Cargo.lock file is better than building and testing with an arbitrary Cargo.lock file thatmay be different for each developer and could change over time uncontrollably (that's what you get by not keeping Cargo.lock under version control).

Thanks for the report. This has been discusses a couple of times. Probably a duplicate of https://github.com/rust-lang/cargo/issues/8728?

I will go ahead closing this. If anyone feels it's wrong, feel free to commment. We can then consider re-open.


151 - Multiple api/settings requests

Updated some packages to their latest versions
Resolved a browser console error about styled components
Resolved the multiple API calls issue
Relocated the serverSettings custom hook

Closes #151

Still seeing multiple api/settings call when switch to Collection view

When I visit `/admin/settings` I got this issue
and some styles are broken. For example favorite icon in Single token View page, but I think I can fix it later when you push it to dev

Partial changelog
Frontend dependencies

Updated Ethers from v5 to v6
Updated react-redux from v8 to v9
Removed redux, redux-sagas, replaced them with @reduxjs/toolkit
Moved typescript definitions to dev dependencies
Minor version updates to react-router-dom and yoti face capture

Frontend refactors

useDispatch and useSelector are now custom hooks, with this we don't need to declare types when using store data or calling dispatch
Relocated and refactored the server settings into multiple components
Tried to enable typescript in most components and resolve any typing issues

Frontend redux store
With latest version we can now use asyncThunks to handle API calls and status flags

colorStore: renamed to colors, isDarkMode flag now available to check if dark mode is toggled
contractsStore: split into the web3 redux store for values and useContracts custom hooks for ethers contracts
-- currentChain -> connectedChain
-- realChain -> requestedChain
userStore: renamed to user
-- loggedIn -> isLoggedIn
-- removed UserRd and userData fields, all of the information is flat, available in the user store

Backend:

Added icon color server setting
User session now stores the login type
Fixed issue when updating user profile
Optimized server settings query to database
new API endpoint: /api/contracts/:contractId/products
Optimized API endpoint: /api/contracts/full to include offer data and metadata for one token
Removed API: /api/files/categories because /api/categories did the same functionality
Optimized API endpoint: /api/media/list to query the total number of results in the same database query

@jmsm412 Not seeing Connect Wallet  Button

@jmsm412 Getting error on clicking Continue button on Offers page to navigate to next page for Approve  & putting offers on marketplace

@jmsm412 Error while selecting offer during upload of video


Once i close the app,access token to remain saved

Please provide a description of what your issue is so that I can attempt to help you solve it. Thanks.


nix-output-monitor: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
(Slightly) better support for nix 2.4
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

works as expected here


More nfnl conversions

Converted more the straight-forward source files.
Created new busted test for legacy ones.

🚀 you're really doing amazing here, thank you so much for all of the help. I hope this work lays the foundation for so many future improvements and contributors.


Run 70b evaluation.

Hello, when I run the evaluation of the 70b model, I used 8*80G GPUs, but it still oom. How can I evaluate the the 70b model?

You can set --max_memory_per_gpu flag to auto and it will shard the model on the available gpus.  You can also reduce the batch size to 1, and use bf16 --precision bf16 and if it still OOMs, you can try reducingmax_length_generation


Simplify logging process

What we have
Logger with @AllArgsConstructor and static Log generate(...) method. They both are complicated and heavy to use
What we want
To have pre-build simplified functionality for Log class.
How to do it
Examples:

public LogBuilder now() LogBuilder method, that will set timestamp to LocalDateTime.now()
public LogBuilder createUserLog(String email) Log method to create new LogBuilder from the template with action = LogEvent.CREATE_USER and subject = <provided_email>
and so on

Done


HIVE-24282: Show columns shouldn't sort output columns unless explicitly mentioned

Thanks for the review & merge @miklosgergely


Issue when copying files between containers in a storage

Which version of the AzCopy was used?
AzCopy/10.0.8-Preview Azure-Storage
Which platform are you using? (ex: Windows, Mac, Linux)
MacOSX
What command did you run?
./azcopy cp "https://fraserprod.blob.core.windows.net/document?st=2019-03-26T10%3A27%3A03Z&se=2019-03-27T10%3A27%3A03Z&sp=rl&sv=2018-03-28&sr=c&sig=[REDACTED]" "https://fraserprod.blob.core.windows.net/test?st=2019-03-26T10%3A27%3A34Z&se=2019-03-27T10%3A27%3A34Z&sp=wl&sv=2018-03-28&sr=c&sig=[REDACTED]" --recursive=true
What problem was encountered?
Keep receiving message transfer failed. To be detailed it's related to header invalid format. Please take a look at the log file below.
How can we reproduce the problem in the simplest way?
Just run the command above to see if any other error since SAS url still valid in 24hours. SAS generated from Azure Explorer.
a9c1ffb8-2601-c541-42ba-7269b2f829b4.log
Have you found a mitigation/solution?
No, but I found something quite weird:

Transfering files between local & Azure Storage working perfectly fine.
Transfering files between container working perfectly fine only if Azure Storage is classic (the issue originated from Storage Type V2)

I tried hundreds of times but still not working. Please help me, thanks a lots.

Hi @Jackychans, thanks for reaching out!
We'll investigate and update you shortly.
Please avoid exposing your SAS tokens, I've edited them away.

@Jackychans
Would you try again, this could be a service-side issue, we have reported this to service team, and this should has been mitigated.

Thanks. Just tried again and working like a charm !

Great to know this!


Warn not error on overflow in QFT

Summary
Previously, the rotation angles were calculated by dividing pi by
increasingly large numbers for large qubit counts.  This meant that the
intermediate result could overflow to infinity for large circuits,
raising an OverflowError.  Instead, we do the calculation as a
multiplication with a very small number, so the intermediate values
safely underflow to zero in this case (if the intermediate value
underflows, the final value would have had precision loss anyway).
To make sure the user is aware, we raise warnings when this will happen.

Details and comments
Fix #7538.
I think there's probably some speed-ups to be had in various methods called by QFT.build here; it takes much longer to build the circuit than I'd expect.  Probably there's some extraneous copying and binding that we can reduce.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 10 (90.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.009%) to 83.15%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/circuit/library/basis_change/qft.py
9
10
90.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.009%

Covered Lines:
51996

Relevant Lines:
62533

💛  - Coveralls


React toTree() handling mismatches

Sorry for deleting the template, there are a few very specific problems I saw in the source.

I'm not sure how I feel about https://github.com/airbnb/enzyme/pull/1399. It gives a false sense of security but in practice can still break in patch versions. I explain the reasoning in a comment there—basically, it works by accident, and if react-dom internal logic changes you'd have to fork it again anyway because you'd need to support multiple versions.

It seems like this call won't handle a fragment inside a root correctly. It will just skip over any but the first item. I'm not sure Enzyme API allows rendering an array or a <Fragment> as a root node but React does. (Note React's toTree() is also broken in this way—but I fixed it in https://github.com/facebook/react/pull/12154.)

If the above is right, I suspect that this call might also not work with fragments. It is totally legitimate to put a fragment inside a portal.

I haven't had time to verify these in detail because I'm in the middle of fixing React toTree() bugs myself. But I thought it might be helpful to report for further investigation.

I've probably exacerbated 2 & 3 with #1513 as well. All 4 branches are supposed to the same logic, I think that would be better signaled by stacked cases but eslint.

@gaearon moving the conversion in  https://github.com/airbnb/enzyme/pull/1399 here

I agree, open to suggestions how to fix those :-) There was a proposal from Enzyme side for us to expose toTree in the test renderer. But even that didn’t end up being used.

I don't remember the context around why toTree didn't end up being used; right now the React 16 adapter only uses react-test-renderer/shallow and ReactDOM is used directly for the mount renderer. It could be that the test renderer wasn't sufficient to meet feature parity with the existing API for things like event simulation (cc @lelandrichardson).

We’re totally open to Enzyme taking more ownership over this (and potentially exposing toTree on ReactDOM in some special testing mode), but we should probably start “blessed” integration from the test renderer.

Exposing toTree on ReactTestUtils should be sufficient for generating the tree structure Enzyme currently consumes. There's also the question of whether there should be a blessed way to traverse the tree (right now we have RSTTraversal.
This might be a good opportunity for both teams to collaborate on an RFC for a better low-level testing interface. I'm not sure either team has the time/resources to commit though, which is partially why previous attempts have dropped off.

it's be really nice to have Enzyme use toTree from react, it be a lot less awkward to do stuff like: https://github.com/4Catalyzer/enzyme-webdriver where we need to copy/paste that logic :)

(Related to #1778 / #1790)


vertxHttpReqInfo only supports GET (Unable to call HTTP POST or PUT etc)

Hi There,
I'm able to consume the Kafka Message, but while i trigger the async API call using
Stream<JStreamVertxParallelEoSStreamProcessor.VertxCPResult<String,String>> resultStream = parallelConsumer.vertxHttpReqInfoStream(record -> {
String apiReq = "{id:1}";
// Need to call POST VERB
Map<String, String> params = UniMaps.of("recordKey", "12345", "payload", apiReq );
return new VertxParallelEoSStreamProcessor.RequestInfo("abc.workin.net", 8443, "/api/v1/limit", params);

This is internally calling GET VERB ( not POST VERB ). Can someone help me understand the POST call ?

@astubbs : Can you help me on this ?

Hi @OpenSourceTycoon ! Welcome to the project, and thanks for submitting this issue! We appreciate your involvement.
You have indeed uncovered some missing features :) PC currently only support GET requests, as seen on this line.
It shouldn't be hard to add support for the other methods.
However, in the mean time, as a workaround, you can simply use the other methods - either vertxHttpRequest, or vertxWebClient.
Let me know if that solves your problem.

@astubbs : can you provide examples for  vertxHttpRequest, or vertxWebClient ?

Sure!

    void webClientExample(VertxParallelStreamProcessor<String, String> parallelConsumer) {
        parallelConsumer.vertxHttpRequest((wc, rec) -> wc.post("some uri"),
                httpResponseFuture -> {
                },
                httpResponseAsyncResult -> {
                }
        );
    }

    void httpRequestExample(VertxParallelStreamProcessor<String, String> parallelConsumer) {
        parallelConsumer.vertxHttpWebClient((wc, rec) -> wc.post("some uri").send(),
                httpResponseFuture -> {
                }
        );
    }

I've also added a PR to make the API simpler for your use- assuming you aren't interested in using the callback hooks?
https://github.com/confluentinc/parallel-consumer/pull/181/files

@astubbs PR available for Merge Process. Can you provide the release jars path after merge process. ? Thanks in advance.

The PR doesn't need to be merged to solve your problem. Just use the "no op" call back functions like in the example above. E.g. :httpResponseFuture -> {}

Thanks @astubbs. I'm using below code
     parallelConsumer.vertxHttpWebClient((wc, rec) -> wc.postAbs("some uri").send(),                 httpResponseFuture -> {                 }         );
However, i see "Failed to create SSL connection" - Vert.x Vertical Fail : Failed to create SSL connection" issue

There is a method on the HttpClientOptions, we need to call that method with false. We can use options class in to my code.

Are you still having an issue? Can you provide. Full failing example perhaps with a broken test?

@astubbs : Yes. our usecase is

Pull multiple kafka messages from Confluent Cluster
Call Parallel API calls to API
Persist the data

`
VertxParallelStreamProcessor<String,String> parallelConsumer;
public void run(){
Consumer<String,String> kafakaConsumer = getKafkaConsumer();
var options = parallelConsumerOptions.<String, String>builder().ordering(KEY).consumer(kafakaConsumer).maxConcurrency(10).build();
this.parallelConsumer = VertxParallelStreamProcessor.createEosStreamProcessor(options);
parallelConsumer.subscrribe(of("test-topic"));
parallelConsumer.vertxHttpWebClient((wc,rec) -> wc.postAbs("https://www.google.com").putHeaders("Content-Type","application/json").sendJson("{}").onSuccess(response -} { log.info("Response""+response.bodyAsString())}
});
}
`

What's the issue?

2021-11-25 11:47:44.084 [vert.x-eventloop-thread-1] INFO  c.j.c.r.u.a.c.ParallelConsumer - Failure --Failed to create SSL connection 2021-11-25 11:47:44.084 [vert.x-eventloop-thread-1] ERROR i.c.p.v.VertxParallelEoSStreamProcessor - Vert.x Vertical fail: Failed to create SSL connection

our port is 8443 not 443. vert.x function validating the SSL Certificate and not able to see the CIPHER. May be we can set - HttpClinetOptions.setTrustAll(true); Not sure ..how to map with webclient object.

I'm referring to


Redesign purging cached data so it's understandable

Nothing happens when I press the button

It should not: the button only purges obsolete data, which is at least a week old.

The message you added makes it much better :)
However, it might still be nice to be able to either update all data or purge all data for team mapping activity

Possible options:

show "N/M" or "N% of M" (too wide).
show only number of obsolete items and hide the total number.
make a sub-pane with multiple options (clear obsolete, clear all, more info).
hide the number.

Now the item shows only obsolete data count, and switches to full data count when there are none. Fixed in 0.1.8.


adjust cp and ct models to use full cp and ct curves provided

currently cut in, cut out, and rated specifications overide the cp and ct points provided outside of region 2. the provided points should take precedence

This issue has been addressed. Now the curves are used where given. For Cp and Power, the other turbine specs are used outside of the region given. For Ct, the nearest provided Ct value is used.


Hide "Clear all notifications" when no notification is present

Solves #61938

Thanks, but I think https://github.com/Microsoft/vscode/pull/62517 and https://github.com/Microsoft/vscode/pull/61983 superseed this one to disable the icon instead.


Local celery scheduling

🛠 Changelog

Adds celery worker and beat task scheduler to docker-compose setup & use Redis as the broker
Adds two periodic tasks to test data: one for pruning reservations, and one to remove expired orders

🧪 Test plan

Check that periodic tasks run using the new docker setup (tested myself)
Check that background tasks are run using worker in celery container (tested myself)

🚧 Dependencies

None

🎫 Tickets

TILA-3323

/fast-forward


⚠ gorzdrav.org has degraded performance

In f7a00ab, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 2905 ms

Resolved: gorzdrav.org performance has improved in 261b833.


The result point  of function cartesianToCanvasCoordinates may be on the far side of globe

What happened?
let position = Cesium.Cartesian3.fromDegrees(lon,lat);
let screenPoint = scene.cartesianToCanvasCoordinates(position);
The ray passing through the Globe will have two intersections, the screenPoint is one of them on the front of Globe, but somtimes the screenPoint on the far side of Globe,
Reproduction steps
1.Take some longitude and latitude coordinate points on the front of the Globe
2. Use cartesianToCanvasCoordinates function to convert screenPoints
3.Add screenPoints in screen.
...
Sandcastle example
No response
Environment
Browser: chrome
CesiumJS Version: 1.111
Operating System:Windows11

Thanks for the report @polluxll.
I think we may need a bit more information to diagnose what is going on.
Can you describe the values that are getting unexpected results? Including a sandcastle example may be helpful for troubleshooting.

sample: https://sandcastle.cesium.com/#c=bVLBauMwEP2VwScFjOy09JI6oeAt3cPSlnbZky+qPInFKhojyUmzS/+9khOBk1ZgM/PevNHwRpKM87BTuEcLSzC4hxqdGrb8z4ixJpNjXpPxQhm0TTa7bYxGDz055RWZoDtpamF9iIS55mtL2x+4sYiOzcsyh+sy6dB45Q/nt92PGPvfGDid1H2RgnzKKeMXE/lzBB6s6DslHTCY9InHdbSHBXg7YH7O9Ood9av6h7CYlxdch2rT+Rdco0UjQwWk636eM/zx6fH+QixJk42SyZT1iDG4urmB/PQvwzeH2UT9AbNj8hENi8FxPXz0TaHjom3Z0cRkqZPBzlOZk2iQy7SK31QLsxOuJrKtMiKgLFka5TK8ANLINW2YkxHJ8qxy/qBxlYa6U9uerIfBasZ54XHb69ioeBvkX/RcOpdmrYqptGrVDlS7/OYVgdTCucCsBz1uoMlWVRHqv0g1iTD45mmHVotDLOvmq19HkHNeFSH9XumJ9JuwF50/AQ

The position on the far side of Globe,but the screenPoint console the result<PHONE_NUMBER>452282,<PHONE_NUMBER>6313576)

Hi @polluxll, what would you expect the output to be instead?
It looks like the cartesian position is being translated to the corresponding canvas position as the function is documented to do.

maybe the result can determine if the poistion is on the back

Ah, thank you.
I think that is beyond the scope of that particular function. I would suggest instead using a pick function like globe.pick or and intersection test to determine that instead.

If you have additional questions, I'd suggest you go to the Cesium Forum where there are members of the community and developers from the team who can help. Thanks!


Create true dev-build tools for building rancher locally.

We can't run 'go build' in a Docker build because there might be local dependencies.

Stop assuming which platforms each image is targetting -- the main image and the agent might be running on different architectures.

More work on dev-build tools.
No related issue.
The problem this solves is that when we moved to GHA we started building the rancher and rancher-agent image in Dockerfiles.  This becomes problematic when I want to make and test local changes to libraries like steve. I tried many ways to work with the new system, but it was easier to do the builds outside the Dockerfiles and copy the binaries into the images.
Also, I often target a dual-architecture setup -- local runs on an arm64 image but the downstream ones run on amd64.  I found I had to be explicit in all the build steps.
To test, I use this script, running in my rancher/rancher repo:
#!/bin/bash

set -exu

export MAIN_ARCH=arm64
export AGENT_ARCH=amd64
export CHART_REPO=$YOUR_DOCKER_ID
export REPO=$YOUR_DOCKER_ID
export TAG=v2.9.0-dev.6
export TARGET_ARCH=$ARCH

./dev-scripts/fixed-quick

echo "Go run install-rancher"

During the image builds, just the binary build step uses the build arch (amd64 on GHA), other steps use the defined platform with QEMU. The agent image copies binaries from the rancher image with the same arch, so I don't think we need to define the arch for those binaries.


Problem with PHP

Hi Jutha,
I attach a screenshot of the problem. It's a message about a problem with PHP appearance above the

header of my website.
Waiting for your reply,
Thanks,
Tamer

Hi @tamerimran ,
Thanks for let me know ,
I have to rewrite a bit of code , the problem is because the original code I were written in PHP 5.6 and I think you are using PHP 7 which is awesome in performance and security.
By the way , while I'm fixing these bug. You can make an easy temporary fix by add @ in front of these code to hide the deprecation message.

      $output = @preg_replace_callback("/(<video[^>]*src *= *[\"']?)([^\"']*)/i", getURL, $output);
        $output = @preg_replace_callback("/(<source[^>]*src *= *[\"']?)([^\"']*)/i", getURL, $output);
        $output = @preg_replace_callback("/(<audio[^>]*src *= *[\"']?)([^\"']*)/i", getURL, $output);

Anyway , Really Appreciate your contribution to the project.
Regards ,
Juthawong Naisanguansee


eCAL crashes when the time plugin could not be loaded.

Happens when the dll does not exist. Happens after repeatedly calling Initialize + Finalize

Unable to reproduce


espeak mistake for chinese

Actually, this is a problem with espeak-ng's ipa output.
For mandarin Chinese, using five level tone mark, the tone mark for a character is more than one, i.e.:

55 for the 1st tone, namely "阴平",
35 for the 2nd tone, namely "阳平",
214 for the 3rd tone, namely "上声",
51 for the 4th tone, namely "去声".

When using espeak with language "cmn-latn-pinyin", it will output correct tonal mark, but when using --ipa flag, the output will only maintain the first one, which is clearly a mistake. For example:

And in the latest phonemizer package (v3.2.1), it passed the ipa code to espeak api, and will always get the wrong result. By the way, I'm using the latest espeak-ng (eSpeak NG text-to-speech: 1.52-dev, build from github's source code).
Fortunately, we can simply use the tonal mark in Pinyin instead, with just one line code  inserted to Preprocessing/TextFrontend before line 265, as:
class ArticulatoryCombinedTextFrontend:
    ...
    def get_phone_string(...):
        ...
        if self.g2p_lang == "cmn-latn-pinyin" or self.g2p_lang == "cmn":
            phones = ' '.join([re.sub(r'[1-5ɜ]', u[-1], p)for p, u in zip(phones.split(), utt.split())])
            ...

Thank you for the detailed explanation of the problem and the proposed solution!
I will update the current main branch and the most recent release accordingly. I'm also working on some changes to improve the embedding function, so I have to re-train the models anyway. I'll also update the model in the release page to one that is trained with the correct tones for Mandarin once training is done. I wonder if the problem is the same for other languages where the tone consists of multiple targets e.g. in Vietnamese, or wheter that is only the case for the pinyin version of espeak

There were a bunch of edgecases, like punctuation marks which espeak removes, but pypinyin leaves in. I wrote some handling for that, but then I decided that I don't like how hacky the solution was. Instead I looked for another way to convert pinyin to IPA and found dragonmapper (https://github.com/tsroten/dragonmapper). It is now used instead of espeak for the conversion to IPA and for some annotated example sentences I found online, it seems to work pretty well.
I also looked into how espeak works for Vietnamese, whether it has the same bug. But for Vietnamese, the numbers that espeak produces have an entirely different meaning. They denote first, second, third and so on, not the level of pitch. So for Vietnamese, espeak works as intended (although I'm not sure how good)
Anyway, the next models that I will train will contain the fix and I'm looking forward to see the impact.


New Codespace Creation error 400 (400 Bad Request) with error: InsufficientQuota:

New code space error
Error: creating Deployment (Subscription: ""
│ Resource Group Name: "infoasst-test"
│ Account Name: "infoasst-aoai"
│ Deployment Name: "text-embedding-ada-002"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: InsufficientQuota: This operation require 240 new capacity in quota Tokens Per Minute (thousands) - Text-Embedding-Ada-002, which is bigger than the current available capacity 0. The current quota usage is 240 and the quota limit is 240 for quota Tokens Per Minute (thousands) - Text-Embedding-Ada-002.
│
│   with module.openaiServices.azurerm_cognitive_deployment.deployment[1],
│   on core/ai/openaiservices/openaiservices.tf line 27, in resource "azurerm_cognitive_deployment" "deployment":
│   27: resource "azurerm_cognitive_deployment" "deployment" {
│
│ creating Deployment (Subscription: ""
│ Resource Group Name: "infoasst-test"
│ Account Name: "infoasst-aoai"
│ Deployment Name: "text-embedding-ada-002"): performing CreateOrUpdate: unexpected status 400 (400 Bad Request) with error: InsufficientQuota: This operation require 240 new capacity in quota Tokens Per Minute
│ (thousands) - Text-Embedding-Ada-002, which is bigger than the current available capacity 0. The current quota usage is 240 and the quota limit is 240 for quota Tokens Per Minute (thousands) - Text-Embedding-Ada-002.
╵
make: *** [Makefile:22: infrastructure] Error 1

This is a quota issue with your Azure OpenAI services. Azure Open AI quota is subscription wide, meaning if you have more than one instance of Azure OpenAI and/or more than one deployment of the same base model, the TPM quota is the combination across all instances in a subscription. This can lead to quota limits being consumed as reported in the error you provided. Please check to see how many instance you have deployed and total consumed quota for the "text-embeddings-ada-02" model.
You can reduce existing deployed instances, delete unused deployments, or request a quota increase in the Azure Portal. Also be aware that deleted model deployments and instances my not return quota imediately (https://github.com/microsoft/PubSec-Info-Assistant/issues/282#issuecomment-1771774703 )


[BUG?] Hiding a drawing does turn "limits" settings off.

When I hide a drawing where I configured some vision restrictions, the settings have no effect. The restrictions just work while the drawing is not hidden.
This is kind of a bummer, because I don't want to break the immersion of a map with several lines of drawings. It would be great if the restrictions/settings would effect player tokens even it the drawing is hidden.
I tested this only with drawings, because I need complex shapes (forest with thick undergrowth for example).
Thanks in advance!
Cheers
Berytak

Working as intended. Hidden things shouldn't really affect anything in the scene.
I added the Invisible option to the Advanced Drawing Tools module: https://github.com/dev7355608/advanced-drawing-tools/releases/tag/v2.1.0
In V12 we'll hopefully be able to ditch drawings in favor of Scene Regions to define limited areas in more powerful way with better UI/UX.

Personally, I would have preferred a separate button in the context menu of the drawing to hide the limitation, but of course I understand the decision. Nevertheless, it is still a pity.


peek fails when rendering GIF

Issue description
After recording a gif using peek it aborts whilst trying to save the gif.
Using screen recorder backend ffmpeg

(peek:4697): Gtk-WARNING **: 11:39:02.531: Could not find the icon 'media-record-symbolic-ltr'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
	http://icon-theme.freedesktop.org/releases

(peek:4697): dconf-WARNING **: 11:39:32.999: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.044: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.071: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.091: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.111: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.131: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.147: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.167: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.183: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.200: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.217: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files

(peek:4697): dconf-WARNING **: 11:39:33.233: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
realloc(): invalid old size
Aborted

Steps to reproduce
Record a GIF using peek and and try to save it.
Technical details
# - system: `"x86_64-linux"`
 - host os: `Linux 4.19.19, NixOS, 19.09.git.da1a2b1 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2`
 - nixpkgs: `/home/matt/nixpkgs`

Solved this by installing gnome3.dconf and enabling programs.dconf.enable = true;.

The gif rendering still fails but the other formats (webm/mp4) work after this change.

I noticed lots of reports upstream of issues like this.
I feel like they all could be using a too recent vala version for this application.
So I was able to reproduce this issue, but after compiling with a pinned vala_0_40 the issue ceased

gif I recorded with success

I'm still experiencing this issue by the way. Needed to install dconf and enable it, like described above.


Added Tests for Tag Commands

Added test cases for

TagCommand
UntagCommand
TagCommandParser
UntagCommandParser

Added additional methods to create FoodRem items without tags for test case use as well.

Codecov Report

Merging #235 (ae9c3f1) into master (722e878) will increase coverage by 3.83%.
The diff coverage is 71.42%.

@@             Coverage Diff              @@
##             master     #235      +/-   ##
============================================
+ Coverage     64.80%   68.64%   +3.83%
- Complexity      541      572      +31
============================================
  Files           109      109
  Lines          1901     1907       +6
  Branches        188      192       +4
============================================
+ Hits           1232     1309      +77
+ Misses          601      527      -74
- Partials         68       71       +3

Impacted Files
Coverage Δ

...foodrem/logic/commands/tagcommands/TagCommand.java
90.62% <66.66%> (+87.17%)
:arrow_up:

...odrem/logic/commands/tagcommands/UntagCommand.java
95.65% <75.00%> (+90.65%)
:arrow_up:

src/main/java/seedu/foodrem/model/item/Item.java
85.00% <0.00%> (+3.33%)
:arrow_up:

...in/java/seedu/foodrem/logic/parser/ParserUtil.java
96.15% <0.00%> (+19.23%)
:arrow_up:

...ogic/parser/tagcommandparser/TagCommandParser.java
100.00% <0.00%> (+100.00%)
:arrow_up:

...ic/parser/tagcommandparser/UntagCommandParser.java
100.00% <0.00%> (+100.00%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Notion] Create Database Page -> Navigate to created page

Extension
https://www.raycast.com/notion/notion
Description
Currently, once a new database page is created, Raycast closes. But it would be nice if there was an option to navigate to the created page in Notion (preferably in the Notion desktop app)
Who will benefit from this feature?
I guess anyone who uses Notion but craves the frictionless experience of creating new notes in Apple Notes using "fn + Q" in MacOS.
For anyone in jobs where you're creating documentation on the fly (I'm a product manager) it would be amazing to create a new doc and have it open to edit while your in a meeting, on a call, etc. For me being able to do that while screensharing, but without browsing through potentially sensitive info in Notion while I open or switch to Notion, search for and open my "notebook" database, click "New" to create a page, and then finally be able work within the doc.
Ideally this is a global shortcut that Notion implemented, but thought I'd share this here just in case there was interest!
Anything else?
No response

@JustinTBrown  I think this is a great idea! I like the workflow of quickly creating and opening a new page to start taking notes with. (I have a iOS shortcut to do this on my phone).
The behavior to close Raycast after creating a new page is optional, so we'd probably have to ignore/disable this option if that behavior is turned off. (It wouldn't make sense to open the page in Notion without closing Raycast).
Do you want to work on this or is this up for grabs?

Thanks! It's up for grabs, but I'll check in later if I can free up some time!


CLI: add security token to admin add search attribute

Coverage decreased (-0.1%) to 66.623% when pulling f1bb7295bf87f08e10302f808db41fa9eebc6ea7 on clisa into 6120c999e295a490a0c10506cad919cfbba9f2de on master.


Obsoletion request: GO:0000422 autophagy of mitochondrion  (has direct replacement)

Please provide as much information as you can:
See https://github.com/geneontology/go-ontology/issues/25541 for background

GO term ID and Label

GO:0000422 autophagy of mitochondrion
GO:1903146  regulation of autophagy of mitochondrion
GO:1903147    negative regulation of autophagy of mitochondrion
GO:1903599    positive regulation of autophagy of mitochondrion

Reason for deprecation

[ ]  The reason for obsoletion is that this term was an unnecessary grouping term.

"Replace by" term (ID and label)

GO:0000423   mitophagy
and appropriate regulation children

Are there annotations to this term?

(91) autophagy of mitochondrion
(11)	positive regulation of autophagy of mitochondrion
(19)	regulation of autophagy of mitochondrion
(5) | negative regulation of autophagy of mitochondrion
can be migrated automatically to GO:0000423   mitophagy and regulation children

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)

None

Is this term in a subset? (check the AmiGO page for that term)

No

Any other information

Checklist for ontology editor
Check term usage and metadata in Protégé

[ ] check term usage in the ontology
[x] check internal mappings: RHEA, EC, MetaCyc
[x] check subset usage
[x] check taxon constraints

Check annotations

[ ] create Annotation Review spreadsheet

Replace by, no reannotation required
Notification

[ ] create obsoletion announcement
[ ] announce to GO friends<EMAIL_ADDRESS>[ ] paste the text in the ontology ticket

sigh
Comments
Note that this term is not a child of mitophagy because the community genrally uses that latter to refer to the macroautophagy of mitochondria.

so, should we do that ?


Add gpu const functions

Part of #79

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 91.94631% with 12 lines in your changes missing coverage. Please review.

Project coverage is 99.64%. Comparing base (75dbce7) to head (3daa84a).

Files with missing lines
Patch %
Lines

crates/shad_analyzer/src/registration/constants.rs
76.66%
7 Missing :warning:

.../shad_analyzer/src/registration/const_functions.rs
90.90%
4 Missing :warning:

crates/shad_analyzer/src/checks/functions.rs
97.56%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              main      #83      +/-   ##
===========================================
- Coverage   100.00%   99.64%   -0.36%
===========================================
  Files           66       67       +1
  Lines         3260     3400     +140
===========================================
+ Hits          3260     3388     +128
- Misses           0       12      +12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use rake-compiler-dock for cross compiling fat gem

This PR also fixes cross_platform.
Note that this rake-compiler-dock rake task dose not support bundle install(1) --path option. Please use bundle install instead when you execute this rake task.

Note that this rake-compiler-dock rake task dose not support bundle install(1) --path option. Please use bundle install instead when you execute this rake task.

Could you add this comment in Rakefile?

Sure, I added above note into Rakefile.

Thanks!


Remove some more unecessary cloning in sql_expr_to_logical_expr

Rationale
Re https://github.com/apache/arrow-datafusion/issues/1469
Follow on to https://github.com/apache/arrow-datafusion/pull/1945# from @doki23  ❤
Changes
Remove some more unnecessary clone() while building up Exprs from SQLExpr.
I wanted a small vanity project to make some actual code changes rather than filing ticket or reviewing more PRs lol -- see https://github.com/apache/arrow-datafusion/pull/1945#pullrequestreview-903442421
I'll highlight the places below that this isn't just mechanical

👍🏻

Thanks @yjshen !