Document need to clean up WEPs for k8s pods when a k8s node is restarted

Currently when k8s nodes are rebooted/crash a Delete to the CNI plugin is not done on the nodes and endpoints are leaked.  We should document this perhaps in a FAQ.  It would be great to provide an example or two to clean up those endpoints but I don't know if we want to maintain that.  Maybe a blog post or something would be good to make something like that available.

We should open up a feature request for the true long term solution of this as well.

The description is missing a few details. I'll summarize what the desired information should look like:

In Kubernetes, kubelet can go down and come back up without any disruption of service to the pods.
However, if a node is down for longer than the node-monitor-grace-period, the controller manager will mark the node as unhealthy, and then start evicting its pods.
This pod eviction process does not send a CmdDel to the CNI plugin (Calico), so Calico has no idea the pod has been shut down.
This results in some cleanup that is never called, such as:

releasing the IP address the pod was using
deleting the endpoint calico is storing for that pod

For now, the process of cleaning up these orphaned endpoints is manual.

The goal of this issue is to better document this^ and ideally provide a means of cleaning up those pods (while we work on an automatic solution)


PR: Some small fixes to the Maintenance instructions

Description of Changes

git cherry-pick was missing an option without which it was not working.
Simplify name of branches created when doing manual backports.

Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

@meeseeksdev please backport to 6.x


NEW: Reserved field names for Data Object

Fixes issue #8088 .

From memory, this PR was created by some "learn to code" camp of some sort. Don't think the original author will have another look at it, so I'll close.

@maxime-rainville The "original author" was me.
My 2c worth:

will return reserved_field_names specific to each data object. Is that something we want to be customisable for each individual DataObject class or should all DataObject use the same list?

This should have been gotten over the line, far faster with a core list that isn't userland configurable seeing as the original issue as I reported was with resect to fields that framework already considered as "reserved" but just didn't deny userland use of such fields.
const RESERVED_FIELDS = [
    'Author',
    'Type',
    'Data',
];

^ probably would have sufficed.


SAA-864 Log key events

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

Comparison is base (44fe1c5) 85.34% compared to head (7d52e6e) 85.36%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #516      +/-   ##
============================================
+ Coverage     85.34%   85.36%   +0.01%
- Complexity     2397     2399       +2
============================================
  Files           295      296       +1
  Lines          8686     8703      +17
  Branches        553      553
============================================
+ Hits           7413     7429      +16
- Misses          992      993       +1
  Partials        281      281

Files Changed
Coverage Δ

...mentapi/config/ApplicationInsightsConfiguration.kt
75.00% <75.00%> (ø)

...activitiesmanagementapi/service/ActivityService.kt
76.78% <100.00%> (+0.93%)
:arrow_up:

... and 1 file with indirect coverage changes

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


Forum UI was not implemented yet and it returns a 404 page

I'm submitting a
(Check one with "x" from given options)

[ ] Bug report
[x] Feature request

Current behavior

Expected behavior

Shall I work on this issue, Sir?


Update microsoft-teams-add-on-licensing.md

Fixed a minor typo.

@cichur PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@stefanflegg - please commit my additional correction.


Get and display Bro content in a simple app

Get Bro tweets from the bostrom blockchain API
Sort them by date descending
Resolve content via IPFS node (build-in or the gateway)
Render markdown and display

the result should be like that
https://cyb.ai/network/bostrom/contract/bostrom1ndwqfv2skglrmsqu4wlneepthyrquf9r7sx6r0

Useful links

react-markdown
file-type
it-all
uint8arrays/concat
https://www.npmjs.com/package/ipfs

not necessary but cool

@cosmjs/tendermint-rpc
@cybercongress/cyber-js
@cosmjs/stargate


MRG: Fix for epochs _raw_times

Closes #2357.
Ready for review/merge from my end.

Travis is not happy

Argh sorry about that, all better now

thanks!


terminate called after throwing an instance of 'torch::jit::ErrorReport'

wenetspeech model ,Finished package, run model error:terminate called after throwing an instance of 'torch::jit::ErrorReport'

what's you pytorch version and libtorch version?

We update both the pytorch and libtorch to 1.10.0, please pull the latest code  and retry.

thanks, v0.5.0 was used for the project deployment code and  the model is v1.0.0 ;I don't know if it's possible?
pytorch ==1.8.0,


Unable to invoke gordon apply on Debian Linux

I am unable to invoke gordon apply on Debian Linux.  Here's why.
gordon's apply command depends on a python call to platform.processor()
https://github.com/jorgebastida/gordon/blob/80567b456d89d4224be6b95331c95298d25b64a8/gordon/resources/lambdas.py#L403
Per the python documents, a valid return value of platform.processor()
is an empty string. https://docs.python.org/2/library/platform.html.  The gordon code in question does not handle this return value.
platform.processor() returns an empty string when uname -p returns the valid
value of "unknown". http://svn.python.org/projects/python/trunk/Lib/platform.py
On my debian linux system and other I've checked, uname -p returns "unknown".  Other systems, like NetBSD, do the same thing, so I've heard.
As consequence, gordon apply does work at least on Debian Linux.
If, though, one replaces the platform.processor() with platform.machine(), gordon apply works.
I'm not sure if that is the correct fix, however. It appears that python's platform lib depends heavily on uname. In the wild, though, the return values of uname is highly variable across *nix platforms.

I need to amend this report.  This bug applies to running gordon run

Same situation (problem and proposed fix working) in cygwin_x64


Updating the alacritty script

Merge this first, now that alacritty file in dwm-titus has changed.

Sorry for the inconvenience. We had a massive restructure of the codebase to improve future development. Because of this can you update your PR to the new structure. Thank you for your assistance and contribution.


Adding new property to set wait time

If the new property waitTimeDuration is set on construct it is used to set the wait time to the lock

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

This fixes #455


bulkProcessor  add panic send on closed channel

When using the bulkProcessor add function, under what circumstances will panic
panic is send on closed channel What is the best posture to use bulkProcessor

bulkProcessor is a class of the Java Transport Client, are you sure this is the right repository ? If not documentation for the bulkProcessor can be found here.
Otherwise, if you are trying to find some examples for the BulkIndexer of the Go client, here is a simple code example and an example project which goes a bit deeper.


Camera to world error

Fort camera to world I think the calulation should be:
P = K[R^t | -R^t*T]
newP = P[cols 1-2] | (P[col3] * z + P[col4])
newP^-1 x  [u, v, 1]^t = [a, b, c]
Xworld = a/c
Yworld = b/c
Zworld = z
where
z = world altitude
K = Camera Transform
R^t, transpose of R
T = Xw  (Camera world coords)
Your code helped me a ton with my problem, thanks for posting.

Hi! You are talking about image_to_world(self, image_px, z) function, aren't you?
I would say that the function is exactly doing the steps you've described:
    def image_to_world(self, image_px, z):
        """
        Project image points with defined world z to world coordinates.
        :param image_px: image points
        :type image_px: numpy.ndarray, shape=(2 or 3, n)
        :param z: world z coordinate of the projected image points
        :type z: float
        :return: n projective world coordinates
        :rtype: numpy.ndarray, shape=(4, n)
        """
        if image_px.shape[0] == 2:
            image_px = e2p(image_px)
        image_undistorted = self._undistort(image_px)
        tmpP = np.hstack((self.P[:, [0, 1]], self.P[:, 2, np.newaxis] * z + self.P[:, 3, np.newaxis]))  # newP = P[cols 1-2] | (P[col3] * z + P[col4])
        return np.linalg.inv(tmpP).dot(image_undistorted)  # newP^-1 x [u, v, 1]^t = [a, b, c]

Concerning this camera matrix decomposition: P = K[R^t | -R^t*T]. You understand R differently than the R in the code. The Camera.R is the world orientation in the camera coordinate frame, but your R is the Camera.R inverted (or transposed) - the camera orientation in the world coordinate frame. See http://cmp.felk.cvut.cz/cmp/courses/TDV/2013W/lectures/tdv-2013-all.pdf page 21, "Changing The Outer (World) Reference Frame". I should document this.
Or is the error somewhere else? Did I miss something?

I couldn't tell you for sure.  I needed to get world locations (UTM coordinates) from a UAV camera.  I was verifying visually with a map library.  My code is in Java, when I get a chance I will grab the bits out that have to do with this and share them with you.

You can try to use the camera.py with your R transposed and maybe also
T multiplied by -1. This should convert your R, T to camera.py R,t.
colek42<EMAIL_ADDRESS>napsal Pá, dub 17, 2015 v 5∶29 :

I couldn't tell you for sure. I needed to get world locations (UTM
coordinates) from a UAV camera. I was verifying visually with a map
library. My code is in Java, when I get a chance I will grab the bits
out that have to do with this and share them with you.
—
Reply to this email directly or view it on GitHub.


proposal: Overseer integration

Since this plugin is working with tasks, I would just want to show how I have configured it. You might want to add it to the plugin or to the README as an example of configuration.
The idea:

It uses overseer parser to show a quick fix list only when errors happens on build (I did it before your feature was added to the plugin)
It watches the run and test commands
It creates a list of tasks to have a history
other things that can be configured with overseer, like running those tasks in the order you want
If used with resession, the tasks are run automatically on opening the project (this is specially interesting if you have errors in your build and have to leave the coding session. It will pop up the quickfix list in the next day)

The config:
local local_plugins_path = vim.fn.stdpath("config") .. "/lua/local_plugins/"
return {
  {
    -- "GustavEikaas/easy-dotnet.nvim",
    dir = local_plugins_path .. "easy-dotnet.nvim",
    dependencies = { "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim" },
    config = function()
      local function get_secret_path(secret_guid)
        local path = ""
        local home_dir = vim.fn.expand("~")
        if require("easy-dotnet.extensions").isWindows() then
          local secret_path = home_dir
            .. "\\AppData\\Roaming\\Microsoft\\UserSecrets\\"
            .. secret_guid
            .. "\\secrets.json"
          path = secret_path
        else
          local secret_path = home_dir .. "/.microsoft/usersecrets/" .. secret_guid .. "/secrets.json"
          path = secret_path
        end
        return path
      end

      local logPath = vim.fn.stdpath("data") .. "/easy-dotnet/build.log"
      local dotnet = require("easy-dotnet")
      -- Options are not required
      dotnet.setup({
        test_runner = {
          noBuild = true,
          noRestore = true,
        },
        terminal = function(path, action)
          local commands = {
            run = function()
              return "dotnet run --project " .. path
            end,
            test = function()
              return "dotnet test " .. path
            end,
            restore = function()
              return "dotnet restore --configfile " .. os.getenv("NUGET_CONFIG") .. " " .. path
            end,
            build = function()
              return "dotnet build  " .. path .. " /flp:v=q /flp:logfile=" .. logPath
            end,
          }

          local function filter_warnings(line)
            if not line:find("warning") then
              return line:match("^(.+)%((%d+),(%d+)%)%: (.+)$")
            end
          end

          local overseer_components = {
            { "on_complete_dispose", timeout = 30 },
            "default",
            { "unique", replace = true },
            {
              "on_output_parse",
              parser = {
                diagnostics = {
                  { "extract", filter_warnings, "filename", "lnum", "col", "text" },
                },
              },
            },
            {
              "on_result_diagnostics_quickfix",
              open = true,
              close = true,
            },
          }

          if action == "run" or action == "test" then
            table.insert(overseer_components, { "restart_on_save", paths = { LazyVim.root.git() } })
          end

          local command = commands[action]()
          local task = require("overseer").new_task({
            strategy = {
              "toggleterm",
              use_shell = false,
              direction = "horizontal",
              open_on_start = false,
            },
            name = action,
            cmd = command,
            cwd = LazyVim.root.git(),
            components = overseer_components,
          })
          task:start()
        end,
        secrets = {
          path = get_secret_path,
        },
      })
    end,
  },
}

Very cool! :D Yeah ill add it to the README for now and if i get more user configurations ill probably make an examples folder.

Fixed by: #47


mbedtls: some enhancement for PSA crypto core

Enable legacy CONFIG_MBEDTLS_CIPHER_AES_ENABLED when CONFIG_PSA_WANT_KEY_TYPE_AES is set and Mbed TLS is the PSA crypto API provider (i.e. CONFIG_MBEDTLS_PSA_CRYPTO_C). This mimic what happens in Mbed TLS at build time.
Enable CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG instead of CONFIG_MBEDTLS_PSA_CRYPTO_LEGACY_RNG if the platform has any CSPRNG enabled. This helps reducing  RAM/ROM footprint.

As this has a migration guide for 4.0 change, I'm guessing this is desired to be in 4.0.  Given that we're at RC2 now, it's going to need a GitHub Issue to make that happen.  I'm 90% sure this can just be linked to the deprecation of TinyCrypt but I'll leave that up to you :-)  If you think this should be part of 4.0 please add the Milestone.

As this has a migration guide for 4.0 change, I'm guessing this is desired to be in 4.0. Given that we're at RC2 now, it's going to need a GitHub Issue to make that happen. I'm 90% sure this can just be linked to the deprecation of TinyCrypt but I'll leave that up to you :-) If you think this should be part of 4.0 please add the Milestone.

This is only required for #79931 which is still drafted, so no this won't be part of 4.0. I'll move the documentation

As discussed in the Release meeting today, we want to consider the deprecation of Tinycrypt a release blocker item for 4.0. That would mean Part1, Part2, and the mbedTLS changes would all need to be merged in.
@ceolin any objection to this course of action? The point was raised that Tinycrypt has been "just about to be deprecated" for 5 years now, but never seems to make it. We'd like to make it happen now.

please review @ceolin

@ceolin now that 4.0 is out, the CI of this PR is green and we have some approval, can we please merge it?
This would reduce the dependency chain for #79931

@ceolin now that 4.0 is out, the CI of this PR is green and we have some approval, can we please merge it? This would reduce the dependency chain for #79931

As per the rules the assignee (so @ceolin) needs to approve the PR for it to be mergeable.


fix: replace active route after starting my collection

This PR resolves []
Description
After adding a non-p1 artist to mycollection, the flow loads but then goes back to the rejection screen

Link: https://www.notion.so/artsy/After-adding-a-non-p1-artist-to-mycollection-the-flow-loads-but-then-goes-back-to-the-rejection-scr-1db618b7dc05445c80635c4f2f982fca?pvs=4

https://github.com/artsy/eigen/assets/11945712/57d4c669-a3da-46b8-8c3c-ddd94bc87d10

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

#nochangelog
Need help with something? Have a look at our docs, or get in touch with us.

Warnings

:warning:

✅ No changelog changes

  Generated by :no_entry_sign: dangerJS against 9de0d373eff10b4b4a350628524630e38d2dce76


Failed AWS authorization

Pushing Pages
en
updating index{"error"=>"Expected(200) <=> Actual(400 Bad Request)\n  response => #<Excon::Response:0x007f86ed863be0 @data={:body=>"\nInvalidRequestThe authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.5F63FD1C5AFFD77CFGZI3zQq9oHxeoEfEXxWWsq4sHiqJ99ew5G62vSyuxafgmqpuVlEY04t7JpcTFkMUt6v03fqqZE=", :headers=>{"x-amz-request-id"=>"5F63FD1C5AFFD77C", "x-amz-id-2"=>"FGZI3zQq9oHxeoEfEXxWWsq4sHiqJ99ew5G62vSyuxafgmqpuVlEY04t7JpcTFkMUt6v03fqqZE=", "Content-Type"=>"application/xml", "Transfer-Encoding"=>"chunked", "Date"=>"Sat, 24 Jan 2015 16:58:04 GMT", "Connection"=>"close", "Server"=>"AmazonS3"}, :status=>400, :remote_ip=>"<IP_ADDRESS>"}, @body="\nInvalidRequestThe authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.5F63FD1C5AFFD77CFGZI3zQq9oHxeoEfEXxWWsq4sHiqJ99ew5G62vSyuxafgmqpuVlEY04t7JpcTFkMUt6v03fqqZE=", @headers={"x-amz-request-id"=>"5F63FD1C5AFFD77C", "x-amz-id-2"=>"FGZI3zQq9oHxeoEfEXxWWsq4sHiqJ99ew5G62vSyuxafgmqpuVlEY04t7JpcTFkMUt6v03fqqZE=", "Content-Type"=>"application/xml", "Transfer-Encoding"=>"chunked", "Date"=>"Sat, 24 Jan 2015 16:58:04 GMT", "Connection"=>"close", "Server"=>"AmazonS3"}, @status=400, @remote_ip="<IP_ADDRESS>">"}

Same issue here. Found any solution?

Yep. Switched to Node.js stack.


Appstudio update test-component-pac-wgqv

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-wgqv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
1 minute
sast-snyk-check

✅ Succeeded
26 seconds
inspect-image

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
25 seconds
deprecated-base-image-check

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
10 seconds
label-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-wgqv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
1 minute
sast-snyk-check

✅ Succeeded
26 seconds
inspect-image

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
25 seconds
deprecated-base-image-check

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
10 seconds
label-check

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
8 seconds
show-sbom


Handle resilient stored properties in objcImpl

This PR temporarily bans, and lays the groundwork for eventually supporting, resilient stored properties in @objc @implementation classes.
When a stored property contains a resilient value type, its size cannot be determined at compile time. That means the size and exact layout of the instance variables is not known, either. The layout must be computed, and the instance variables and class size data updated, when the class is realized (i.e. at runtime, but before it is used).
For Swift classes (including ordinary @objc classes), the mechanism used to do this works like so:

When the Objective-C runtime realizes a class, it checks a few flags and notices that the class has an "ObjC metadata update function", which it invokes.
The ObjC metadata update function retrieves the Swift type metadata for the class.
If the Swift type metadata is not yet complete, this will cause a "Swift type metadata completion function" to be run.
The Swift type metadata completion function gathers information about the sizes of the types in the stored properties (which are now known since it's runtime) and calls the swift_updateClassMetadata2() function to update the instance variable layout and tell the ObjC runtime to finish realizing the class.

This happens before the Objective-C runtime does its own ivar sliding. In effect, the ivars are slid twice—once to account for changes in the sizes of other ivars ahead of them in the class layout, then again to account for changes in the size of the superclass.
Unfortunately, every single step in this chain is designed for full-fledged Swift classes with Swift metadata; all of them break horribly if you try to use them with a "pure ObjC" class like the ones created by @objc @implementation:

The Objective-C runtime doesn't check for or call the ObjC metadata update function unless the "Swift bit" is set on the class. The Swift bit is normally used to indicate the presence of Swift metadata, so it's not supposed to be set on pure ObjC classes.
Retrieving the Swift type metadata requires use of the type metadata symbol, which is not present for pure ObjC classes.
The Swift type metadata completion function is specified in Swift metadata and there's no way to attach one to a pure ObjC class.
The swift_updateClassMetadata2() function assumes it has been passed a pointer to Swift class metadata and both reads and writes fields that are not present in pure ObjC classes.

This PR lays the groundwork for an alternate mechanism to update the layout of a pure ObjC class during class realization:

The compiler will generate a different ObjC metadata update function which gathers type size information and directly passes it to the runtime, rather than using Swift metadata access mechanisms. This sidesteps problems 2 and 3.
It will call a new runtime entry point, swift_updatePureObjCClassMetadata(), which uses only the Objective-C metadata. This sidesteps problem 4.

However, problem 1 will require changes to the Objective-C runtime, so the new code generation is gated behind an experimental feature flag, ObjCImplementationWithResilientStorage. Without that flag, Swift will unconditionally reject properties that would require this new mechanism; with it, Swift will enforce a (for now) 99.99 minimum deployment target for it.
Fixes rdar://126948464.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

Made some formatting improvements at @tshortli's request. No functional changes.

@swift-ci please smoke test

Windows build timed out.

@swift-ci please smoke test Windows platform


Support Twilio Client SDK for iOS 1.2.3

Appears that no extra additions to the installation instructions are necessary.


ape: 6.7-131003 -> 2019-08-10

Motivation for this change
Wouldn't build anymore.
Things done
Tested with:
> ./result/bin/ape -text "John waits." -cdrsxml -csyntax
<?xml version="1.0" encoding="UTF-8"?>

<apeResult>
  <duration tokenizer="0.000" parser="0.001" refres="0.000"/>
  <syntax>[[specification,[s,[np,[pname,'John']],[vp,[vbar,[vbar,[v,waits]]]]],'.']]</syntax>
  <drsxml><?xml version="1.0" encoding="UTF-8"?>

<DRS domain="A">
  <predicate
      ref="A"
      verb="wait"
      subj="named('John')"
      sentid="1"
      tokid="2"/>
</DRS></drsxml>
  <messages/>
</apeResult>

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] 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)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @yrashk #68361

backported in 0ae0e890fbb8fd2d40a64f09a2da16deba269201


Bot doesn't hear other bots (slack)

Hi,
when using $bot->hears(), it doesn't register other bots (RTM or webhooks). How can this be fixed?
Thanks

Hmm...this is currently on purpose because especially Slack sends back the bot messages.
So for example, if you have something like this:

$botman->hears('hello', function($bot) {
    $bot->reply('hello');
});

This would result in an infinite loop, because BotMan would always listen to itself over and over again.
That's why each messaging driver has a isBot method to determine if the message is sent from a bot and it gets ignored in that case:
https://github.com/mpociot/botman/blob/master/src/Mpociot/BotMan/Drivers/SlackRTMDriver.php#L86-L89
https://github.com/mpociot/botman/blob/master/src/Mpociot/BotMan/Drivers/SlackDriver.php#L119-L122
We would need to gather the own bot id first, and only ignore messages that have the same bot id.

@mpociot I'm trying to do something similar
I have my server deploying software (forge.laravel.com) sending a notification to a channel in slack where my botman lives, i have the botman setup to hear "deployed some fresh code!" and respond back saying "feeling fresh!" but it doesn't detect the text when the notification is sent to the channel by the forge app, it will however detect it if I type it as my slack user.


[VS Code] RPC connection closed while trying to log in with user code on Linux

while trying to log in with user code

@aeperez94 Thanks for reporting the issue. We need a bit more information to help you out.

What OS are you on?
Could you send us your logs?  Run the "Live Share: Export Logs" command and drag-and-drop the zip into a comment here or email them to<EMAIL_ADDRESS>

@aeperez94 Interesting.  Out of curiosity, were you prompted to install Linux dependencies?  Given there is a crash in your logs, I want to eliminate that from the equation.
Could you run: wget -O ~/vsls-reqs https://aka.ms/vsls-linux-prereq-script && bash ~/vsls-reqs in a terminal and see if that resolves the issue?

yeah i was prompted with dependency install inside vscode's terminal and it did a similar process to that command. this is the output
output.txt
it seems all dependencies are installed fine, still cant log in after the user code

@aeperez94 Is your proxy an authenticating proxy? If it requires authentication, the url needs to be http://username:password@host:port/
Moreover, from the exception you are getting, looks like the request never reached any server, either proxy or the auth server, as if it did it would have gotten a response status code, instead of an exception with "An error occurred while sending the request." This most likely indicates a fault on the client side, some reasons that I can think of,

Maybe the dns lookup failed
Maybe there's a firewall setting that is blocking the request
Maybe your proxy server is sending redirection response, with incorrect redirection location headers
Maybe you don't have internet access

I am having a very similar issue on my Debian buster machines also.
Note, I successfully setup this extension on my desktop, which runs all the same software, just minutes ago.
I am using vscode-insider
logs.zip

Hello @Priya91 Yeah, i dont have any firewall rules. also i tried in a non-corporate network with no success. i would like it to work though my company network though as i would like to use this feature with my workmates.
Internet access is off the discussion.
Thing is the vscode app asks for my info when i set up these variables

and if I enter wrong information it will not connect. but, with proper login it still cant continue to log in with the plugin. my variables config without the user password
export HTTPS_PROXY=https://PEREZAGUS:PASSWORD@proxy.tasa.telefonica.com.ar:80/
export HTTP_PROXY=http://PEREZAGUS:PASSWORD@proxy.tasa.telefonica.com.ar:80/
Weird behavior.
Thanks for the response

Interesting. This might be some suttle dependency issue.
I've tried uninstalling the extension, manually removing ~/.local/share/vsliveshare, and tried using the stable vscode 1.23. No luck. I still get the following error when I enter my User Auth Code.

I have currently have the following dependency packages installed:
libunwind8, liblttng-ust0, libcurl3, libuuid1, libkrb5-3, zlib1g, gnome-keyring, libsecret-1-0, desktop-file-utils, gettext, apt-transport-https, libssl1.0.2, libicu57

@linux4life798 We are in the same situation :/

@Priya91
Here are exported logs from just a few moments ago. You can find older ones earlier in this thread.
vscode-liveshare-logs.zip

@linux4life798 Oh it looks like you agent crashed, and any exception it would have thrown is not caught in the logs.. Can you run the vsls-agent.exe directly from your terminal or cmd from the install location..

@Priya91
Hmm, code doesn't seem to use the vsls-agent that I start externally. (does code communicate with the agent directly from a pipe?)
But, it report the following when I run ./vsls-agent monitor-task:
craig@somegreatmachine...:~/.vscode-insiders/extensions/ms-vsliveshare.vsliveshare-0.3.114/dotnet_modules$ ./vsls-agent monitor-task
System.ArgumentNullException: Value cannot be null.
Parameter name: agentUri
   at Microsoft.Requires.NotNullOrEmpty(String value, String parameterName)
   at Microsoft.Cascade.Agent.TaskBrokerRunner.<CreateAsync>d__8.MoveNext() in E:\A\_work\9\s\src\Agent\Tasks\TaskBrokerRunner.cs:line 63
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Cascade.Agent.Program.<RunAsTaskBrokerAsync>d__29.MoveNext() in E:\A\_work\9\s\src\Agent\Program.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Cascade.Agent.Program.<>c__DisplayClass20_2.<<Main>b__7>d.MoveNext() in E:\A\_work\9\s\src\Agent\Program.cs:line 142

@linux4life798 Did you try running ./vsls-agent from terminal? It should just start the process and say it is listening on some pipe, if this passes, then we can eliminate problems with agent process..

Hmm, code doesn't seem to use the vsls-agent that I start externally. (does code communicate with the agent directly from a pipe?)

We don't have to get to this step yet, let's first try to get agent successfully started..

@Priya91 Yes, the vsls-agent does run without arguments and waits for a connection.
craig@somefancymachine:~/.vscode-insiders/extensions/ms-vsliveshare.vsliveshare-0.3.114/dotnet_modules$ ./vsls-agent
[Agent I] (1002) Trace log: /tmp/VSFeedbackVSRTCLogs/20180515_223420_Agent.log
[Agent I] vsls-agent v<IP_ADDRESS>050 (pid: 22569)
[Agent I] Reminder: You may only use this software with Visual Studio and Visual Studio Code, as described in the license (https://go.microsoft.com/fwlink/?linkid=872556).
[Agent I] Start time: 2018-05-15 22:34:20.642
[Agent I] Using VSLS service: https://insiders.liveshare.vsengsaas.visualstudio.com/
[Agent I] VSLSAgent/<IP_ADDRESS>050 VSLS/2.2 PlatformName/Linux 4.16.0 PlatformVersion/<IP_ADDRESS>
[Agent I]
[Agent I] Proxy settings from env variable: http_proxy was null and https_proxy was null
[Agent I] (1001) Listening on pipe "VSLS"

well without the variables i said before it still doesnt work, even after update, and still RPC connection closed.

Same problem with Debian 9.
[2018-05-17 12:55:40.250 Client E] Unhandled error in 'liveshare.signin.browser' command: Error: RPC connection closed.     at connection.onClose (/home/alberto/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.125/out/src/workspace/service.js:115:38)     at CallbackList.invoke (/home/alberto/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.125/node_modules/vscode-jsonrpc/lib/events.js:71:39)     at Emitter.fire (/home/alberto/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.125/node_modules/vscode-jsonrpc/lib/events.js:135:36)     at closeHandler (/home/alberto/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.125/node_modules/vscode-jsonrpc/lib/main.js:221:26)     at CallbackList.invoke (/home/alberto/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.125/node_modules/vscode-jsonrpc/lib/events.js:71:39)     at Emitter.fire (/home/alberto/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.125/node_modules/vscode-jsonrpc/lib/events.js:135:36)     at StreamMessageWriter.AbstractMessageWriter.fireClose (/home/alberto/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.125/node_modules/vscode-jsonrpc/lib/messageWriter.js:57:27)     at Socket.<anonymous> (/home/alberto/.vscode/extensions/ms-vsliveshare.vsliveshare-0.3.125/node_modules/vscode-jsonrpc/lib/messageWriter.js:79:63)     at emitOne (events.js:101:20)     at Socket.emit (events.js:191:7)     at Pipe._handle.close [as _onclose] (net.js:510:12)

@Chuxel That was exactly the issue. libssl1.0.0 was set to manual and lingering around with libssl1.0.2.
I removed libssl1.0.0 and the liveshare plugin now seems to be working.
Thank you!

Awesome!! We'll add a check when this situation occurs to bubble up the issue and resolution.  Wild one - glad we were able to track it down.  Thanks for raising it folks!
I'll close the issue for now, but let us know if you're not unblocked.

Thank you very much @Chuxel . Removed libssl1.0.0 and it is working beautifully.

Thank you @Chuxel you are the man bro

For the ones that ran sudo apt-get remove libssl1.0.0 at terminal:
Is it normal the terminal try to purge all the applications?
doubt.txt
I am running elementaryOS (0.4.1) based on Ubuntu 16.04

@landreussi No, that was not the case for me. All my packages were satisfied by the newer version of libssl.
That indicates that your setup is still heavily dependent on that package. I would not proceed.
Do something like dpkg -l |grep libssl to see if you have any other libssl versions installed concurrently (which @Chuxel seemed to suggest causes an issue).

@landreussi We added a check for this scenario that is creating false positives. See #476. We're working on a fix.  This issue is closed, we can move the conversation over there.
This is a new bug. The bug in this issue is pretty Debian centric.  Debian 8 used libssl1.0.0 but Debian 9 uses libssl1.0.2.  Ubuntu only uses libssl1.0.0.

With Debian buster there is a new trouble.
In my system I have libssl1.0.2 and libssl1.1 so vscode say me:
VS Live Share has failed to start because multiple sub-versions of libssl1.0 are installed.
Remove one of these sub-versions and try again.

But I can't remove none of the two becase I have some packasges that depend on  libssl1.0.2 and others on libssl1.1
VS Live Share 0.3.237
VS Code 1.23.1

Folks,
problem solved after removing extra versions of libssl using dpkg -l |grep libssl
and running sudo dpkg --clear-avail
thank you very much guys
Happy Coding!


Added support for the area function

@lukas-h Can you take a look please?

Please also run dart format . to format the source code properly, so our CI pipeline does not fail the build.
Thank you!

Thank you very much for the contribution 👍 😄


Backspace doesn't work in Flutter for obscured password entry when Capslock is on

@chunhtai
internal b/179195930
This appears to be a bug in the keyboard that flutter uses when entering an obscured password. It only happens when CAPS lock is enabled (not when shifting a letter at a time but when the keyboard is locked in all caps mode by double touching the shift key). The keyboard used for entering a password shows numbers across the top of the keyboard instead of suggestions. Changing the "Show Password" setting prior to touching the input field brings up the normal text entry keyboard. This keyboard does not have the CAPS lock issue. Turning the "Show Password" setting off again will obscure the password but continue to use the normal text entry keyboard. This is not a workaround but helps to clarify the situation. One could potentially force the text entry keyboard for password entry but showing suggestions when entering passwords is undesirable. The simplest workaround is to turn off the CAPS lock key when deleting characters. Unfortunately this might not be obvious to a user.

Hi @johnfelton can you provide a minimum reproducible code, which i can copy paste into my main.dart and run?
Also may i know which platform are you running on?

cc @gspencergoog and @justinmc

Hi @chunhtai
I am running on Android
Here is a minimal test case:
`import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Password Test',
home: Scaffold(
appBar: AppBar(
title: Text('Flutter Password Test'),
),
body: TextFormField(
obscureText: true,
decoration: const InputDecoration(
labelText: 'Password',
),
),
),
);
}
}
`

This looks like a duplicate of https://github.com/flutter/flutter/issues/64761.

Also reminds me of https://github.com/flutter/flutter/issues/79374.
I think there is some root problem with how capslock is being handled right now.

Hi everyone
I cannot reproduce it on device or emulator.
Given the lack of activity, I feel safe to close the issue.

flutter doctor -v
[!] Flutter (Channel master, 3.1.0-0.0.pre.2428, on macOS 13.0 22A5321d darwin-arm, locale en-GB)
    • Flutter version 3.1.0-0.0.pre.2428 on channel master at /Users/tahatesser/Code/flutter
    ! Upstream repository git@github.com:NevercodeHQ/flutter.git is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to git@github.com:NevercodeHQ/flutter.git to dismiss this error.
    • Framework revision 328545e5af (9 hours ago), 2022-08-22 22:31:06 -0400
    • Engine revision ca48808d06
    • Dart version 2.19.0 (build 2.19.0-124.0.dev)
    • DevTools version 2.16.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks
      and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/tahatesser/Code/android-sdk
    • Platform android-32, build-tools 32.1.0-rc1
    • ANDROID_SDK_ROOT = /Users/tahatesser/Code/android-sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Build 14A5294e
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • Redmi K20 Pro (mobile) • def0ad20 • android-arm64  • Android 12 (API 31)
    • macOS (desktop)        • macos    • darwin-arm64   • macOS 13.0 22A5321d darwin-arm
    • Chrome (web)           • chrome   • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Cannot create 'trees_x2_ibp_2048_n16.mat'

Error using save
Cannot create 'trees_x2_ibp_2048_n16.mat' because
'/home/maksim/dev_projects/SupER/matlab/algorithms/SRAlgorithms/NBSRF/private_folder/../models'
does not exist.

Error in nbsrf_training

Error in superresolve_nbsrf (line 23)
    setup = nbsrf_training(setup);

Error in callSRMethod (line 7)
    srImage = feval(funName, slidingWindow, magFactor);

Error in runSRAlgorithm (line 30)
    srImage.(srMethod.name) = callSRMethod(slidingWindow, magFactor,
    srMethod);

Error in processDatasets (line 70)
                                    [srImages, timeME, timeSR] =
                                    runSRAlgorithm(imageDataset.(['Bin',
                                    num2str(binningFactors(binningFactorIdx))]),
                                    imageDataset.groundTruth,
                                    binningFactors(binningFactorIdx),
                                    startReferenceFrame,
                                    numberOfFrames(numberOfFramesIdx,
                                    binningFactorIdx), slidingIdx,
                                    sr_method);

Error in evaluateBaseline (line 21)
processDatasets(inputDir, datasetConfig, resultDir, binningFactors,
numberOfFrames, startReferenceFrame, numberOfFrames_val, sliding_val,
sr_method, binning_val, scenes_val, compressions(compress_val));

Hi,
This error appears because the folder containing the NBSRF models were missing. I excluded the models due to their file size. If you run NBSR for the first time, it will re-train and save the models in that folder. I added the required models folder without the model files to solve this issue.
Best,
Thomas


NoClassDefFound error for generated class

In our project we define a custom monad transformer
newtype OhuaT m a = OhuaT { runOhuaT' :: RWST CompilerEnv Errors CompilerState m a }
    deriving (Functor, Applicative, Monad, MonadIO, MonadTrans)

And an associated class
class Monad m => MonadOhua m where
    recordError :: Error -> m ()
    modifyState :: (CompilerState -> CompilerState) -> m ()
    getState :: m CompilerState

instance Monad m => MonadOhua (OhuaT m) where
    recordError err = OhuaT $ tell [err]
    modifyState = OhuaT . modify
    getState = OhuaT get

Plus a function to initialize the state and run the thing
runOhuaT0 :: Monad ctxt => OhuaT ctxt result -> HS.HashSet Binding -> ctxt result
runOhuaT0 f taken = do
    (val, errors) <- evalRWST (runOhuaT' f) (error "Ohua has no environment!") (CompilerState nameGen 0)
    unless (null errors) $ error $ intercalate "\n" errors
    return val
  where
    nameGen = initNameGen taken

This all compiles but if i try to run it with even a simple computation
main = print =<< runOhuaT0 generateBinding mempty

I get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: ohua_core/ohua/Monad$$fMonadOhuaT
        at main.Main$main1.enter(Unknown Source)
        at main.Main$DZCmain.enter(Unknown Source)
        at eta.runtime.apply.Function.applyV(Function.java:16)
        at eta.runtime.stg.Closures$EvalLazyIO.enter(Closures.java:96)
        at eta.runtime.stg.Capability.schedule(Capability.java:150)
        at eta.runtime.stg.Capability.scheduleClosure(Capability.java:97)
        at eta.runtime.Runtime.evalLazyIO(Runtime.java:189)
        at eta.runtime.Runtime.main(Runtime.java:182)
        at eta.main.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: ohua_core.ohua.Monad$$fMonadOhuaT
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 9 more

I want to add that the monad definition is in a different package than the main function.
The main (library only) package with the monad definition is here and the main function is here.

Thanks for reporting this! I was able to repro this on my machine without even using sandboxes so that rules out sandboxes as the issue. The classpath in dist/build/ohua-dummy-main/ohua-dummy-main does include ohua-core, so it's not etlas's fault either.
I'll debug the code generation of ohua-core itself and see if I can find out why it's not generating $fMonadOhuaT when it should be.

Found the bug - it's a name clash! Basically, there's two things being generated:

$fMonadOhuaT :: (Applicative (OhuaT m), Monad m) => Monad (OhuaT m)
for your monad transformer
$fMonadOhuat :: (MonadOhua m, MonadTrans t, Monad (t m)) => MonadOhua (t m) for your transformer instance for MonadOhua.

Yeah sorry ... that overlapping instance is some dark magic I like to use to generate convenient monad transformers 🙈

But how's that a clash if one's named $fMonadOhuaT and the other $fMonadOhua?

Ah never mind the thing is not case sensitive right? thats the issue?

Yeah it's about case-insensitivity. I literally just replaced the t's with u's in the MonadOhua transformer instance and in ohua-core and reinstalled and it worked!
More seriously, I'm going to leave this issue open (or file a new issue) on some compile-time method that detects when there's a name clash. Low priority for now since it happens so rarely, but we need to find a better solution in the long term.

To make my last comment more clear:
instance {-# OVERLAPPABLE #-} (MonadOhua m, MonadTrans t, Monad (t m)) => MonadOhua (t m) where

to
instance {-# OVERLAPPABLE #-} (MonadOhua m, MonadTrans u, Monad (u m)) => MonadOhua (u m) where

should fix it. Let me know if you encounter anymore issues.

Maybe for now we could just try to respect the spaces? So like Monad_OhuaT and MonadOhua_t? and then escape any undercores in the names themselves for instance by doubling them? So a instance M a b would be M_a_b and M_a b would be M__a_b.
And yes I'll try that fix 🙂

Great solution! And that encoding maintains readability, so I like it.

Would you be interested in implementing this? This is a tiny 5-10 line patch.
I can help you through it by providing hints as to where to do the change.

Sure. If you point me to where to do it I think I should be able to do it. 🙂

Ok, so we're trying to change the naming of typeclass instance dictionaries and we observe that they start with "$f".
Gripping the codebase for "$f" yields two results:

mkForeignExportOcc - We eliminate this since we're not concerned with foreign exports here.
mkDFunOcc (full form is "dictionary function") - this is the one we need to change.

Let me know if you need further hints/clarifications.

I think I have found the right place to fix this. Its actually the function calling mkDFunOcc which is newDFunName.
The compiler also compiles, I just have to test that this change didn't break anything.

You can check that you didn't break anything by running tests/verify/verify.sh. It will ensure that all classes exist on the classpath and no non-existent classes are referenced.

If it works, submit a PR. More advanced stuff will be run by the CI and it'll catch any major breakages if they do happen.

So yesterday when thinking about this case-sensitivity issue again I realized that this issue is larger than I thought before.
Haskell itself is case sensitive. Thus the following instances produce two distinct global dicts
class C ...
instance C TT ...
instance C Tt

which are CTT and CTt. However in Eta both of those will generate a class which is written to the filesystem. On Windows and Mac that means that one of those instance dicts will be overwritten by the other.
This is a case where even introducing _ for separation does not solve the clash as, in a case insensitive environment C_TT and C_Tt are still considered the same.
I however believe to have the solution! In GHC there is a function newGlobalBinder which is used when a new name is generated. It looks up the name in a map of global names and if the name is already defined it prepends a 0 and tries again with the number increasing. I believe we can solve all of our issues by simply making the lookup into the map case insensitive.
That means when we first define an instance CTT and then CTt the lookup for the second one yields a match in CTT and we therefore generate a new unique name CTt0.
After this change we would not need to insert _ anymore, however we can leave that in if you think, as I do, that it improves the readability for generated class names.

Wonderful analysis! I love this solution. If this is implemented properly, it may obviate the need for case clash checking we were doing in the renamer (implemented by @pparkkin) to give an error to the user if they define two top-level bindings which only differed in case - do you think this could solve that problem as well?
I agree that adding _ does increase the readability - your MonadOhua example really highlights the impact :)
I had to do something similar to avoid case-clashes for the uniques. Before the change I made, you could have two closures with names sat_sAB and sat_sAb - this happened so frequently in the early days of this project that I had to come up with a permanent solution which involved translating uniques (which are just Int's) to base36 instead of base62 (which can easily produce case clashes).

I actually misread the code a bit. I still think this is the way this is done in GHC/Eta but I'll have to carefully go through it once more.
But I do believe that we can fix this intercepting the generation for unique top level bindings.
Whether that solves the top-level bindings for the user depends on whether that mechanism also uses newGlobalBinder, but I strongly suspect it does.


Unable to create classification models

I am trying to build a classification model on iris dataset below is its description (column class2 is just a copy of the class column):

I am getting the below error:

This is a dup of #1007. You'll need to update to update to master where this assertion has been converted to a more helpful error message.

Ok, can you please help me understand how to do that?


Bulk coins editor

A mod should have the tools to modify the coins of many users at once.
The ui for the bulk editor should primarily consist of a textarea with one row for each user.
There should be multiple different tools for different editing actions:

[ ] coins flat add/sub
A List of usernames in the textarea, a input field to add the amount (positive or negative) to add to each user
[ ] coins individual add/sub
A List of usernames and coins difference in the textarea. The usernames and difference to add for the user are on the same line, and separated by (at least!) one tab (tablulator). It should be possible to have the username an coins separated by multiple (and varying amount  between lines) tabulators. There will always only be two columns
[ ] coins absolute set
A List of usernames and coins separated by a tab in a textare, like in the individual add. Instead it sets the coins value of the user to the supplied value
[ ] watchtime absolute set
Same as with coins absolute add, but with watchtime duration instead of coins

Ui Idea:
A Drawer for each bulk action that default hides the textarea, input field if required, and action button.
This vertical list of drawers would likely be displayed in a column have the screen width.

this can obviously only be completed when the coins are completed. But if wanted, it would be possible to start on the ui part.


Send back the complete API responses.

This pull request makes it so that we no longer drop large portions of the API responses from Natural Language.
(It also changes several copyright years.)

@lukesneeringer why the copyright year changes? Those aren't new files this year?

I changed the ones I edited. (Something I should be better at doing generally.)

I changed the ones I edited. (Something I should be better at doing generally.)

I don't know what a lawyer-cat says but @jonparrott does know (sometimes)

@lukesneeringer I thought the copyright was only for when the file was created but I could be wrong. I'm no copyright lawyer.

@lukesneeringer hyphenating makes a lot more sense. 👍

Copyright is for when the file was first published, not when it was last edited.

I also failed at updating the system tests -- working on that now.

@googlebot Why is that a problem, exactly? :confused: Just saying...


wiggle: anonymous struct members

While investigating in #2050, I discovered that if I wrote (field $data (array u8)) inside a witx struct then I would receive the following error:
  2    │        error: proc macro panicked
   3   │  --> crates/wasi-common/src/wasi.rs:6:1
   4   │   |
   5   │ 6 | / wiggle::from_witx!({
   6   │ 7 | |     witx: ["WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx", "WASI/phases/ephemeral/witx/wasi_ephemeral_nn.witx"],
   7   │ 8 | |     ctx: WasiCtx,
   8   │ 9 | | });
   9   │   | |___^
  10   │   |
  11   │   = help: message: not implemented: other anonymous struct members: Value(Array(Value(Builtin(U8))))

(I added more verbose error messaging in e4abc2f to understand what was failing). I can avoid this error by adding a layer of indirection--(typename $tensor_data (array u8)) and then (field $data $tensor_data)--but that was not immediately apparent to me 😄.
Two questions:

Should this feature be implemented? I.e., there are no weird issues raised by adding it?
Is there anything to think through before implementing it? What all needs to change?

cc: @kubkon, @pchickey, @sunfishcode

Thanks for this bug report - this is something we should be able to support, but haven't made the effort to do. I'll see if I can get to it in the next few days.


Remove the zlib "inflate" implementation from the image library

This removes the zlib "inflate" implementation from the image library, and and instead uses the external zlib implementation from https://github.com/sivadeilra/zlib.  This is better for refactoring dependencies, and also quite substantially improves performance for decoding PNG images.

I have safe Rust code (written more than 6 months ago IIRC) that borderline outperforms zlib. You definitely do not need goto for state machines.
I wrote that for my streaming PNG decoder (on par with libpng, faster for small files), which was meant to be the start of this image library, but I didn't have the time and still haven't gotten around to it yet.

Well great then I've wasted a week.  Where's this fast code?
-----Original Message-----
From: "Eduard Burtescu"<EMAIL_ADDRESS>Sent: 1/2/2015 7:01 PM
To: "PistonDevelopers/image"<EMAIL_ADDRESS>Cc: "sivadeilra"<EMAIL_ADDRESS>Subject: Re: [image] Remove the zlib "inflate" implementation from the imagelibrary (#223)
I have safe Rust code (written more than 6 months ago IIRC) that borderline outperforms zlib. You definitely do not need goto for state machines.
I wrote that for my streaming PNG decoder (on par with libpng, faster for small files), which was meant to be the start of this image library, but I didn't have the time and still haven't gotten around to it yet.
—
Reply to this email directly or view it on GitHub.=

I suppose he means a newer version of this code linked here?
Never-the-less we would still need a fast deflater or do you have something fast on the shelf as well @eddyb?
Btw. that's a classic and reminds me to always file an issue when implementing something big. Funnily I  also did some work in this direction. :(
@sivadeilra I skimmed over your lib. What is the performance difference between a save version of your code and the unsafe one? You didn't put cfg-guards around all of them. I also noted quite some panics, would it be possible to replace them with a try! or return? Since it's coming from the internet I expect the data to be malformed occasionally.
If it's safe and faster what we have currently I do not see any reason to not include the code until someone comes up with something even faster and safe.

@nwin that's the code I am talking about, it should be failrly easy to update. But I don't have a deflater, I wouldn't know where to even start with one.
And given that Rust alpha is so near there's no way I can provide you with anything but inspiration and tips.
Maybe I'll revive all of that fast code whenever we get generators in Rust. Maybe :).

FWIW this version compiles with the latest rust. I can't guarantee it works because there were some nasty type-errors regarding the integers and I'm not sure that I always picked the right type. The error messages were really funny sometimes…

Hey, I'd like to resume this conversation.  Got distracted by a few things.
First, about the "panic!" calls.  Right now, just because my zlib port is
under development, the path that detects bad input currently calls panic!.
That can easily be removed.  Otherwise, it should not be possible to cause
a panic due to reading user input.
Second, about performance.  I don't mean that "goto" is necessary for
performance.  What I mean is that, in the current port as it is, the
transformation from zlib's goto-based state machine to a loop based on
matching on an enum has caused inefficient code gen.  This can certainly be
fixed.
One important design question is, should the Rust port of zlib provide a
non-blocking API (which is what zlib provides), or a blocking API?  The
non-blocking API is partly what causes the need for the gotos in the
original code, since when you start decoding a new block of data you have
to jump to the right state in the state machine.  The individual states
jump to each other, but that can be removed, if you're using a non-blocking
design.
I took a look at the inflate.rs that was posted in the gist.  It's
interesting.  It does provide an API that is significantly different than
what some current users of ZLIB will be expecting.
All I care about is having a great zlib implementation -- I don't care who
provides it.  That, and I want an API that 1) will be very easy to port
existing C to use, and 2) fits naturally into Rust abstractions, like
borrowing and Reader.
So, what would you guys like to do?  I can work in improving my zlib to
reach C's perf, possibly providing a blocking implementation of Reader if
that provides a substantial improvement in performance.  If you like, I can
merge this inflate.rs into my own -- whatever works best.  But it seems
clear that 1) Rust / crates.io needs a separate zlib, since so many apps
use zlib, and 2) the Image library should be using that separate zlib.
Thoughts?
On Sat, Jan 3, 2015 at 4:26 AM, nwin<EMAIL_ADDRESS>wrote:

FWIW this version https://gist.github.com/nwin/b0b8bb23040a526b5b59
compiles with the latest rust. I can't guarantee it works because there
were some nasty type-errors regarding the integers and I'm not sure that I
always picked the right type. The error messages were really funny
sometimes…
—
Reply to this email directly or view it on GitHub
https://github.com/PistonDevelopers/image/pull/223#issuecomment-68593413
.

I don't have an opinion about that. Nowadays I would guess in most use cases you don't stream images although it is of course neat if it is possible.

Closing because of outdated.


feat(propagator-b3): add option to disable injection

Which problem is this PR solving?
propagator-b3 is a package that provides compatibility with systems that use non-W3C context propagation. As it currently is, the propagator not only integrates with incoming b3-formatted context, but also makes the service forward on the context in that format. It might not always be desirable.
A simple example would be a case where 3 services are present:
A --> B --> C
A uses B3 formatted tracing. It sends a request to B. B receives the request and wants to keep the traceId that A sent it. B makes a request to C. C is a modern service that uses W3C propagation format. It does not need the B3 trace headers. More than that, we don't want to encourage any downstream service to use the B3-formatted tracing headers. By sending these headers to other services (like C), we're giving them a message that we do intend to support B3. In reality, we support it only because A does. As soon as A drops this format and moves to W3C, we'd remove the propagator.
For that reason I propose to introduce a way to disable the injection.
Short description of the changes
Extends config object with the disableInjection boolean.
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Checklist:

[x] Followed the style guidelines of this project
[x] Unit tests have been added

If the change is welcome, I'd create the same kind of PR for the propagator-jaeger project.

Interesting idea. Have you looked into the spec to see if there is a provision for this?

Do you think the reverse option is also possible? that you might need to inject the context due to downstream dependency but do not wish to extract it from upstream services? Should this be added to other propagators as well (e.g. jaeger?)
I also had the same issue and wrote opentelemetry-propagator-selective which is a generic propagator that wraps any other propagator and allows configuration of either extract or inject (or both) for it. Would love to upstream it to contrib if people find it useful.
I also support adding the configuration option and introducing it to the spec, but wish it was consistent across inject/extract and other propagators as well to give users a uniform experience.

@blumamir Definitely, I think you should be able to customize it to fir your exact needs. I submitted a proposal at https://github.com/open-telemetry/opentelemetry-specification/issues/3153, it's not really getting too much attention. I think that they actually have a good point that implementing it by yourself is possible and easy enough, and "official" specs support is probably not necessary. I really like your https://www.npmjs.com/package/opentelemetry-propagator-selective! It's exactly what's needed to solve the issue. Myself, I had to write something like that for my project, I didn't even know I could have used your package. Having it in contrib would definitely make it more discoverable. It's quite handy. Considering that Composite Propagator is a part of this repo, I don't see why your propagator wouldn't be.

The only comment on the spec issue was someone pointing out that this is possible with existing APIs. I agree with him that it should be quite simple to create your own custom propagator which wraps the existing ones and compose them to your needs. Adding additional configuration for this seems unnecessary and can never cover every possible use case


Reference populated without singleApiCall

I guess when you need to make a single call to grab all records with singleApiCall, you want to save your trip to the server.
In mongo, we have option of populate, so when you call fetch call, you have the joined records inline. I wonder if there's way where you can have a new entity, ex. referencePopulated, so that you can have all the functionalities of reference, except you don't have to call to fetch joined records API, skipping the singleApiCall.

I guess what you're looking for is embedded_list. See the doc at http://ng-admin-book.marmelab.com/doc/Relationships.html#embedded-entities


Add unit tests for Occluder shapes

As requested by #43440, This PR adds unit tests for all the Occluder shapes (SphereOccluder3d, ArrayOccluder3d, PolygonOccluder3d, BoxOccluder3d, and QuadOccluder3d)

My bad, i'm running clang-format over my repo to fix the code style now.

Squashed my commits as the docs said, please run tests again

Checks failed only on linux compilation step due to some stuff not related to my code, that also exists in the main repo? not sure how to fix.

It fails because your test code is included in the wrong place, you need to include it in the _3D_DISABLED part with the rest of the 3D specific tests

Added all the capitalizations to get test case names to match node names, should finally be ready to merge now.


[CSPM] k8s: specific actions for better support of Bottlerocket

What does this PR do?
Adds specific tests for K8s benchmarks with Bottlerocket data.
Motivation
Making sure we do not regress and properly handle Bottlerocket.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Can we try reporting a more relevant error if autoscope constructor meets missing type annotation?

Repro showing the problem/context:
from Standard.Base import all

type My_Type
    A
    B

    do_something self = case self of
        My_Type.A -> 'astronaut'
        My_Type.B -> 'bicycle'

foo (x : My_Type) = IO.println x.do_something
bar x = IO.println x.do_something

main =
    foo (..A)
    p = Panic.recover Any <| bar (..A)
    IO.println p.to_text

Currently yields:
astronaut
(Error: (No_Such_Method.Error ..A UnresolvedSymbol<do_something>))

What I can see from this is that the No_Such_Method instance seems to 'see' that this is not any function but that this is in fact an instance of an autoscoped constructor. Thus it seems likely that we could report a more relevant error for it.
We could for example report something along the lines of 'Calling a method on an autoscoped constructor that was not resolved. Probably missing a type annotation. Please add the annotation or use the qualified name.'. This would tell the user much more clearly what happened and what they can do to fix it.

Of course this is not a made up problem - I've been encountering it in several places in std-lib. We are slowly moving towards using autoscoping, especially for on_problems. I've tried using ..Report_Error as an argument, but some of our older functions were not yet updated to contain the on_problems : Problem_Behavior type annotation - thus the autoscoping was not kicking in and I was getting errors like:
An unexpected panic was thrown: (No_Such_Method.Error ..Report_Error UnresolvedSymbol<attach_problems_after>)
        at <enso> Java_Problems.with_problem_aggregator(C:\NBO\enso\built-distribution\enso-engine-0.0.0-dev-windows-amd64\enso-0.0.0-dev\lib\Standard\Table\0.0.0-dev\src\Internal\Java_Problems.enso:98:5-90)

Of course we also need to 'just' update our stdlib with missing annotations to make it work. But I think it is useful to still improve the error reporting as we may always miss some places. It will also help with places where autoscoping was not expected (places expecting Any, like fill_missing etc.) but the user did not know and used it anyway. Or in user-made libraries.

If I modify the main method to:
main =
    foo (..A)
    bar (..A)

and execute the program, the error is:
Execution finished with an error: Method `do_something` of type Function could not be found.
        at <enso> t.bar<arg-1>(t.enso:12:20-33)
        at <enso> t.bar(t.enso:12:9-33)
        at <enso> t.main(t.enso:16:5-13)

which is far more verbose than the error message provided by you @radeusgd. From that I'd conclude the problem isn't in the error, but in the way
    p = Panic.recover Any <| some_action
    IO.println p.to_text

formats it. I don't think the problem has much to do with compiler. Passing to libraries.

Execution finished with an error: Method `do_something` of type Function could not be found.

which is far more verbose than the error message provided by you @radeusgd. From that I'd conclude the problem isn't in the error, but in the way (the code) formats it. I don't think the problem has much to do with compiler. Passing to libraries.

We have a misunderstanding here.
I'm aware that to_text on the error has a shorter more internal representation and only to_display_text has a longer explanation. This is mostly by design and surely not the scope of this issue.
My issue was: the error No_Such_Method with the message "Method do_something of type Function could not be found." is not that relevant to the underlying issue we have here. The underlying issue here is: trying to use an autoscoped constructor as a regular value (calling methods on it) before we gave it a chance (by adding type annotation) to materialize to an actual value. My point was - we should give the user a clearer error - one that knows that in this case it is not a regular Function but a special object - and in that specific context the error can be more informative - with the content I suggested above.
To do so we need to distinguish an unresolved method call on an UnresolvedConstructor from any other object. We could do it that it's still No_Such_Method error and the to_display_text changes - but to do so we need a way in libs to distinguish UnresolvedConstructor instances from regular values. As far as I know there is no such way currently. Maybe we need to extend the Meta functionality to be able to handle these??
Either way we need either:

a more specific behaviour in engine when instantiating No_Such_Method,
or a way to tell UnresolvedConstructor from other values - to be able to customize the message on libs side.

Either way we need either:
* a more specific behaviour in engine when instantiating `No_Such_Method`,
* or a way to tell `UnresolvedConstructor` from other values - to be able to customize the message on libs side.

I guess it is enough to just change No_Such_Method message for Function-like objects as #10328 shows. No changes in the engine are needed.


Enable symbol mangling on macOS and Windows

Partially addresses https://github.com/ZettaScaleLabs/cyclors/issues/24.

Tested with test\ddsros2 branch from the zenoh-all-in-one repository to ensure it fixes the issue.


M6 492- separate config folder

https://objectrocket.atlassian.net/browse/M6-492
The config   is not included in the shard backup and is tar'd under config_, so it can be considered separately as needed

From my tests, this worked and would be good to use for simplifying braze s3 uploads.


Looking for an example of implementation

It is bit confusing on what values need to be passed and how to evaluate these without any example. I am particularly confused with usage of lambdas, I am not sure what needs to be passed and what is valid.
If you have any example that is not yet published in github, can you please publish it ?

An example is already emmbedded in grid_forecast_trmf.m file.


Switch to Github Actions

@pavel-kirienko Anything against switching to github actions for pyuavcan (and possibly other projects as well)? It would simplify the workflow to be able to use a single CI framework instead of a different one per repository :smile: There is an official action for PyPI releases as well so that shouldn't be an issue.

The last time I checked it didn't support Windows hosts. Does it now? If not then it is probably a no-go.

Closing as low-priority -- the AppVeyor's CI is not broken so let us not fix it at least for now. Moving it to a different provider is not expected to be easy.


Attributes in root object instead of .attributes, like in Ember Data

I know that the Documentation says:

All attributes should be contained in an attributes object at the root of a record.

For the API that's obvious, but in my models I would like to replicate the behavior of Ember Data, where you've them (the attributes) straight in the root object instead of .attributes. It's just for the sake of convenience and I'm prepared to take all responsibilities of breaking something. 🙀😹
Is there a suggested best way to accomplish that? Maybe even just a flag to set? 🙃🤗

For the time being I resolved it using lodash's merge()
import _ from 'lodash'

result.forEach(function(e) {
  e = _.merge(e, e.attributes)
  delete e.attributes
})

This is something that is already solved in ember-orbit. Also we are considering adding an orbit model in the future. Since you are asking explicitly about the difference with ember-data, I would suggest to use ember-orbit.


Add value for masked areas when using extract_values_to_points

I am using extract_values_to_points to extract data from a masked Sentinel-2 image. In cases where pixels under points are masked in the image, there isn’t a return value. My preferred behavior would be to have an indicator that those pixels were under a mask such as NA (not available).

Simply use image.unmask(value)


Bug Fix wrong decimal format for ORC

Proposed changes

memory format for Decimal in ORC is different from Doris so we can't use memcpy
Scale should be 9 for DecimalV2 type instead of the real scale of type

Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.21 seconds
load time: 444 seconds
storage size:<PHONE_NUMBER>0 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221109130812_clickbench_pr_42790.html

Please add regression test for it.


Error with "enable_components" on Cluster resource

Hello,
I have the following error:
observe failed: cannot run refresh: refresh failed: Missing required argument: The argument "enable_components" is required, but no definition was found.
This is due to the loggingConfig which is an array containing enableComponents.
When loggingService is none, loggingConfig can be ignored but I believe the api (or the terraform representation) returns something like
loggingConfig: [{
    enableComponents: []
}]

And if I'm not mistaken, crossplane requires a non-empty value for a property when it's the only one in the object. Meaning, the content returned by the api is not valid (only loggingConfig: [] would be valid).
It happened on GKE, Crossplane 1.10.1, GCP provider 0.19.0.
And:
apiVersion: container.gcp.upbound.io/v1beta1
kind: Cluster
spec:
  forProvider:
    project: test-error
    location: us-central1-a
    initialNodeCount: 1
    networkingMode: VPC_NATIVE
    networkRef:
      name: base
    subnetworkRef:
      name: cluster-subnet
    loggingService: none
    loggingConfig: []             # with and without this line
    releaseChannel:
      - channel: RAPID
    removeDefaultNodePool: true
    addonsConfig:
      - httpLoadBalancing:
          - disabled: false
    privateClusterConfig:
      - enablePrivateNodes: true
        enablePrivateEndpoint: false
        masterIpv4CidrBlock: <IP_ADDRESS>/28
    ipAllocationPolicy:
      - clusterIpv4CidrBlock: <IP_ADDRESS>/16
        servicesIpv4CidrBlock: <IP_ADDRESS>/16
    defaultSnatStatus:
      - disabled: true
    masterAuthorizedNetworksConfig:
      - cidrBlocks:
          - cidrBlock: <IP_ADDRESS>/0
            displayName: World

Using a list and the camel case version of the name also works. The import of some fields terraform objects in lists. The documentation lacks of any example to figure out it.
    loggingService: none
    loggingConfig:
      - enableComponents: []
    monitoringConfig:
      - enableComponents: []
        managedPrometheus:
          - enabled: false


Api enhancements

[ ] include journal eissn info on issue detail
[ ] article files include on article detail section

Now API environment not working correctly. Issue depends https://github.com/okulbilisim/ojs/issues/692 issue.

Article Detail -> /api/article/{id} (includes article files).
include journal eissn info on issue detail -> eissn info must be get from journal detail api via issue journal_id.


Local and remote route routing scenarios

[Enter feedback here]
For the local and remote routes are available section, for example 4 and 5, why is remote routes preferred over local routes. Isn't the local route 3 more preferred as it's shorter and it's ER?

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

ID: 18cfa45f-be62-9a0d-7158-e484d84fc971
Version Independent ID: 846f8ab7-e025-6cdd-52e6-f2146b0396a5
Content: Virtual WAN virtual hub routing preference - Preview - Azure Virtual WAN
Content Source: articles/virtual-wan/about-virtual-hub-routing-preference.md
Service: virtual-wan
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@jasonpanggit , thank you for your query. We'll review this and get back to you shortly!

@jasonpanggit , Route 3 is not a local route for Hub_2. Example 4 and 5 talks about the routing preference for Hub_2 and for Hub_2, 8 and 9 are local routes.

The HRP (Hub Routing Preference) of Hub_2 for example 4 is set as AS path or ER and for example 5, it is set as VPN.
So for example 4, it will check the AS path of available routes and only select the ER route as this is default which is 9.
And for example 5, the local routes are 8 and 9 with same AS path but will select the VPN route which is 8.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


[bug]: Adding a component with the CLI fails if you use a tailwind.config.ts file instead of .js

Describe the bug
Adding a component with the CLI fails if you use a tailwind.config.ts file instead of .js
Affected component/components
Accoridan
How to reproduce
npx shadcn@latest add accordion
Codesandbox/StackBlitz link
No response
Logs
git:(main) ✗ npx shadcn@latest add accordion

✔ Checking registry.
⠋ Updating tailwind.config.js
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

ENOENT: no such file or directory, open '/Users/okanji/Desktop/feedback/tailwind.config.js'

System Info
Chrome

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

can you share your components.json?

can you share your components.json?

Ah! I took a look and the components.json indeed had tailwind.config.js. Changing that to tailwind.config.ts fixed the issue. Thanks


[0.8.x] BZ1299619: Business Central Repo Clone Fails To Clone SCP Style SSH URLs

See https://bugzilla.redhat.com/show_bug.cgi?id=1299619
This is the corollary of https://github.com/uberfire/uberfire/pull/298 for 0.8.x
(cherry picked from commit c0c1a8c224174822044e880b1d47fbfa0aa03aab)

+1


Turn known string allocations into globals

This saves us from doing a stack allocation (using up valuable BPF stack space) and saves some instructions.
This applies to AST strings and positional params that are converted to strings.
Checklist

~[ ] Language changes are updated in man/adoc/bpftrace.adoc~
~[ ] User-visible and non-trivial changes updated in CHANGELOG.md~
[x] The new behaviour is covered by tests

sweet optimization!

You inspired it 👍


CommonController changin as like this

https://gist.github.com/aybarscengaver/fc36bf0f51d019fbe905

we discussed it and not accepted :)


IGAPP-944: Missing translations

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

Closing in favor of #619


Problem loading Smart Contract

Hi, first of all thank you for your contribution with this awesome gem.
I am new in Ethereum.rb and I am trying to load a simple smart contract in my Ruby on Rails application.
I am using:

Ruby 2.7.1
Rails <IP_ADDRESS>
Ethereum.rb 2.5
Solidity 0.5.16
Parity server 2.7.2

After setting up the system, creating a new client that connects to Parity and creating a new wallet I proceed to create a new contract and deploy it:
def self.deploy_carepoints_contract
    contract = Ethereum::Contract.create(client: client, file: "#{Dir.pwd}/app/contracts/CarePointsToken.sol").new
    key = Eth::Key.decrypt File.read("#{Dir.pwd}/parity/key.json", "Lberdo1991")
    contract.key = key
    address = contract.deploy_and_wait()
  end

def self.client
    Ethereum::HttpClient.new("http://parity:30303")
  end

However the function fails in the line:
    contract = Ethereum::Contract.create(client: client, file: "#{Dir.pwd}/app/contracts/CarePointsToken.sol").new

The error message is:
/usr/local/lib/ruby/2.7.0/net/protocol.rb:225:in `rbuf_fill'
/usr/local/lib/ruby/2.7.0/net/protocol.rb:191:in `readuntil'
/usr/local/lib/ruby/2.7.0/net/protocol.rb:201:in `readline'
/usr/local/lib/ruby/2.7.0/net/http/response.rb:42:in `read_status_line'
/usr/local/lib/ruby/2.7.0/net/http/response.rb:31:in `read_new'
/usr/local/lib/ruby/2.7.0/net/http.rb:1528:in `block in transport_request'
/usr/local/lib/ruby/2.7.0/net/http.rb:1519:in `catch'
/usr/local/lib/ruby/2.7.0/net/http.rb:1519:in `transport_request'
/usr/local/lib/ruby/2.7.0/net/http.rb:1492:in `request'
/usr/local/lib/ruby/2.7.0/net/http.rb:1485:in `block in request'
/usr/local/lib/ruby/2.7.0/net/http.rb:933:in `start'
/usr/local/lib/ruby/2.7.0/net/http.rb:1483:in `request'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/http_client.rb:33:in `send_single'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/client.rb:126:in `send_command'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/client.rb:137:in `block (2 levels) in <class:Client>'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/client.rb:56:in `default_account'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/contract.rb:21:in `initialize'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/initializer.rb:16:in `new'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/initializer.rb:16:in `block in initialize'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/initializer.rb:12:in `each'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/initializer.rb:12:in `initialize'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/contract.rb:58:in `new'
/usr/local/bundle/gems/ethereum.rb-2.5/lib/ethereum/contract.rb:58:in `create'
(irb):8:in `rescue in irb_binding'
(irb):6:in `irb_binding'
/usr/local/lib/ruby/2.7.0/irb/workspace.rb:114:in `eval'
/usr/local/lib/ruby/2.7.0/irb/workspace.rb:114:in `evaluate'
/usr/local/lib/ruby/2.7.0/irb/context.rb:439:in `evaluate'
/usr/local/lib/ruby/2.7.0/irb.rb:540:in `block (2 levels) in eval_input'
/usr/local/lib/ruby/2.7.0/irb.rb:695:in `signal_status'
/usr/local/lib/ruby/2.7.0/irb.rb:537:in `block in eval_input'
/usr/local/lib/ruby/2.7.0/irb/ruby-lex.rb:150:in `block (2 levels) in each_top_level_statement'
/usr/local/lib/ruby/2.7.0/irb/ruby-lex.rb:135:in `loop'
/usr/local/lib/ruby/2.7.0/irb/ruby-lex.rb:135:in `block in each_top_level_statement'
/usr/local/lib/ruby/2.7.0/irb/ruby-lex.rb:134:in `catch'
/usr/local/lib/ruby/2.7.0/irb/ruby-lex.rb:134:in `each_top_level_statement'
/usr/local/lib/ruby/2.7.0/irb.rb:536:in `eval_input'
/usr/local/lib/ruby/2.7.0/irb.rb:471:in `block in run'
/usr/local/lib/ruby/2.7.0/irb.rb:470:in `catch'
/usr/local/lib/ruby/2.7.0/irb.rb:470:in `run'
/usr/local/lib/ruby/2.7.0/irb.rb:399:in `start'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands/console/console_command.rb:70:in `start'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands/console/console_command.rb:19:in `start'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands/console/console_command.rb:102:in `perform'
/usr/local/bundle/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
/usr/local/bundle/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/bundle/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/command/base.rb:69:in `perform'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/command.rb:46:in `invoke'
/usr/local/bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:18:in `<main>'
/usr/local/bundle/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
/usr/local/bundle/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
/usr/local/bundle/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
/usr/local/bundle/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
/usr/local/bundle/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:324:in `block in require'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:291:in `load_dependency'
/usr/local/bundle/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:324:in `require'
bin/rails:9:in `<main>'
Traceback (most recent call last):
        2: from (irb):6
        1: from (irb):8:in `rescue in irb_binding'
EOFError (end of file reached)

I checked the path to the file is correct and the file can be readed. Do you know what might be the issue?

I just discovered the problem was related to the parity server. Using kauriorg/parity-docker image and connecting to port 8545 everything works fine.


Add caching to server views

Adding entries + invalidation

Realized: pull request #104

To production: pull request #105


Mobile: remove product confirmation modal displays out of viewport

Environment: mobile (here: Nokia 7.1, Android 10; iPhone 12 mini, iOS 16.3.1)
Reproduce:

Add random item to cart
Open cart
Click delete icon

Issue: note the remove product confirmation modal displays on the very top of the page, thus it is not within the user's viewport.
On iPhone 12 mini, iOS 16.3.1., the modal is visible but doesn't have the correct shape:
iOS:

Android:

Issue not fixed for poster v2.1.
-->reason is that mobile menu button can't be used (see#199)

The issue is still open as of v2.2. While, unlike before, the top navigation on mobile works in v2.2 which allows normal navigation to this element this is unrelated to the issue. The modal displays at the top of the current FoV meaning it is always in sight of the user. However in portrait view (horizontal orientation) it is still not intuitive to see the modal on the top as opposed to where one clicked on the remove button.


Finalized README.md

Added the rest of the readme!

Thank you @jeffreyzpan! The shift from h1 to h2 makes the README much clearer and heightens its impact on future readers.


add accessibleOrderLock to the mixin

While working on https://github.com/phetsims/joist/issues/509, I found that it may be nice to somehow have a way to lock the setting of accessibleOrder on a node. This could be a nice way to reign in the flexibility of the mixin when needed. I'm thinking, in its simplest form, something like a boolean that can be set.
accessibleOrder: function( order){
if( this.accessibleOrderLock){
    assert && assert(false, 'cannot set accessibleOrder when locked');
}
. . .

What do you think @jessegreenberg?

@zepumph I personally don't think it would be worth adding a property/getter/setter to Accessibility.js for this. I think this assertion should be added on a case by case basis, presumably mostly in composite common code components. This has been done for other Node setters like children
  assert && assert( !options.children, 'ScoreDisplayLabeledStars sets children' );
  options.children = [ textNode, scoreDisplay ];

Removing my assignment but leaving to you for further discussion.

That makes a lot of sense. Let's see how far we can get with a strategy like that. Closing


Look at package name when checking whether the shell package can be used

Filenames shouldn't be used since we don't require repos to be checked out on the GOPATH
I got tripped up why upgrade tests couldn't run locally

/assign @cardil

/retest

@chizhg I don't really understand the failed test here - it doesn't seem related to my diff

yeah noticed it on both my open PRs, changing unrelated files

This is super weird.. The log said test.TestFailsWithFatal passed - https://prow.knative.dev/view/gs/knative-prow/pr-logs/pull/knative_hack/142/pull-knative-hack-unit-tests/1484620228854812672#1:build-log.txt%3A143

I have confirmed this is due to the prow-tests image update. Still figuring out what went wrong.

/retest


Package not updated on conda-forge after pull request merge

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
PR #19 was found in excellent condition, but after it was merged, the xcube-cci package was not updated.
Installed packages
does not apply

Environment info
does not apply

Closing as new build was successful.


[FEATURE] Display List of Existing Sessions With Their Names

Description
With this feature, the created sessions from #4 should be shown in a list/table displaying the session name. Styling and navigation patterns are not part of this yet, we'll use standard styles from angular material.
Tasks

[x] Create Endpoint on server side to expose read access to sessions (name as only data at this point)
[x] Display all sessions in list/table in frontend
[x] Implement Automated UI Tests
[x] Implement Automated API Tests

@KoALa-MHF/mh-team this topic is done from our side. Please comment here, if it is also ok from your side, then we'll close it.

Yes, feel free to close this topic.


Add support for auth API v2

Task/Issue URL: https://app.asana.com/0/1205648422731273/1208821656071388/f
Description
This PR adds support for new version of the authentication API that uses OAuth 2.0 with PKCE extension. Usage of the new API is controlled via a feature flag which is currently disabled.
Steps to test this PR
See task.
No UI changes

#5305  👈 (View in Graphite)
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.


NoSQL for CosmosDB - Queries not authenticating using Entra ID

I installed the Insider Build to be able to query our CosmosDB (SQL API) using Entra ID authentication. This CosmosDB account has local authentication disabled. Connecting to the account works, i can see and select the database and the same for the containers, but
when i try to execute a query against one of the containers (a simple select * from c) i get the following error:
Response status code does not indicate success: Unauthorized (401); Substatus: 0; ActivityId: 2c27b6a5-f7a6-4f7f-9687-070071d8725a; Reason: (Local Authorization is disabled. Use an AAD token to authorize all requests. ActivityId: 2c27b6a5-f7a6-4f7f-9687-070071d8725a, Windows/10.0.17763 cosmos-netstandard-sdk/3.18.0, Windows/10.0.19045 cosmos-netstandard-sdk/3.30.8);
So it seems the query itself is using the Entra Authentication to execute it. The above i tried with both selecting the server from the browse tab and manually entering the server information with the same result.
Version Info:
Version: 1.48.0-insider (system setup)
Commit: 089c207048b03208186001656864ea0eb241c9f3
Date: 2024-01-04T06:32:38.323Z
VS Code: 1.82.0
Electron: 25.9.6
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045

Unfortunately, RBAC is not supported, yet. For now, you can use Data Explorer with a special query parameter to access your account. More details here.


How to add per-scene fine-tuning to the code

Hi @1015904089 , thanks for your interest in our work.
To perform per-scene fine-tuning, we mainly adopt the design of MVSNeRF. In particular, we also perform fine-tuning on a 'Neural Encoding Volume' similar to MVSNeRF, with the exception that it is initialised with our learned corresponding matching information as opposed to the original cost volume.
Note that MatchNeRF is designed for generalizing to unseen scenes, whereas per-scene fine-tuning is not our current priority. We will find time in the future to clean and update our per-scene fine-tuning codes.


Runtime Error: cuda error: out of memory

PLEASE HELP!!
I have installed Cuda Version 10.2.
I ran into this error.

Your GPU is out of memory. Do you run other processes that utilize your GPU?

@ekosman No, only the terminal was running at the time and no background processes were using the gpu. The Task Manager showed 80-90% utilisation of the gpu. I have GTX 1050ti 4 GB.

I'd suggest to reduce the batch size.

@ekosman Reducing the batch size from 8 to 4 worked for me. Thanks!

@ekosman Training the model for 20000 epochs is taking too long (approx. 15 seconds per iteration -- It might take around 80 hrs to complete 20000 epochs). Task manager shows that my CPU and Memory are not being fully utilized (CPU = 30% and Ram = 35%).
My computer specs-
CPU = i5-8300H
GPU = GTX 1050ti 4gb
Ram = 16 GB 2666Mhz
1 TB Samsung Nvme SSD
Are these specs not enough? Is there any way I could speed up the Training process?

@Yashrt263  Sorry for the delay, I was busy this week
The methodology described in the original work limits the usage of resources. Each update is based on features sampled from 60 videos only, which limits the usage of RAM and CPU. I think I can enhance the data loading code by caching the features instead of reloading it every time a feature is sampled, but I can't guarantee that it'll be done this weekend.

@Yashrt263 I merged an improvement now. It should run way faster now. 20K iterations take ~45 minutes on my MAC:
2021-06-24 21:01:37,062 Epoch 0/2      Iteration 19970/20000    loss: 0.6897591948509216    Time: 0.134 seconds/iteration
2021-06-24 21:01:39,690 Epoch 0/2      Iteration 19980/20000    loss: 0.7821298241615295    Time: 0.134 seconds/iteration
2021-06-24 21:01:41,043 Epoch 0/2      Iteration 19990/20000    loss: 0.7319804430007935    Time: 0.134 seconds/iteration
2021-06-24 21:01:42,633 Save the model after epoch 0
2021-06-24 21:01:42,645
============================================================================================================================
Epoch 0/2     Train loss: 0.8981562509655953        time: 0:44:39.338069
============================================================================================================================

@ekosman Thank you Sir.

@ekosman Please Help!!
I tried to run the video_demo.py file but it isn't showing any results.
It allows me to browse for videos but shows a blank graph after execution.

@Yashrt263
Thank you for reporting. I've patched a fix for this. Next time, I'd appreciate it if you open a separate issue so that I can keep track of the issues.

@ekosman Thanks for helping.

I'm closing this since it seems to be solved.


fix: ethereum payout bug

This improves how miningcore classifies uncles on ethereum and prevents miningcore from trying to insert a block twice.
This PR also adds a new config option to fine tune the search range for uncles. I noticed that 50 is to low on certain ethereum type blockchains. By increasing the value to 75 or 100, miningcore could confirm a lot of blocks which were previously marked as orphans.
closes #1080

Thanks a ton for your contribution. 👍


Keyboard layout problem

Dvorak layout works for me automatically, but not with modifier keys. e.g. pressing c inputs c (in any appl), but ctrl+c inputs crtl+i (c in dvorak is the same place as i in qwerty)
It is not clear how to change the keyboard layout in arcan applications including durden.

It's been reworked somewhat and not completely documented yet. I assume that you are on a linux system using arcan natively (latest master on arcan and durden) with the linux console having the 'right' layout.
If so, the maps can be switched at runtime:
global/input/keyboard/maps/platform (layout, model, variant, options) using the normal xkbcommon (other wayland compositors and xorg).
It can also be set before starting arcan:
arcan_db add_appl_kv arcan event_xkb_model something
(same with event_xkb_variant, event_xkb_options, event_xkb_layout).


Questions for Omar at LA Metro

List of questions for Omar at LA Metro:

Is "Legislation" the correct word?
Committees, but not individual board members sponsor legislation. How do we want to deal with this? Related to #20
Board Members seem to have overlapping administrative districts/geographies. We removed the maps. Is this the way to go? Related to #7 and #6
Can we get some content for the About page and also descriptions of the various committees? Related to #18 and #15
What should we use as the icon?
What should we do for Board Member head shots? Related to #11

@hancush: Add your questions, and @derekeder will send LA Metro an email.

What does it mean for a committe to "sponsor" a piece of legislation, do they mean it was referred by the committee to the whole board.

@reginafcompton Do we have the answers for these questions anywhere?

We have answers to all these, except "legislation" as a term. We can touch base with LA Metro folks about this.


Sinchan Drawing Using Python

Description
This is a Sinchan Drawing Using Python.In this project, we created a Popular character of Sinchan using the Turtle module.In this Project Developed using the turtle module.
Fixes #975
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x]  My code follows the style guidelines(Clean Code) of this project
[x]  I have performed a self-review of my own code
[x]  I have commented on my code, particularly in hard-to-understand areas
[x]  I have created a helpful and easy to understand README.md
[x]  My documentation follows Template for README.md
[x]  My changes generate no new warnings
[x] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@kaustubhgupta  please have a look...