Problems with Persistent Topic stats

Expected behavior
Every 60 seconds, I expect an API requests to the stats endpoint to reflect refreshed statistics. Furthermore, I expect both the msgRateIn and msgRateOut to reflect the number of messages published and number of messages ack'd, respectively.
Actual behavior
For the first stats computed, the msgRateIn and msgRateOut reflect reasonable numbers. After this, every 60 seconds the stats are updated, however, msgRateIn changes in reasonable amounts but msgRateOut is always 0.0 (along with msgThroughputOut).
There must be a bug with msgRateOut - as this always is 0.0 despite successfully ack'ing messages.
Steps to reproduce
Deploy Pulsar 2.0.0 locally. Create a producer that writes to a persistent topic. Create a consumer that reads from a persistent topic and acks the messages. Hit http://localhost:8080/admin/persistent/sample/standalone/ns1/my-topic/stats every 60 seconds and monitor changes.
System configuration
Pulsar version: 2.0.0

This occurs for on a consumer basis. When a consumer first subscribes to a topic, their msgRateOut is correctly transmitted and calculated. After this first period, their msgRateOut becomes 0.0. If you then connect a second consumer, the same pattern happens.

@Audace I cannot see this problem here. Stats are looking correct to me. Just try to do a simple test: from 3 different consoles, run:
pulsar-perf produce my-topic
pulsar-perf consume my-topic
pulsar-admin topics stats my-topic
The default rate is 100msg/s and it's showing up correctly even after a while.
Perhaphs, can you just add the json stats here?

msgRateOut to reflect the number of messages published and number of messages ack'd, respectively.

msgRateOut is the rate at which the broker pushes messages to a consumer, in some case it might be different from the rate that consumer "acknowledges" the messages, since the flow-control is based on application calling consumer.receive() rather than on the ack itself.

Ah that’s helpful. So in that case if the consumer receives 1000 messages
in a batch, it will be 0.0 until all 1000 are processed and more messages
are fetched? Is there a stat that tracks ack more closely?
On Thu, May 31, 2018 at 1:43 PM Matteo Merli<EMAIL_ADDRESS>wrote:

@Audace https://github.com/Audace I cannot see this problem here. Stats
are looking correct to me. Just try to do a simple test: from 3 different
consoles, run:
pulsar-perf produce my-topic
pulsar-perf consume my-topic
pulsar-admin topics stats my-topic
The default rate is 100msg/s and it's showing up correctly even after a
while.
Perhaphs, can you just add the json stats here?
msgRateOut to reflect the number of messages published and number of
messages ack'd, respectively.
msgRateOut is the rate at which the broker pushes messages to a consumer,
in some case it might be different from the rate that consumer
"acknowledges" the messages, since the flow-control is based on application
calling consumer.receive() rather than on the ack itself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-pulsar/issues/1875#issuecomment-393615109,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuJLzoF983JrGwT-k55djvkfZyyvfQHks5t4CumgaJpZM4UVJqX
.

@merlimat any thoughts on @Audace 's last question?

@merlimat can you take a look at @Audace 's last comment?


fix(All Listings): Fix APPS_MALL_STEWARD view of all listings.

#569

@clarkjefcoat @tonyalletag

:+1:  You have really outdone yourself lately with the random images in your tickets.

:+1:


Slashes on urls give a 404

My browser address bar autocomplete keeps giving me /admin/ so I tend to notice it.

fixed


Add support for triton-vm STARK proofs

Problem
We should add support for generating STARK proofs in the triton-vm using their assembly language.
Details
The triton vm parses some assembly, executes it in a VM, and generates a proof of execution showing

program digest - what program was executed
program output - values returned by the program

Each program can accept public inputs and secret inputs. Proofs are generally < 1 MB, growing logarithmically with program length.
Proofs require no pre-shared constants. e.g. no zkey, srs, vkey, pkey, etc.
Acceptance criteria
Add a test generating a proof from an assembly program. The test should accept some public and private inputs and generate some outputs.

Here is a program that takes no inputs and generates no outputs, could be useful for testing
push 0
push 10
push 100
push 1000
dup 3
dup 5
dup 4
push 2
push 4
mul
invert
mul
add
push -1
mul
add
dup 5
dup 3
dup 5
dup 5
dup 6
dup 7
dup 8
mul
mul
mul
invert
mul
add
mul
swap 3
pop 1
halt


Deleting a line in adjacent split editor causes unwanted unfolding

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: October 2022 (version 1.73)
OS Version: MacOS Ventura

Steps to Reproduce:
https://user-images.githubusercontent.com/52999758/202838725-bbd893d2-7b06-4a01-a659-a11586c1c54f.mov

Copy sample text to a file and "Split Editor Right" in the Command Palette
Fold different sections of text in the split editors.
Delete a line in split editor 1 that is folded in split editor 2
The folded region in split editor 2 is now unfolded!

This is just very annoying especially in Vue 3 development. Not sure if anyone else can reproduce this?

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.73.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I was already on 1.73.1

Duplicate of https://github.com/microsoft/vscode/issues/161647


Unexpected crash

Hello,
Sometimes aster will compile a valid forth program with no problems, but crash at runtime.
I attached an example of this (from Rosetta, somewhat modified) hereunder. It runs correctly with pforth and gforth.
I found the exact location of the crash, it's in the word 'scan'. An outcommented version of this word is included, it will exit at the 'bye', but no output of course.
If you have some time to spare, could you look at this? You implemented all looping words in forth, using the return-stack a lot. Maybe this does'nt work always?
roman-dec2.f.txt

Hey, sorry about that. I didn't notice it before, but while .. repeat didn't work with multiple whiles, something I hadn't considered previously. Anyway, I fixed it now, and you're right about the return stack; I already used a separate stack when I was implementing case, and I'm now doing the same for begin loops.
Thanks for letting me know!

Sorry to reopen, but the new patch did not solve the problem. Please run the roman-dec2.f program without the 'bye' word in the code of 'scan', and look what happens. The result should be: 1954

Yes!
Tomorrow I am going to test it on another computer.


CH1NRU5T

[X] I have read the Code of Conduct.
[X] I have followed all the steps of submission properly.

Description:

Used Volley for requesting url of meme from api, Glide for setting the image into the ImageView
Used View Binding
Added functionality to next button

@CH1NRU5T Thank you for contributing to this project😄.
Happy coding🎉


utp: true causes whoami to return wrong port

when running this code inside a docker container:
var swarm = require('discovery-swarm')
var defaults = require('datland-swarm-defaults')()
var sw = swarm({
  dns: {
    servers: defaults.dns.server
  }
})

sw.listen(9000, console.log.bind(console))

I get the debug discovery-channel whoami() succeeded, I am: { port: 9000, host: '<IP_ADDRESS>'  } +113ms
But running this:
var swarm = require('discovery-swarm')
var defaults = require('datland-swarm-defaults')()
var sw = swarm({
  utp: false,
  dns: {
    servers: defaults.dns.server
  }
})

sw.listen(9000, console.log.bind(console))

I get debug discovery-channel whoami() succeeded, I am: { port: 57969, host: '<IP_ADDRESS>'  } +118ms
In this case I expect 57969 from both cases, 9000 is the internal port in the docker container and is the wrong port to return

I think related to https://github.com/mafintosh/discovery-swarm/pull/11#issuecomment-261333232

It's unrelated. The port is the public port the dht sees when using utp (they share a socket in order for hole punching to work)
Why are you explicitly passing a port to listen on instead of having the swarm pick it?


chore: separate fedimint config info from gateway info endpoint

Fixes #3815. I am not sure it's completely done and would appreciate feedback.

Sorry for the delay. I went for dpcs suggestion and implemented an --federation-id option, returning either the config of the federation specified or those of all federations, in case no federation-id is specified.


Conveniences for yaml

A few conveniences to make it easier to write my yaml blueprints! See individual commits for details.
If anything in here looks controversial to you then please let me know, and I'll split things out into separate PRs.

Tested, LGTM.
I'm just not understanding the use-case for the deferred in $brooklyn:object, could you give a bit more details on this @aledsage ?

@tbouron Thanks. My use-case for deferred is a bit unusual! The "general" use-case is where you want to delay the creation/evaluation of the object until it's actually needed. And to have it being called every time it is evaluated, rather than evaluated only once and its value stored. One might want this for a number of reasons:

If evaluated statically, then that result is persisted (which may include confidential info). If deferred, then the persisted value will be the DSL.

There is a difference in behaviour for if a $brooklyn:object has an arg that is deferred (e.g. an arg that is $brooklyn:config(...)) versus if all the args can be statically evaluated: with the former, the value is the "deferred DSL"; with the latter, it is evaluated immediately. This allows one to force the two ways to behave the same.

My use-case is a bit sneaky (and one could argue misusing config, because the value changes each time you ask for it)! I am writing a yaml-based test for a service, and am using org.apache.brooklyn.test.framework.TestHttpCall. When constructing the URL, I need to include a timestamp (for "now") in the url query parameters. I therefore want some way to get the current timestamp at the time the url is being used (rather the time when the entity was constructed). For example:
      type: org.apache.brooklyn.test.framework.TestHttpCall
      brooklyn.config:
        url:
          $brooklyn:formatString:
          - "%s/usage/?startTime=2016-01-01T00:00:00Z&endTime=%s"
          - $brooklyn:component($brooklyn:config("targetId")).attributeWhenReady("main.uri")
          - $brooklyn:formatString:
            - "%sZ"
            - $brooklyn:object:
                type: org.apache.brooklyn.util.time.Time
                factoryMethod.name: makeDateString
                factoryMethod.args:
                - $brooklyn:object:
                    deferred: true
                    type: java.lang.System
                    factoryMethod.name: currentTimeMillis
                - yyyy-MM-dd'T'HH:mm:ss
                - UTC

Without the deferred: true, the endTime is the time at which the entity was constructed. With the deferred, it is the time at which the entity's start effector is called (i.e. when it reads the url config value).

@aledsage That makes sense, the example helped a lot to understand.
LGTM then

Thanks @tbouron - merging now.


Sandbox test not working

I am trying to test this plugin. I created a free test account and did all configuration steps. Then I filled in test card on my website - Visa<PHONE_NUMBER>111111 and in the next step there is an error that says Nullable object must have a value.
System.InvalidOperationException: Nullable object must have a value.
at System.Nullable`1.get_Value()
at BitShift.Plugin.Payments.FirstData.FirstDataPaymentProcessor.ProcessPayment(ProcessPaymentRequest processPaymentRequest)
at Nop.Services.Payments.PaymentService.ProcessPayment(ProcessPaymentRequest processPaymentRequest) in C:\andrei\nop_sources\src\Libraries\Nop.Services\Payments\PaymentService.cs:line 77
at Nop.Services.Orders.OrderProcessingService.GetProcessPaymentResult(ProcessPaymentRequest processPaymentRequest, PlaceOrderContainer details) in C:\andrei\nop_sources\src\Libraries\Nop.Services\Orders\OrderProcessingService.cs:line 1425
at Nop.Services.Orders.OrderProcessingService.PlaceOrder(ProcessPaymentRequest processPaymentRequest) in C:\andrei\nop_sources\src\Libraries\Nop.Services\Orders\OrderProcessingService.cs:line 1572

What version of Nop are you using?
I'm suspicious of these lines:
var billingState = _stateProvinceService.GetStateProvinceById(billingAddress.StateProvinceId.Value); var billingCountry = _countryService.GetCountryById(billingAddress.CountryId.Value);
Does your billing address have a state and country?

Thank you, yes, we are from Serbia and we don't have states so that was one
of the problems.
Our bank gave us data in the table below so is there a way we can use them
with your plugin, because we don't have any other information. I am using
Nop 4.30.
COF
Registration
STORE ID / User ID for VT
5508318255901
5508318255001
Shared secret
n/a
u6#+R9nWVW
User for API
WS5508318255901._.1
n/a
Password for API
j'5P}TP6uR
n/a
Merchant Certificate Password (API)
xW~_7M5AGz
n/a
Password for VT
Lc"8e7W|wb
sDZ4{S8(pw
суб, 3. окт 2020. у 15:28 Andy McKenna<EMAIL_ADDRESS>је
написао/ла:

What version of Nop are you using?
I'm suspicious of these lines:
var billingState =
_stateProvinceService.GetStateProvinceById(billingAddress.StateProvinceId.Value);
var billingCountry =
_countryService.GetCountryById(billingAddress.CountryId.Value);
Does your billing address have a state and country?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AndyMcKenna/NopCommerce_FirstData/issues/2#issuecomment-703103878,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMS24UBXZRL7NP7WZSQTYMDSI4RJPANCNFSM4R6I332Q
.

FYI I edited your comment to remove what looked like sensitive information.

This is now fixed in version 4.3.14.  I tested with a Serbian address and verified the transaction worked in my local version of Nop and was in my demo FirstData portal.


add iao-annotation-module and import it into edit modules

first step in solving issue #259.
This imports a subset of the iao ontology containing all its annotations into our three edit modules. This especially provides the annotation "term tracker item" to reference the issues of added classes.

changed it


Can I get a possible caret position, using scene coordinates?

I've seen some similar examples but not well explained, and I don't know if it's really possible

If you're using the latest release, use StyledTextArea#hit(double x, double y) It'll give you back the position of the caret.

Use hit(double x, double y). See the javadoc


Grid/pixel snapping does not work on rotated objects

Godot version:
3.0.2 stable
OS/device including version:
Windows 7 64bit
Issue description & Steps to reproduce:
If you give objects rotation_degrees value other than the default 0, snapping dose not work on them.

Minimal reproduction project:
Snap.zip
This is a very simple project with a Node2D scene with two Sprite children.

Duplicate of #14496


Update polybase-troubleshooting.md

Removing repeated statement 'Use the execution ID and step index recorded in the previous steps.'.

@himanshu-ram-punjabi : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks, @himanshu-ram-punjabi!


[SPARK-42406]Fix check for missing required fields.

[Merge Note: Merge into 3.4 as well]
Protobuf serializer (used in to_protobuf()) should error if non-nullable fields (i.e. protobuf required fields) are present in the schema of the catalyst record being converted to a protobuf.
But isNullable() method used for this check returns opposite (see PR comment in the diff).  As a result, Serializer incorrectly requires the fields that are optional. This PR fixes this check (see PR comment in the diff).
This also requires corresponding fix for couple of unit tests. In order use a Protobuf message with a required field, Protobuf version 2 file proto2_messages.proto is added.
Two tests are updated to verify missing required fields results in an error.
How was this patch tested?

Updated unit tests

cc: @gengliangwang, @HeartSaVioR, @SandishKumarHN

@rangadi with this change, we can conclude that spark-protobuf supports proto2 and proto3 versions right?

@dongjoon-hyun, done. Remove 3.4 in the summary.

@rangadi with this change, we can conclude that spark-protobuf supports proto2 and proto3 versions right?

Yes. And we always supported Proto2.

Thank you for updates, @rangadi .
cc @hvanhovell

@gengliangwang could you take a quick look and merge in to master and 3.4.
 Please suggest someone else also for next time.

@rangadi can you update the PR description to follow the PR template?

@rangadi can you update the PR description to follow the PR template?

@gengliangwang update the summary to follow the template. Sorry about that.
Also added a new test. PTAL.

Thanks, merging to master/3.4


tokenList filter does not work with Polymer.dart 0.10.0

 Issue by mareksuscak
Originally opened as dart-lang/sdk#19208

I wanted to use tokenList filter in my custom component as described here:
http://www.polymer-project.org/docs/polymer/expressions.html
But it keeps throwing an exception that get$tokenList cannot be found. What is the status of polymer_expressions library in Dart? Is the API compatible with the JS polymer expressions?

 Comment by sigmundch

Removed this from the 1.6 milestone.
Added Polymer-P-1 label.

 Comment by sigmundch

Added this to the 1.6 milestone.
Removed Priority-Unassigned label.
Added Priority-Medium label.

 Comment by sigmundch

Added Area-Pkg, Pkg-PolymerExpressions, Triaged labels.

 Comment by justinfagnani

tokenList is currently unnecessary in Polymer.dart, we do special handling for class and style attributes to convert lists in maps into the correct format.
We are a little behind in moving to Polymer.JS's use of tokenList and styleObject.

 Comment by sigmundch

Removed Polymer-Milestone-Next label.

 Comment by sigmundch

Removed Polymer-P-1 label.
Added Polymer-Milestone-Next label.

 Comment by sigmundch

Added PolymerMilestone-Next label.


treesitter-markdown code blocks not highlighted

When using markdown and markdown_inline I get highlights for inline code spans, but code blocks only have their delimiters highlighted.

That's how it should be, to be able to support code blocks with a lang set.

So it's a necessary tradeoff?

yes
Also, treesitter currently does not support highligting a whole code-block with a background.

I was never quite happy with this, as I use plenty of untagged code blocks that don't fit the available tree-sitter grammars.
For others finding this issue: I've overridden the highlight group in the theme config to get back the classic behavior:
require("tokyonight").setup({
  on_highlights = function(hl, _)
<EMAIL_ADDRESS>= { link =<EMAIL_ADDRESS>}
  end
})

Maybe others will find this helpful: I was having a problem with my cursorline highlight disappearing specifically under text in a markdown fenced code block (while using treesitter for syntax highlighting). Stumbled upon the above from @adrian5 and it seems to have fixed things. Not entirely sure why, but I'm happy with the current state.

That's how it should be, to be able to support code blocks with a lang set.

Did this requirement change in nvim? You have now set literals to orange.
Have you considered a tamer color as in my example? I find orange rather intense for what can be larger blocks of text/code. I think semantically text.literal.markdown and text.literal.markdown_inline are best kept identical.


Using fetch in SW causes reload error in chrome only (with devtools closed), not FF or Safari

I have discovered a bug in chrome or workbox or possibly with register service worker package. After painstakingly dissecting the actions in my register-service-worker.js file, I have found an error with reload/update in chrome (only when console is closed!) that is related to making an axios (or fetch, I tried both) call in the updated hook. If I leave out that call, it updates fine, even when console is closed. Here is an always working updated hook:
updated (registration) {
    console.log('New content is available; please refresh.')
    const r = confirm('There is a new version available. Your version will be updated, alright? ')
    if (r === true) {
      localforage.clear().then(function () {
        // Run this code once the database has been entirely deleted.
        console.log('Database is now empty. so there now.')
        location.reload(true)
      }).catch(function (err) {
        // This code runs if there were any errors
        console.log(err)
      })
    } else {
      console.log('You pressed Cancel!')
    }
  },

And here is one that WONT work (in chrome with devtools closed), but works everywhere else:
updated (registration) {
    console.log('New content is available; please refresh.')
    fetch('https://pwatest.mydomain.com/av.json?t=' + Date.now())
      .then(response => {
        response.json().then(function (data) {
          const r = confirm('There is a new version (' + data.version + ') available. Your version will be updated, alright? ' + data.message)
          if (r === true) {
            if (data.clearStorage === true) {
              localforage.clear().then(function () {
                // Run this code once the database has been entirely deleted.
                console.log('Database is now empty. so there now.')
                location.reload(true)
              }).catch(function (err) {
                // This code runs if there were any errors
                console.log(err)
              })
            }
          } else {
            console.log('You pressed Cancel!')
          }
        })
        console.log('response:', response)
      })
      .catch(error => {
        console.error(error)
      })
  }

And just so we are crystal clear: the fetch works fine, and the alert contains the data from the fetch. But whenever using fetch (or axios) in ANY way in the service worker file in the updated hook, it causes a reload failure (in chrome only with devtools window closed).
The reload failure is a white screen of death btw, and when the console is opened at that point, there is always a  Uncaught SyntaxError: Unexpected token '<' error. Manual reloading after that recovers the site, but obviously this is terrible UI.
Config:
webpack - 4.44.2
workbox-webpack-plugin - 5.1.4
register-service-worker - 1.7.1
chrome - 87.0.xxxx (very important: devtools CLOSED. If open, update always completes normally. Checking/unchecking disable cache makes no difference).
workboxOptions: { skipWaiting: true, clientsClaim: true, ignoreURLParametersMatching: [/.*/] } // tried with and without ignoreURLParametersMatching, no difference

Has no one else run into this problem? Does anyone else have a suggestion for being able to make axios/fetch calls from updated hook and reload without chrome browser failing?

Your mention of different behavior with DevTools open or close sounds similar to https://github.com/GoogleChrome/workbox/issues/2632, but your specific setup isn't something that I'm familiar enough with to diagnose the root cause offhand.

Thanks for your reply, I am curious, have you tried a fetch and reload from within the updated hook in a service worker and had it function correctly in chrome (with devtools CLOSED)? fetch (or axios take your pick) is the only thing that prevents reload from taking place, and ONLY in chrome (with devlools closed)

I have been testing a fix which involves moving my fetch and update dialog and reload code to the updatefound hook instead of the updated hook. It has been working but I still need to do more testing. Fingers crossed!

After several tests, I think this actually fixes this! (or at least works around this nasty chrome/workbox bug). Hope this helps someone else! Here is the code difference in my register-service-worker.js file:
import localforage from 'localforage'

register(process.env.SERVICE_WORKER_FILE, {
  ready () {
    console.log('App is being served from cache by a service worker.')
  },
  registered (registration) { // registration -> a ServiceWorkerRegistration instance
    console.log('Service worker has been registered.')
    // console.log('scope: ' + registration.scope)
  },
  cached (registration) { // registration -> a ServiceWorkerRegistration instance
    console.log('Content has been cached for offline use.')
  },
  updatefound (registration) {
      console.log('New content is available; please refresh.')
      fetch('https://pwatest.mydomain.com/av.json?t=' + Date.now())
        .then(response => {
          response.json().then(function (data) {
            const r = confirm('There is a new version (' + data.version + ') available. Your version will be updated, alright? ' + data.message)
            if (r === true) {
              if (data.clearStorage === true) {
                localforage.clear().then(function () {
                  // Run this code once the database has been entirely deleted.
                  console.log('Database is now empty. so there now.')
                  location.reload(true)
                }).catch(function (err) {
                  // This code runs if there were any errors
                  console.log(err)
                })
              }
            } else {
              console.log('You pressed Cancel!')
            }
          })
          console.log('response:', response)
        })
        .catch(error => {
          console.error(error)
        })
    },
    updated (registration) { // registration -> a ServiceWorkerRegistration instance
      console.log('New content is available; please refresh.')
      // console.log('is this stupid thing working?')
    },
    offline () {
      console.log('No internet connection found. App is running in offline mode.')
    },
    error (err) {
      console.error('Error during service worker registration:', err)
    }
})

UGH, I REALLY hate to have to revisit this, but wouldn't you know it, this fix made all the OTHER browsers break!


qiskit isn't importing from qiskit_textbook.tools

The command given in jupyter notebook using qiskit not working, while it works in qiskit notebook.
recreated and expected.zip

@HimanshuBansal112 the qiskit_textbook package is separate from qiskit. You can install it by downloading this folder: https://github.com/Qiskit/qiskit-textbook/tree/master/qiskit-textbook-src and running: pip install -e ./qiskit-textbook-src from the directory you downloaded the folder to.

@frankharkins Thank you.

@frankharkins you are an outstanding man of solutions. keep doing good in this world.


[TE9] Idm-1.2 scan-network command doesnot show multiple networks and fails in last step

Problem
For test case: TC-IDM-1.2:

expected behavior : after sending Scan networks command, DUT sends back a response which is of data type list. and list down all the networks

actual behavior : scan-networks command only shows one entry in list . command fails in last step of the testcase with error: Run command failure: IM Error 0x00000585: General error: 0x85 (INVALID_COMMAND)

system configuration :
-  DUT used : ESP32
-  app use: all-clusters-app
- chip-tool and DUT commit id : cfc35951be66a664a6efdadea56d1b8ea6e63e96  (TE9 commit id)

logs
- esp32 : esp32.txt
- chip-tool : th.txt

Could you read out the acceptedCommandList from the network commissioning cluster? I suspect that the wifi interface is somehow not being enabled in the cluster, which might explain the error of 'INVALID_COMMAND'.

Tested on Commit: 26d6c544ae6e98034be6e2f865961a6df71d9429, I can see the list of networks, please see the attached logs.
scan_network.log

Tested on Commit: 26d6c54, I can see the list of networks, please see the attached logs. scan_network.log

closing this issue


Error Issues for opening and setting up the project file.

Hello Sir or Madam.
I am a beginner developer new to using MiDas.
I found your marvelous work during my current research.
But, I also found some missing files(suchas Generated, TextMesh Pro, UserSettings)

and there some problems when unity reads dll files.

I am wondering if you can guide me how to set your the most current project file in unity properly.
That will be very helpful.
Thank you for reading.
Kind Regards
jhxr

Most .meta warnings are ignorable and will disappear when you reopen the Editor, maybe except the TextMesh Pro one. You may have to click the Import TMP essentials button on TMP import window,
The unityplastic errors disappears when the Editor is reopen for my case, tell me if this is not in your environment.
The ML and InferenceSession errors occurs when it could not load OnnxRuntime Managed DLL. I believe it would disappear when the unityplastic errors are gone, but if it's not the case, tell me. The DLL files are included in the repo with Git LFS, so please check if the DLL files actually exist. If you're not using Windows, the Linux .so files would be needed to be prepared manually.
The last Windows.Forms error: This seem to be related to the unityplastic error. The Windows.Forms is only used in this deprecated script, so if this error persists even when the unityplastic error is gone, you can disable this script (by making the codes in #if ... ineffective). Also, the Windows.Forms only works when .NET is .NET Framework not .NET Framework 2.1, as seen in the Build Settings.

If there's any question feel free to ask me.

Thank you for your prompt response.
I think the error keeps occurring because of No 'git' executables was found
please refer to the attachment.
I kept reopening the project but Unity is telling me the same issue :/
[image: 78c23116-7aed-4cc9-9ae5-cd3c38922978.jpg]
2023년 7월 4일 (화) 오후 3:58, Chanjin Park @.***>님이 작성:

Most .meta warnings are ignorable and will disappear when you
reopen the Editor, maybe except the TextMesh Pro one. You may have to
click the Import TMP essentials button on TMP import window,
The unityplastic errors disappears when the Editor is reopen for my
case, tell me if this is not in your environment.
The ML and InferenceSession errors occurs when it could not load OnnxRuntime
Managed DLL
https://github.com/parkchamchi/DepthViewer/blob/master/DEPTH/Assets/Plugins/OnnxRuntimeDlls/win-x64/Microsoft.ML.OnnxRuntime.dll.
I believe it would disappear when the unityplastic errors are gone,
but if it's not the case, tell me. The DLL files are included in the repo
with Git LFS, so please check if the DLL files actually exist. If
you're not using Windows, the Linux .so files would be needed to be
prepared manually
https://github.com/parkchamchi/DepthViewer#onnx-runtime-dll-files.
The last Windows.Forms error: This seem to be related to the
unityplastic error. The Windows.Forms is only used in this
https://github.com/parkchamchi/DepthViewer/blob/master/DEPTH/Assets/Scripts/OnlineTex/DesktopRenderBehavior.cs
deprecated script, so if this error persists even when the
unityplastic error is gone, you can disable this script (by making the
codes in #if ... ineffective). Also, the Windows.Forms only works when
.NET is .NET Framework not .NET Framework 2.1, as seen in the Build
Settings.

If there's any question feel free to ask me.
—
Reply to this email directly, view it on GitHub
https://github.com/parkchamchi/DepthViewer/issues/4#issuecomment-1619627400,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBBCVOBVKKUAFHHIYBCMTFLXOO5JZANCNFSM6AAAAAAZ5GPSH4
.
You are receiving this because you authored the thread.Message ID:
@.***>

here is the attachment

Thank you for your kind words :)


transnetv1 or v2?

The notes suggest downloading transnetv2, but the smartVidCrop.py code specifically refers to transnetv1. Is this just some naming issue? It looks like the older TransNet work does not go by "transnetv1" either.

Thank you for pointing this out. The final version of the script (the one that is currently in the repository) uses TransNetV1. We updated the readme file instructions accordingly.


Documentation mentions findNode which was previously removed

The documentation mentions a findNode method which seems to have been removed at some point

Yes, that's correct, the ReadMe still mentions findRule in a couple places but it was removed. It would be great to have findRule added back, but if the documentation could be updated to match current version that would work too. thx

Also it seems that findPath is a state behind? Using find path returns the group but the new rule that needs to be updated hasn't been added to rules - although the actual query has the new rule added in rules

Are you referring to the v3.12.1 README? That's the only place I could find "findRule" in the repo. That file mentions at the top that it's for an older version of the library, and has a link to the current documentation site. (Although I did find one reference to findRule in the current documentation, so I'll remove that soon.)
The implementation of findRule was very simple. This is the latest version before it was removed. I don't want to add it back but the code should still work with v4 queries. It was a standalone function anyway so feel free to use it as is.
As for your other question about findPath being behind, that's not really the way to look at it. findPath itself is just looking at the query passed to it, there is no statefulness. What you might be referring to is the query passed from <QueryBuilder /> to the onAddRule callback. As noted in the documentation, that query is the query before the rule gets added. This way you can abort the rule addition by returning false.
Hope that helps!

(Although I did find one reference to findRule in the current documentation, so I'll remove that soon.)

Removed in https://github.com/react-querybuilder/react-querybuilder.github.io/commit/beca3066cf36045f12779631a6d4aafacce68b4f. Closing this issue.


latest image doesn't start

[cont-init   ] 15-install-pkgs.sh: terminated successfully.
[cont-init   ] 54-db-upgrade.sh: executing...
[cont-init   ] 54-db-upgrade.sh: terminated successfully.
[cont-init   ] 55-nginx-proxy-manager.sh: executing...
[cont-init   ] 55-nginx-proxy-manager.sh: ❯ Enabling IPV6 in hosts: /etc/nginx/conf.d
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /etc/nginx/conf.d/default.conf
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /etc/nginx/conf.d/include/assets.conf
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /etc/nginx/conf.d/include/block-exploits.conf
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /etc/nginx/conf.d/include/force-ssl.conf
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /etc/nginx/conf.d/include/letsencrypt-acme-challenge.conf
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /etc/nginx/conf.d/include/proxy.conf
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /etc/nginx/conf.d/include/ssl-ciphers.conf
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /etc/nginx/conf.d/production.conf
[cont-init   ] 55-nginx-proxy-manager.sh: ❯ Enabling IPV6 in hosts: /config/nginx
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /config/nginx/ip_ranges.conf
[cont-init   ] 55-nginx-proxy-manager.sh:   ❯ /config/nginx/resolvers.conf
[cont-init   ] 55-nginx-proxy-manager.sh: terminated successfully.
[cont-init   ] 85-take-config-ownership.sh: executing...
[cont-init   ] 85-take-config-ownership.sh: terminated successfully.
[cont-init   ] 89-info.sh: executing...
╭――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╮

│                                                                      │

│ Application:           Nginx Proxy Manager                           │

│ Application Version:   2.9.19                                        │

│ Docker Image Version:  23.03.2                                       │

│ Docker Image Platform: linux/arm/v7                                  │

│                                                                      │

╰――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――╯

[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init            ] giving control to process supervisor.

mycloud ex2100
os5
by using portainer stack
services:
npm:
image: 'jlesage/nginx-proxy-manager:latest'
container_name: npm
networks:
- default
restart: always
ports:
- "81:8181"
- "8080:8080"
- "8443:4443"
volumes:
- /shares/hd2/docker/npm2:/config:rw
environment:
- PUID=1002
- PGID=1002

So [init ] giving control to process supervisor. is the last message you see in the log ?
Do you see the same behaviour if you run:
docker --rm jlesage/nginx-proxy-manager

FYI, PUID and PGID are not environment variables used by the container.

So [init ] giving control to process supervisor. is the last message you see in the log ?
Do you see the same behaviour if you run:
docker --rm jlesage/nginx-proxy-manager

same result
[cont-init   ] 89-info.sh: terminated successfully.
[cont-init   ] all container initialization scripts executed.
[init ] giving control to process supervisor.

Hostname WDMyCloudEX2100
OS Information linux armv7l
Kernel Version 4.14.22-armada-18.09.3
Total CPU 2
Total memory 1.1 GB
docker version v20.10.17
portainer version  ce 2.17.1

I cannot reproduce on my side using a Raspberry Pi.
Can you run strace on the cinit process:
strace -f -p <pid of cinit>

I try to run on cli
error[0038] error waiting for container: context canceled.
checked on portainer(container keep restart)
wd os5 does not have strace installed


Return meaningful info in statSync so we can cache docs

In FileProcessor supplied in createProvider(...)
Currently returns now() on any call, so no caching at all.

Closing until Stylable FS issues / API resolved


New commands

(emoji) to see statistics for that emoji

restart to restart the bot
meta to see number of servers, number of channels, and uptime

restart provided by f6f5393

meta provided by 1519493

<emoji> provided by 316068e

Uptime provided in meta by ea519c0


Fix persistent credential propagation

Apply the same Authentication step to ocm-controller used in this pr: https://github.com/open-component-model/replication-controller/pull/21

This is done with #173


Make sure memcpy/memmove/memset with size 0 behave correctly

Zero-sized memory accesses are now always permitted, even if the pointer is NULL or dangling (but it must be aligned still). For codegen this means in particular that memcpy/memmove/memset must be lowered to operations that are never UB when the size is 0 (and the pointer is sufficiently aligned). In LLVM that's easy as LLVM's corresponding intrinsics explicitly allow size 0. However, in C, memcpy/memmove/memset with size 0 is UB on NULL (and dangling pointers are impossible to even mention in C), so GCC may use a different semantics for its builtins. For Rust's GCC backend, it's crucial that we use GCC builtins that allow size 0 with any pointer.

@antoyo Can I try this one?
Also any pointers on how to solve this issue will be helpful

@hhamud: I assigned the issue to you.
You would need to check if the GCC builtins follow the right semantics and if not, adjust the code here so that we follow the right semantics.

However, in C, memcpy/memmove/memset with size 0 is UB on NULL

There are proposals in progress to allow that: https://www.open-std.org/JTC1/SC22/WG14/www/docs/n3261.pdf
Fingers crossed it gets accepted


Missing CUDA_VISIBLE_DEVICES

https://github.com/JDACS4C-IMPROVE/PathDSP/blame/889253017cee4d6463803c66d455e587b948ba7c/train.sh#L18-L21
Why did you remove CUDA_VISIBLE_DEVICES from the train script? Please leave it in there even when your model is not using any GPU. This makes the train scripts consistent for all models.

fixed both train.sh and infer.sh scripts #15


Update gem "unread"

Currently we have gem 'unread', github: 'peatio/unread'
The original gem is https://github.com/ledermann/unread and it is 0.8.x already (we have 0.4.x)
The fork lives at https://github.com/peatio/unread/commits/master with 2 custom commits:

Gem is used for tickets and comments also.


Add support for site-targets in custom annotations

Currently there is no way to add site targets to. custom annotations. This causes issues when multiple site targets are supported by an annotation. In this case, the target is decided as per document https://kotlinlang.org/docs/annotations.html#annotation-use-site-targets.
In order to specify the site target in the annotations
eg:
@field:Valid()
val test

We would need a way to include the site targets in the custom annotations.
A PR has been created to support site targets on both kotlin and java. Please take a look

@srinivasankavitha Could you please take a look at this?

Thanks for the PR and apologies for the delay. I've been a bit tied up with
other priorities. Will try to review this week.
On Tue, Oct 18, 2022 at 3:53 PM lakshmisunid @.***>
wrote:

@srinivasankavitha https://github.com/srinivasankavitha Could you
please take a look at this?
—
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dgs-codegen/issues/477#issuecomment-1283101805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ5JPXJINHPV2CGLMG5UUALWD4S7LANCNFSM6AAAAAARIRPAOU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@srinivasankavitha Appreciate the quick reply. That would be awesome.

@srinivasankavitha Do you have a timeline on when this feature will be released?

There are a few more PRs that need to go into the next release, so likely
end of this week or early next week. Does that work for you?
On Wed, Oct 26, 2022 at 10:21 AM lakshmisunid @.***>
wrote:

@srinivasankavitha https://github.com/srinivasankavitha Do you have a
timeline on when this feature will be released?
—
Reply to this email directly, view it on GitHub
https://github.com/Netflix/dgs-codegen/issues/477#issuecomment-1292365041,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ5JPXMECEAT7RCYAIZ67HTWFFSBLANCNFSM6AAAAAARIRPAOU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@srinivasankavitha If we can have it by end of this week that would be awesome because we need the changes from our end to be out early next week. Thanks a lot.

Ok, I just released v5.5.0 with this change.

@srinivasankavitha Thank you so much. This is really helpful.


Plots

Every plot should use the Plots.jl API with the GR backend.

[ ] #63
[ ] #65

As discussed, this is a good first issue for @ajozefiak. After you're done getting up to speed, maybe give this a go, and ping me if there are any issues.

Until Adam joins the repo, I'll self-assign these just to keep track and remind myself to stay apprised of their status.

I've gotten stuck with the surface plot in "Job Search IV: Modeling Career Choice". I am not sure if Plots has enough 'control' over the surface plot as compared to using GR or PyPlot directly.
I've also gotten stuck on the last snippet of code in the Globalization and Cycles lecture. I've pushed a new branch matsuyama_plots where all of the plots except for the last one have been converted to the Plots API. Specifically, the last plot is an interactive plot and perhaps someone else knows how to work with this better than me.

@ajozefiak Thanks so much on that.  We can review it next week.  If we need to drop some of the features, it may be worth it for reproducibility of setups.

Handling these last two plots after discussion with @ajozefiak.


Make win count mathematical

To add extra spice, win count can be displayed as 10x + y. I.e.:
5 wins --> Wins: 5
10 wins: Wins: 10
12 wins: Wins: 10 + 2
20 wins: Wins: 10 x 2
25 wins: Wins: 10 x 2 + 5
...etc.
But this should be conditional to:

Max addend >= 10
Multiplications are enabled

Hey I'm a beginner at JavaScript and I would love to try to help with this problem if possible.!

Hey Aydin,
Hope you are doing well. I have checked the issue and able to fix it. Please assign the issue to me.
Thanks,
Shabbir

Thanks,
I will get down to work as soon as I back to work.

Much appreciated @Sabbirfeni ! Let me know if you need anything.


Add contribution guideline

We need to provide a CONTRIBUTING.md file explaining how to create good issue / pull request
Reference: https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors
We should also include a link from the README.md to the CONTRIBUTING.md to help the community to find it.
Suggested content:
The following is a set of guidelines for contributing to Agent SDK and its packages, which are hosted in the Axway Organization on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
Contributing to Agent SDK
You are more than welcome to help us maintaining and suggesting improvements to this SDK.
Did you find a bug?
Before reporting a bug, ensure it is not already reported by searching on GitHub under Issues.
When describing a bug, please use the following pattern:

Github issue title: be as precise and clear as possible
Github issue content:

step(s) for reproducing the issue: explain the action(s) that lead to the issue
current behavior: describe what you see after the taken step(s)
expected behavior: describe what you expect

Then the bug will be triaged by Axway contributor and the correction process via pull request can start.
Did you write a patch that fixes a bug?

Be sure to have thoroughly tested the patch in your environment BEFORE submitting the pull request.
Open a new GitHub pull request with the patch.
Ensure the pull request description clearly describes the problem and solution. Include the relevant issue number if applicable.
The pull request will be reviewed by Axway contributor and merge accordingly.

Do you intend to add a new feature or change an existing one?
If you want to submit a new feature or improvement proposal, please open an issue which must include:

Why do we need an improvement or new feature?: A detailed description of the problem at hand.
How to solve the problem?: A proposal of how you would solve the problem.

The issue will be reviewed / approved or rejected by Axway contributors. Once an issue is approved, the issue will be placed in a
target delivery milestone.
Do you have questions about the Agent SDK?
Create an issue containing your question. Be sure to use the question label on the issue. The community will answer it in a timely manner.
Getting started
In order to get familiar with Agent SDK, please read Amplify Central Agents SDK.

A contributing guide was just added to the mulesoft agents. I'll leave this here as a reference so we can try and keep our guidelines in sync. https://github.com/Axway/agents-mulesoft/blob/main/CONTRIBUTING.md


enable tests again now that AVA 0.4.0 is out

@floatdrop Any idea why AVA 0.4.0 is failing in Node.js 0.10? https://travis-ci.org/sindresorhus/pageres/jobs/89816347#L302

@sindresorhus since polyfills is disabled these should be fixed:

get-stream https://github.com/sindresorhus/get-stream/blob/master/index.js#L5
All pify calls without polyfills (https://github.com/floatdrop/pageres/blob/master/lib/util.js#L27, https://github.com/floatdrop/pageres/blob/master/lib/util.js#L43, https://github.com/floatdrop/pageres/blob/master/lib/util.js#L66, https://github.com/floatdrop/pageres/blob/master/lib/util.js#L73)

Ah, I was sure it was something with AVA...

Thanks for looking into it.

@sindresorhus you're welcome. This is what I was fearing, when talking about leaking polyfills from babel in tests ;)

@floatdrop Yeah, point taken :p

Actually, I now remembered that we dropped Node.js 0.10 support in Pageres v3.0.0, but I seem to have forgotten about updating travis file...


Ardunio support

Hi!
Such a cool initiative!
I am trying to make it work with Arduino (or some other framework/combo), since it seems to be defined as supported:
https://github.com/racerxdl/platformio-air105/blob/b590919240a91200970dffc6b517250a0eb215e1/boards/air105.json#L5
Is there somewhere more things needs to be changed for that to work?
(it seems like the builder is super-sparse, it would be great if it worked with lib_extra_dirs and some more, then I suppose it'd might be possible to stitch together something that works and explore from there)
Kind regards, Nicklas

Hi @nicklasb, it doesn't support yet. I plan to add the support by migrating the arduino stuff to MH1903, but it isnt available for now (the supported frameworks just show arduino because I copied from another project lol)


The tcp packet was dropped because cksum incorrect

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

cilium  status err

Compared with the cilium in the normal environment, it may be caused by tcp cksum incorrect
Cilium Version

Kernel Version
4.19.113-300.el7.x86_64
Kubernetes Version
1.18.17
Sysdump
Uploading cilium-sysdump-20230617-011948.zip…
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

for this test, did you disable all the nic checksum offloading capabilities via ethtool?

It has nothing to do with the network card. The data packet has been received. The cilium monitor can capture the log of the received packet, but there is no reply packet. The packet is rejected by the kernel. It is guessed that it may be caused by the failure of the kernel chksum

@joestringer

Kernel checksum handling is highly dependent on hardware checksum offload capabilities, which is why we're interested to understand whether adjusting those settings has an impact on this bug. It would help us to help you if we can establish whether that plays a role in this bug.

Ok, I will turn off the relevant checks on the network interface for testing

I had a similar problem on the entire RHEL OS family, in vxlan mode.  When requesting cilium-health status, I saw that the agnet endpoint on the other node was not available and a timeout message.  When disconnected via ethtool -K eth0 rx off tx off, vxlan between nodes began to work fully

I also tested in Ubuntu, but in Ubuntu by default, rx-checksum is disabled. I tried to turn on rx-checksum, but it did not affect the work of vxlan in any way. My suggestion is that RHEL-like OS have some kind of feature in the kernel configuration that leads to this problem.

It may be worth adding an operating system check to the silium agent, and if it is RHEL-like OS, then you should disable rx-checksum on the network interface?
Below in the screenshots:
1)Checksum verification is disabled
2)Checksum check is enabled
3)Composition of the test bench(RHEL 8.7)

This seems like an upstream bug in the kernel. I suggest filing a bug with your distribution regarding this issue.

Does anyone know how to solve it?


File too large message persists on upload document / receipt page

After attempting to upload a large file, choosing one within the limits continues to generate the "too large" message
(copied from https://github.com/ministryofjustice/apvs-asynchronous-worker/issues/125)

Hi Paul, could you clarify what you mean here?  After testing this I noticed that the error message doesn't go away once you select a different file, only when you click the Continue button.
This is normallu how the validation messages are done for other parts of the site.  Validation messages will appear on the screen until the user resubmits whatever information was not valid.  The file upload control doesn't trigger validation until the user selects the file and clicks on the Continue button.

This issue seems to be resolved thank you - please go ahead and close it.


Add support for DNS alias mode (--challenge-alias flag) for Let

Do you want to request a feature or report a bug?
Feature
What did you expect to see?

Requesting support for the DNS Alias Mode with acme / Let's Encrypt.
This would allow me to use an  _acme-challenge subdomain on a provider that does not have api support.

Hi and thank you for your message.
I think that the feature you're looking for already exists. Have you looked into the exec provider with ACME? https://docs.traefik.io/configuration/acme/

Hi! I'm Træfiker :robot: the bot in charge of tidying up the issues.
I have to close this one because of its lack of activity :disappointed:
Feel free to re-open it or join our Slack workspace for more community #support.


[e2e]: go push branch1 config-ldflags slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/3005622388
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Wed Sep  7 07:06:44 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/3013026739
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Thu Sep  8 06:58:23 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/3020471320
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Fri Sep  9 06:49:22 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/3027000475
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Sat Sep 10 06:39:28 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/3030807558
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Sun Sep 11 06:38:02 UTC 2022

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/3042969013
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Tue Sep 13 07:06:04 UTC 2022
Tests are passing now. Closing this issue.


Upgraded raspbian and OpenJDK

Upgraded to rpi-raspbian:jessie. Upgraded to latest OpenJDK 8 headless (without X11) runtime, and lock version.

@trycoon Thanks! Please also update this line https://github.com/hypriot/rpi-java/blob/master/Makefile#L2

Den 2017-01-16 kl. 00:16, skrev Mathias Renner:

@trycoon https://github.com/trycoon Thanks! Please also update this
line https://github.com/hypriot/rpi-java/blob/master/Makefile#L2
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hypriot/rpi-java/pull/3#issuecomment-272746043,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC_-ctqrSRWCtnqc5K-gEo14kzLn3h_Mks5rSqi8gaJpZM4LkECH.

// Henrik

@trycoon Many thanks for your help. Could you please rebase your PR to latest changes in master branch? I've added a Travis build so we can check all upcoming PR's. Thanks.

@trycoon I thought again about the name: let's leave the name as it is.

Done, it's now synced with hypriot/rpi-java:master

@trycoon Great. Travis also has tried to build the PR, but it seems there is a problem:
E: Unable to locate package openjdk-8-jre-headless=

Yes, I notices, new build on its way.

LGTM

Check passed, but thw qemu coredumped TWO times: "qemu: uncaught target signal 11 (Segmentation fault) - core dumped". The build continued though. The Makefile and Dockerfile does build without a problem on my Raspberry Pi 3 with Hypriot.

I've copied the output to #5 as a reminder.

Image pushed to Docker Hub https://hub.docker.com/r/hypriot/rpi-java/tags/
:-)

Nice, however the description contains faulty information:
"In version Java 8, this image contains Java JRE and JDK"
That is not correct, this version as the previous one does only contain
JRE. I guess there is another repository/docker image somewhere with all
the descriptions for these images? :-)
Mathias and I talked about it, I guess in the future we should offer
multiple Java versions, like one image for JRE (the runtime), one for
JDK (compiler and the runtime). Possible even Oracle versions for those
who need it and can't use OpenJDK. But for the moment I think we
satisfies most users out there who only need to run Java application and
don't use Oracle Java extensions.
// Henrik
Den 2017-01-16 kl. 21:00, skrev Stefan Scherer:

Image pushed to Docker Hub https://hub.docker.com/r/hypriot/rpi-java/tags/
:-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hypriot/rpi-java/pull/3#issuecomment-272950306,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC_-cpRRbJ0RLBA6vtDkt0rfcldgBqO3ks5rS8xpgaJpZM4LkECH.


.translation files are different on Windows / macOS

Godot version
v4.1.stable.official [970459615]
System information
Windows 11, macOS 13 (Ventura)
Issue description
I currently work on a game on Windows and on macOS. I'm using git for version control.
As described in the Internationalizing games documentation, I have a text.csv file from which a text.en.translation file is being generated.
It looks like this inside of my project.godot:
[internationalization]

locale/translation_remaps={}
locale/translations=PackedStringArray("res://text.en.translation")

And here is the text.csv.import file:
[remap]

importer="csv_translation"
type="Translation"
uid="uid://cn6q32wx71qfs"

[deps]

files=["res://text.en.translation"]

source_file="res://text.csv"
dest_files=["res://text.en.translation"]

[params]

compress=true
delimiter=0

The problem I'm running into is that whenever I load the project on one operating system and then another, the text.en.translation file get regenerated and git shows it as having changes.
I think that the issue is that the line endings are different on the .translation file generated on Windows than they are on macOS (I have a hunch this would also happen if you loaded the project in Linux)
This isn't a huge issue since the translations still work on each platform and arguably the .translation files shouldn't be checked into version control. It's more just for consistency (who knows, maybe something related to this will break in the future...)
Steps to reproduce

Open a project with a translation CSV that is having a .translation file generated
Commit the .translation file to git
Open the project on a different operating system
The .translation file gets re-generated and is shown as changed

Minimal reproduction project
Can be reproduced with the translation example:
https://github.com/godotengine/godot-demo-projects/tree/3.5-9e68af3/gui/translation
... but you have to remove *.translation from the .gitignore...

*.translation files should be in your .gitignore, as they are automatically generated from the source CSV files.
We ought to move these to .godot/, but doing so might break compatibility with exsiting projects.

As a possible workaround, after importing the translations, change importer="csv_translation" to importer="keep".  I don't have access to Windows so I can't say if this workaround will work for you.
In general, "keep" can be used as the importer for any .import file. You have to manually modify the .import file with an external text editor since there's no option in Godot (that I've found) to use this importer.  There's no documentation (again, that I've found) about "keep" too.
As for this bug, there's no need to change OS.  Reimporting the same .csv always generates a different .translation file.  This should be considered a bug since same input != same output.
Repro with:

Open a .csv file with an external editor
Add the following to the .csv file (though any translation csv file will do)

keys,lang1
key,a

Copy the .csv file to any Godot 4.x project
Watch it get imported
Copy/move the .translation file out of the project
Delete the .csv.import file
Watch Godot import it again
Diff the new .translation file with the previous, and notice they are different

Opening the .translation file with a text editor that renders non-ascii characters (since the .translation file is a binary file), I see something like this in the first .translation file
local://OptimizedTranslation_8o18b
and this in the second .translation file
local://OptimizedTranslation_ki36e
(the text after the underscore changes every time the .translation file is reimported)
This is in addition to some bytecode deltas.


Support for tracking kindle (paperwhites)

Is your feature request related to a problem? Please describe.
Kindle Paperwhites support bluetooth, and can connect (only) to audio servers. There is no native "find my" type functionality.
Describe the solution you'd like
A way to identify the IRK/pair with a Kindle Paperwhite to be able to use it in bermuda triangulation.
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.

Bermuda tracks BLE advertisements.
If the paperwhite sends BLE adverts, we might be able to identify them and track them. If it does not send adverts, then there's nothing we can do. Actually, if the paperwhite is sending adverts, it should already appear in Bermuda's list of possible devices you can add.
If you install an app like NRFConnect on your phone, you should be able to see if the paperwhite is sending any adverts - take some screenshots of the data it's sending and pop them in here, I can see what can be done.
You might see lots of bluetooth devices in the app, place the phone and paperwhite right next to each other while scanning, and the paperwhite should be the one with the "smallest" (ie, least-negative) RSSI value (so like, -27 or something, not -80).
I don't hold out much hope, but this is the best way of finding out what might be possible.

(Also, thanks Ashley for the great tool. I'm finding it very useful for tracking Apple devices!)
Sadly it doesn't look like it appears. Even with the Kindle literally next to my phone, very few devices that it found has an RSSI greater than (well, lower negative) number 😣 I played around with filtering to include A/G devices just in case, but no luck still - but that's why there are more devices on some screenshots.

:( Yeah, it does not look promising. I suspect that the kindle just isn't sending any broadcasts. From the bit of googling I have done on them, it looks like Amazon have the bluetooth pretty tightly constrained in what it can do (with geolocking the bluetooth feature depending on whether audible is available in that region etc), so I doubt there'll be any way to alter the bluetooth behaviour other than hacking the device in some way.
That's a real shame (although good from a privacy aspect, I guess). I think the only (reasonable) option might be to attach a tracking tile to it in some way.
I'll close this since I don't think there's anything I can offer for this device, but feel free to re-open if anything else comes to light.


KeyErrors when running multiprocessing_bpe_encoder.py

Hi all,
I have created my own BPE vocab with the tokenizers library following the steps described here.
I am now trying to encode my corpus (made of Brazilian tweets) using the multiprocessing_bpe_encoder.py script. When doing so, the script works fines for a while and then crashes due to some KeyErrors:
processed 260000 lines
processed 270000 lines
processed 280000 lines
processed 290000 lines
processed 300000 lines
processed 310000 lines
processed 320000 lines
processed 330000 lines
processed 340000 lines
processed 350000 lines
processed 360000 lines
processed 370000 lines
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "/share/apps/anaconda3/2019.10/lib/python3.7/multiprocessing/pool.py", line 121, in worker
    result = (True, func(*args, **kwds))
  File "/share/apps/anaconda3/2019.10/lib/python3.7/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/scratch/mt4493/twitter_labor/code/pretraining/preprocessing/roberta/multiprocessing_bpe_encoder.py", line 117, in encode_lines
    tokens = self.encode(line)
  File "/scratch/mt4493/twitter_labor/code/pretraining/preprocessing/roberta/multiprocessing_bpe_encoder.py", line 101, in encode
    ids = bpe.encode(line)
  File "/scratch/mt4493/twitter_labor/code/envs/inference_env/lib/python3.7/site-packages/fairseq/data/encoders/gpt2_bpe_utils.py", line 119, in encode
    self.encoder[bpe_token] for bpe_token in self.bpe(token).split(" ")
  File "/scratch/mt4493/twitter_labor/code/envs/inference_env/lib/python3.7/site-packages/fairseq/data/encoders/gpt2_bpe_utils.py", line 119, in <genexpr>
    self.encoder[bpe_token] for bpe_token in self.bpe(token).split(" ")
KeyError: 'Ğ'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/scratch/mt4493/twitter_labor/code/pretraining/preprocessing/roberta/multiprocessing_bpe_encoder.py", line 130, in <module>
    main()
  File "/scratch/mt4493/twitter_labor/code/pretraining/preprocessing/roberta/multiprocessing_bpe_encoder.py", line 78, in main
    for i, (filt, enc_lines) in enumerate(encoded_lines, start=1):
  File "/share/apps/anaconda3/2019.10/lib/python3.7/multiprocessing/pool.py", line 325, in <genexpr>
    return (item for chunk in result for item in chunk)
  File "/share/apps/anaconda3/2019.10/lib/python3.7/multiprocessing/pool.py", line 748, in next
    raise value
KeyError: 'Ğ'

I also get another KeyError: KeyError: 'Ě'.
Neither my corpus nor my encoder.json and vocab.bpe contain these characters and I'm not sure what the problem is?
Thanks a lot in advance for the help.

Are you able to share a reproducible example (original text file, encoder.json, vocab.bpe, etc), maybe via dropbox?

Hi @lematt1991 and thanks for your reply! Sure, will prepare one now and share it with you via Google Drive.

Are you able to share a reproducible example (original text file, encoder.json, vocab.bpe, etc), maybe via dropbox?

Just shared a folder containing this information with you @lematt1991, you should have received an email. Let me know if you need anything else and thanks for your help :)

Hmm, I'm unable to reproduce this.  I ran the following, where I've copied the contents of your google drive into a directory called repro, and dumped the results of build_bpe.py into repro/vocab/files:
mkdir repro/corpus
mv repro/test-aa repro/corpus/test-aa
python build_bpe.py --corpus_dir corpus
python -m examples.roberta.multiprocessing_bpe_encoder \
    --encoder-json repro/vocab/files/vocab.json \
    --encoder-bpe repro/vocab/files/merges.txt \
    --inputs repro/corpus/test-aa \
    --outputs repro/corpus.bpe \
    --keep-empty \
    --workers 60

This processed all the way to the end without any errors, and produced a corpus.bpe file with the same number of lines as the test-aa file.  Are these the correct steps to reproduce your problem?  If so, can you try upgrading your tokenizers/transformers libraries?  Based on the thread you linked, it seems there was a bug that they fixed at some point.

Thanks a lot for the help.
Yes, these seem like the correct steps. The fourth line of your bash file will create the bpe files but you won't use the output if you directly use the files that I gave you in repro/vocab/files. From what I understand, it seems that you were able to encode the test-aa file with my bpe files (the ones in repro/vocab/files). The only difference with the way I did it is that you use the code from the fairseq package doing python -m examples.roberta.multiprocessing_bpe_encoder and I copied the script from the repo and do python3 download-users-timelines-from-API.py. Could that be the reason? I'll try with python -m examples.roberta.multiprocessing_bpe_encoder and see whether I still get errors.

  It seems it's a problem with tokenizers/transformers.

Try upgrading tokenizers.  If that doesn't work, try opening an issue with them.

Got it. Thanks a lot. Out of curiosity, what are the versions of tokenizers and transformers you used?

python -c "import tokenizers; print(tokenizers.__version__)"
0.9.4

Cool. Will recreate my vocab and close this as soon as it is fixed on my side. Thanks a lot for the help :)

Seems like this may be fixed? Please reopen if you're still having problems with this, thanks!


Refactor release-notes workflow

Description
This PR:

Fixes bug to also include core components while checking and compiling release notes.
Adds feature to check and compile release notes for OpenSearch + components and OpenSearch Dashboards + components in a single run.

Issues Resolved
#4549 #4504
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Attached sample release-notes for OS and OSD combined.
@gaiksaya @peterzhuamazon
release_notes-2.13.0.md

Mend show issues with this cve:
[CVE-2024-22949](https://www.mend.io/vulnerability-database/CVE-2024-22949)
	Medium 	5.5 	jfreechart-1.0.19.jar 		None

I think this is coming from jenkins core.


Update colors to match Frost Visual Style Guide 1.624 (2017-09-12)

This project uses semver, please check the scope of this pr:

[ ] #none# - documentation fixes and/or test additions
[ ] #patch# - backwards-compatible bug fix
[x] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

This PR should fix #501.
CHANGELOG

Update colors to match Frost Visual Style Guide 1.624 (2017-09-12).  Added colors include named alarm colors, status colors, yellows, and browns.  Some colors were fixed to match the most recent versions.

@juwara0 : I spoke with our UX designer, and she said that they will be adding the colors back to the style guide which I had marked as "not in the guide", so I've removed those comments :)

@gknoy - That is great. Thank you for following up with UX on the colors missing from the style guide.

👍


Fix Background Jobs in *nix and Windows

Resolve issue #452

Hi @nanalakshmanan, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Narayanan Lakshmanan). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Fixing background jobs for Unix and Windows

The first commit seems using a different user email when it was committed. Can you please double check?

Still waiting on an answer to this question

As Start-Job is one of the more important Cmdlets, it would be great if we could get this merged as soon as possible. @nanalakshmanan can [comment on the question above?]( daxian-dbw commented 27 days ago )

This is dependent on #2472

@nanalakshmanan The PR #2472 has been merged, and now powershell is building against the latest preview .NET Core bits.
Can you please update your changes accordingly?

@nanalakshmanan can you, please, update the PR and resolve conflicts?

@nanalakshmanan Github cannot recognize your account.

This is usually because the email account of your local clone is different from your email address of Github account. Can you please fix it?


Add support for beta-NLL loss

from the paper "On the Pitfalls of Heteroscedastic  Uncertainty Estimation with Probabilistic Neural Networks" Seitzer et al. 2022
https://openreview.net/pdf?id=aPOpXlnV1T
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

yes so I have to figure out how the method would work with TransformerDistribution with an affine transform coming from the scale...
let me move this to draft for now...

yes so I have to figure out how the method would work with TransformerDistribution with an affine transform coming from the scale...

Maybe it’s fine to support the simple case where only one affine transformation is there (multiple affine transformations should be collapsed into a single one anyway).

right... but the issue is i believe with the scale the variance needs to be scaled too... I am working through the maths... initial experiments are giving me nans for Gaussian and Student-t...

right... but the issue is, i believe with the scale, the variance needs to be scaled too...

Yes, it does. For MXNet distributions we have an explicit type for affinely-transformed distributions: https://github.com/awslabs/gluon-ts/blob/925d44c71b7ed85f0154afe22198a9cfc30713eb/src/gluonts/mx/distribution/transformed_distribution.py#L227
This allows to avoid having to handle these (not so) special cases explicitly elsewhere

yup! that is what i did but getting nans... let me push it so you can have a look

@lostella do you think the circular dependency is due to my changes? I cannot seem to figure out where its coming from...

@lostella do you think the circular dependency is due to my changes? I cannot seem to figure out where its coming from...

I think so, I’ll try to sort it out

thanks @lostella
My initial experiments were not too conclusive in the benefit of this scheme... my personal intuition would be to have the beta parameter decay down to zero or something small as training progresses...
In any case, I would need more time to investigate this...


An AI Chatbot with HTML, CSS, JavaScript, and an API Key

It offers real-time responses powered by an AI API, enabling instant and relevant replies to user queries.

I would like to work on this issue. please assign it to me under GSSOC'24.

I want to work in this project please assign to me


[Bug]: Bing does not work again.

Contact Details
No response
What happened?
Bing can only chat one round and the second round will show errors. However this issue would not happen to Sydney.
Steps to Reproduce

What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

It's a commun error, see:
#1011
#1022
#727
#798


Rebuilds jar when REV is changed, plus non-root support for Alpine

The REV variable identifies which version of Spigot to run.  If this variable
is unset, the init script sets it to "latest".  If the variable is set to
"latest", the jar file is rebuilt every time the container is started.  If
the variable is set to a version like "1.12", that particular version is built
only if it has not already been built.  This saves time on restart and makes
upgrades easy.
Part of making this work involved fixing the outstanding issue with
the Alpine image running as root.

Closes #5

+1 This is needed for version updates. Or at least some way to handle #5
@AshDevFr ?

@mathuin Hi, thank you for the PR, I'll take a look soon


sum of two numbers

Related Issue
#884
Proposed Changes
added an algorithm to add two numbers
Additional Info
Checklist

[x] ✅ My code follows the code style of this project.
[ ] 📝 My change requires a change to the README.
[ ] 🎀 I have updated the README accordingly.
[x] 👀 I have read the CONTRIBUTING document.
[x] ✨ I have added tests to cover my changes.
[x] 🚩 All new and existing tests passed.
[x] 🌟 ed the repo

sum of two given integers

calculate the sum of two numbers

https://github.com/Lakhankumawat/LearnCPP/issues/884

i added two numbers and the result was correct !!!

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

Output Screenshots
| Screenshot #1

فلاحين بلدنا @ShahdAhmmedd


loading new episodes repeatedly

I am running the latest Carla(0.9.5) precompiled package, and following the steps as described in Carla challenge to run scenerio_runner - https://carlachallenge.org/get-started/
I am able to run Carla server, but when I try to run
python ${ROOT_SCENARIO_RUNNER}/srunner/challenge/challenge_evaluator_
routes.py --scenarios=${ROOT_SCENARIO_RUNNER}/srunner/challenge/all_towns_traffic_scenarios1_3_4.json --routes=${ROOT_SCENARIO_RUNNER}/srunner/challenge/routes_training.xml --debug=1 --agent=HumanAgent.py
I get this error-
[2019.05.05-18.35.35:496][867]LogLoad: Took 51.870737 seconds to LoadMap(/Game/Carla/Maps/Town01)
[2019.05.05-18.35.36:436][870]LogCarla: Warning: Loading a new episode: /Game/Carla/Maps/Town01
[2019.05.05-18.35.36:436][871]LogNet: Browse: /Game/Carla/Maps/Town01
[2019.05.05-18.35.36:449][871]LogLoad: LoadMap: /Game/Carla/Maps/Town01
[2019.05.05-18.35.36:739][871]LogStreaming: Display: Flushing async loaders.
[2019.05.05-18.36.17:000][871]LogAIModule: Creating AISystem for world Town01
[2019.05.05-18.36.27:985][871]LogLoad: Game class is 'TheNewCarlaGameMode_C'
[2019.05.05-18.36.28:216][871]LogWorld: Bringing World /Game/Carla/Maps/Town01.Town01 up for play (max tick rate 0) at 2019.05.05-20.36.28
[2019.05.05-18.36.28:282][871]LogWorld: Bringing up level for play took: 0.227486
[2019.05.05-18.36.28:342][871]LogCarlaServer: New episode 'Town01' started
[2019.05.05-18.36.28:352][871]LogLoad: Took 51.902780 seconds to LoadMap(/Game/Carla/Maps/Town01)
[2019.05.05-18.36.29:410][873]LogCarla: Warning: Loading a new episode: /Game/Carla/Maps/Town01
[2019.05.05-18.36.29:410][874]LogNet: Browse: /Game/Carla/Maps/Town01
[2019.05.05-18.36.29:426][874]LogLoad: LoadMap: /Game/Carla/Maps/Town01
[2019.05.05-18.36.29:710][874]LogStreaming: Display: Flushing async loaders.
^C^CFUnixPlatformMisc::RequestExitWithStatus

It seems that you didn't spawn an agent in the scenario and there is a predefined horizon for an episode.


pip support in macos

$ rustpython --install-pip
downloading get-pip.py...
running get-pip.py...
Collecting pip
  Using cached pip-21.2.2-py3-none-any.whl (1.6 MB)
Collecting setuptools
  Using cached setuptools-57.4.0-py3-none-any.whl (819 kB)
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools, pip
Successfully installed pip-21.2.2 setuptools-57.4.0 wheel-0.36.2
$ rustpython -m pip
~/.cargo/bin/rustpython: No module named pip

it looks like installed successfully, but still no module named pip happens

Same for me, in the sys.path, there is an entry:
/.local/lib/rustpython3.9/site-packages
but this is empty and should contain the pip, setuptools and wheel packages.

I just tried this and I get that output (i.e. a "success") but also a bunch of error messages:
(rustlang) ➜  RustPython git:(master) ./target/release/rustpython --install-pip
downloading get-pip.py...
running get-pip.py...
WARNING: Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/lib/python3.9/dist-packages
sysconfig: /usr/local/lib/rustpython3.9/site-packages
WARNING: Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/lib/python3.9/dist-packages
sysconfig: /usr/local/lib/rustpython3.9/site-packages
WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
distutils: /usr/local/include/python3.9/UNKNOWN
sysconfig: /usr/local/include/rustpython3.9/UNKNOWN
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Collecting pip
  Downloading pip-21.2.3-py3-none-any.whl (1.6 MB)
     |████████████████████████████████| 1.6 MB 684 kB/s
Collecting setuptools
  Using cached setuptools-57.4.0-py3-none-any.whl (819 kB)
Collecting wheel
  Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel, setuptools, pip
  WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
  distutils: /usr/local/include/python3.9/wheel
  sysconfig: /usr/local/include/rustpython3.9/wheel
  WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
  distutils: /usr/local/include/python3.9/setuptools
  sysconfig: /usr/local/include/rustpython3.9/setuptools
  WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/10151>
  distutils: /usr/local/include/python3.9/pip
  sysconfig: /usr/local/include/rustpython3.9/pip
Successfully installed pip-21.2.3 setuptools-57.4.0 wheel-0.36.2

As an aside, it'd be pretty sweet if it knew to install into my conda environment...

Not sure if this will help, but I was finally able to get this to work as expected (both install and ability to the executable to find and import the module) by passing the --user flag to the --install-pip flag provided in the projects documentation.
Therefore, after building and installing the executable as outlined in the docs, I was able to adjust the pip installation step as follows:
rustpython --install-pip --user

This had prompted the installation to be targeted to the user based .local directory in $HOME, instead of the corresponding system-wide equivalent location and once the installation finished, I was able to then have the executable find and import pip, subsequently producing the expected behavior.

Is pip workable on macos then? #3158 maybe solved it.

Instead of silent failing, it shows error messages. So it is not solved but progressed!
cargo run --release --all-features -- --install-pip
    Finished release [optimized] target(s) in 0.56s
     Running `target/release/rustpython --install-pip`
downloading get-pip.py...
running get-pip.py...
Traceback (most recent call last):
  File "get-pip.py", line 24424, in <module>
    3YUtei%X>?y-E^v8JO928D02BZK00;m`Rt8fKnOFcn1pojH4gdff00000000000002Cfe{E30B~t=FJ
  File "get-pip.py", line 143, in main
    shutil.rmtree(tmpdir, ignore_errors=True)
  File "get-pip.py", line 139, in main
    bootstrap(tmpdir=tmpdir)
  File "get-pip.py", line 139, in main
    bootstrap(tmpdir=tmpdir)
  File "get-pip.py", line 115, in bootstrap
    monkeypatch_for_cert(tmpdir)
  File "get-pip.py", line 96, in monkeypatch_for_cert
    from pip._internal.commands.install import InstallCommand
  File "zipimport", line 262, in load_module
  File "zipimport", line 259, in load_module
  File "/var/folders/yf/dvzgtwmx7bsfgfc2d6mcldvh0000gn/T/tmpk4z91x3x/pip.zip/pip/_internal/commands/__init__.py", line 9, in <module>
  File "zipimport", line 262, in load_module
  File "zipimport", line 259, in load_module
  File "/var/folders/yf/dvzgtwmx7bsfgfc2d6mcldvh0000gn/T/tmpk4z91x3x/pip.zip/pip/_internal/cli/base_command.py", line 12, in <module>
  File "zipimport", line 262, in load_module
  File "zipimport", line 259, in load_module
  File "/var/folders/yf/dvzgtwmx7bsfgfc2d6mcldvh0000gn/T/tmpk4z91x3x/pip.zip/pip/_internal/cli/cmdoptions.py", line 23, in <module>
  File "zipimport", line 262, in load_module
  File "zipimport", line 259, in load_module
  File "/var/folders/yf/dvzgtwmx7bsfgfc2d6mcldvh0000gn/T/tmpk4z91x3x/pip.zip/pip/_internal/cli/parser.py", line 12, in <module>
  File "zipimport", line 262, in load_module
  File "zipimport", line 259, in load_module
  File "/var/folders/yf/dvzgtwmx7bsfgfc2d6mcldvh0000gn/T/tmpk4z91x3x/pip.zip/pip/_internal/configuration.py", line 21, in <module>
  File "zipimport", line 262, in load_module
  File "zipimport", line 259, in load_module
  File "/var/folders/yf/dvzgtwmx7bsfgfc2d6mcldvh0000gn/T/tmpk4z91x3x/pip.zip/pip/_internal/exceptions.py", line 7, in <module>
  File "zipimport", line 262, in load_module
  File "zipimport", line 259, in load_module
  File "/var/folders/yf/dvzgtwmx7bsfgfc2d6mcldvh0000gn/T/tmpk4z91x3x/pip.zip/pip/_vendor/pkg_resources/__init__.py", line 35, in <module>
  File "frozen plistlib", line 65, in <module>
ModuleNotFoundError: No module named 'xml.parsers'


Problems when compile djinni

Hi,
I have updated djinni from master (git pull origin master) and call make to build djinni again (make).
But get this error:

Thanks.

What does python --version print for you?  My hunch from that error message is that you might be running Python 3, while Gyp expects to run in Python 2.

No more. Thanks. I will close.


mount sysfs in namespace

mount sysfs so the process running in the container
can see the correct /sys/class/net entries
Signed-off-by: Gabi Beyer<EMAIL_ADDRESS>

/ok-to-test
Thanks @gabibeyer
@mheon @giuseppe PTAL

Hmm. If we just need this in the container, shouldn't we add the mount in
the OCI spec?
On Fri, Aug 16, 2019, 06:57 Daniel J Walsh<EMAIL_ADDRESS>wrote:

/ok-to-test
Thanks @gabibeyer https://github.com/gabibeyer
@mheon https://github.com/mheon @giuseppe https://github.com/giuseppe
PTAL
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/containers/libpod/pull/3831?email_source=notifications&email_token=AB3AOCGEF7BNUPK3E4WIQXTQE2BZFA5CNFSM4IMCX4X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4OKLJY#issuecomment-521971111,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3AOCB5GUN5PEUYH5QV5Q3QE2BZFANCNFSM4IMCX4XQ
.

@mheon This is something that may be required for the OCI runtime itself, not just the container.
We see that this is currently handled with rootlesskit for rootless docker, would be nice if this is behaviour is implemented in podman as well.

@gabibeyer is it still needed?

@giuseppe I believe so. @amshinde @marcov would you happen to know more?

do we have an example of issue we are trying to solve with this PR?  Still it is not clear to me how mounting /sys again can make any difference.  Don't we also leak a mount each time the code runs?

@amshinde explained here why access to sysfs is needed, https://github.com/containers/libpod/pull/3831#discussion_r315462432
@gabibeyer: is this something specific for rootless?

@giuseppe As @marcov mentioned, I have added an explanation in an earlier comment.
@marcov This isnt specific to rootless as such, its generally a good idea to have the sysfs remounted for a new network namespace, but the tap interfaces created in case of rootless makes this a requirement.

Got it @amshinde, then maybe you could consider only bind mounting the path necessary to look up the tap interfaces, and not the whole /sys

@giuseppe As @marcov mentioned, I have added an explanation in an earlier comment.

@amshinde thanks, I've read that comment but it is still not clear for me, isn't the mount namespace at this point the same as on the host?  Isn't /sys already mounted there?
Is it needed for the rootless case?

Let me see if I can explain this better.

I've read that comment but it is still not clear for me, isn't the mount namespace at this point the same as on the host? Isn't /sys already mounted there?

@giuseppe Yes, the mount namespace is the same on the host, /sys is already mounted there, but /sys is not tied to mount namespaces. The /sys on entering the new network namespace still points to the host network namespace.
A little background on the issue: https://lwn.net/Articles/295587/
Any sysfs directory can be associated with (at most) one type of tag, where that type identifies which type of namespace controls how that directory is viewed. Thus, for example, /sys/class/net would have a tag type identifying the network namespace subsystem as the one which is in control there.
When podman creates the network namespace, once Kata runtime enters the network namespace to inspect it, the sysfs entries in /sys/class/net still refer to the network interfaces in the host network namespace.
An issue that describes this in some more detail:
https://unix.stackexchange.com/questions/457025/switching-into-a-network-namespace-does-not-change-sys-class-net
I see that a similar project rootless-kit addressing this here:
https://github.com/rootless-containers/rootlesskit/blob/2cb5ec5819fddecb93aeea843ecdf29d6ecaf9af/pkg/child/child.go#L131
Let me know if you have any further questions, maybe we can discuss this on the crio call this week if you are on it.

@giuseppe @mheon Any updates on this PR?

@giuseppe @mheon Any updates on this PR?

I've verified it locally and it creates a new RD_ONLY /sys mount on the host .  I don't think that should happen.
If /sys is not already mounted, we should probably raise an error and ask the users to fix it.

@gabibeyer @amshinde is this patch still needed?  If you'd like I can help here, can we discuss the issue you are having?


How to intercept user request and make async functions on it before sending to server?

Had to improve requestHandler.js a little
    //route to dealing function
    function routeReq(callback){
        if(userRule.shouldUseLocalResponse(req,reqData)){
            logUtil.printLog("==>use local rules");
            dealWithLocalResponse(callback);
        }else{
            logUtil.printLog("==>will forward to real server by proxy");

            //this is a simple addition
            //if there's a defined processUserRequest user rule
            //we pass control to it
            //and it can exit two ways
            //1. with it's own reply and data just like in shouldUseLocalResponse
            //2. process to normally forward request to a server
            if(userRule.processUserRequest){
                userRule.processUserRequest(req, reqData, function (statusCode,resHeader,resBody) {
                    if(statusCode){
                        //means we want to answer by ourselves
                        localResponse(statusCode, resHeader, resBody, callback)
                    } else {
                        //process normally
                        dealWithRemoteResonse(callback)
                    }
                });
            } else {
                dealWithRemoteResonse(callback);
            }

        }
    }


Add images.Dither filter

Closes #8598
I understand we may not want to add another dependency, but the package is light, fast, and feature-rich. I expected ordered dithering to be fast, which it is, but was pleasantly surprised to find that error diffusion isn't too bad either. It's pretty slick.
And you can define the dithering palette on a per-image basis. The example below sets the dithering palette to the dominant colors:
{{ with resources.Get "original.jpg" }}
  {{ with .Resize "480x" }}
    {{ $opts := dict "method" "ClusteredDot4x4" "colors" .Colors }}
    {{ $filter := images.Dither $opts }}
    {{ with images.Filter $filter . }}
      <img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" alt="">
    {{ end }}
  {{ end }}
{{ end }}

and feature-rich

If the use case is to build "low tech" looking use case,

Why do we need "feature-rich" dithering?
Why isn't the FloydSteinberg drawer in the draw package we already use good enough to create this "low tech" look?

This seem like hitting the nail with a hammer to solve a, I suspect, niche use case (I haven't seen many people asking for this).

The examples that I have seen referenced by those who have expressed interest have been dithered using ordered patterns (e.g. cluster dot) not error diffusion (e.g, FloydSteinberg). This includes both.
To achieve the desired effect, you may need to use different ordered patterns depending on image size. For example, an 8x8 pattern on a 480x270 image looks terrible, but looks pretty good at 1920x1080.
The examples I have seen have varying palettes, so passing in a custom palette is desirable. Although not required by the examples that I have seen, creating a palette from the dominant colors returned by .Colors is pretty slick.
Finally, what triggered this PR was an article where someone created an external image processor/server to dither, and then get those images with resources.GetRemote. Compared to the image filter API that you created, that approach is just ugly. To me this is a perfect fit for our library of filters... create a slice, go left to right, you're done. It's remarkably elegant.
Yes, this is a hammer. But it's a really nice hammer.

Finally, what triggered this PR was an article where someone created an external image processor/server to dither,

Do you have a link to that article?

OK; I tested it now, and I'll admit, it is pretty cool

https://davideisinger.com/journal/encrypt-and-dither-photos-in-hugo/

I also adjusted where case folding occurs to improve one of the error messages, and made some minor changes to the documentation page.


modpack wont load

How much ram do you have allocated, and what's your total ram?
Also send the log file

10 g allocated and 16 g total
latest.log

Launcher?

ftb app launcher

Hmm, not really sure what's the issue then. You could try dropping down to 8 gb, but it really shouldn't matter. It might just take extra time on first load

ok thanks


Travis needs to install lapack before scipy

As described here, perhaps?

The consensus seems to be that using conda to install scipy is preferred because of all of scipy's dependencies.   So I've done that in #8, and travis-ci seems happy.

Great! Thank you :-)

Closed during #8


improve vi lang for intro-yii.md

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
comma-separated list of tickets # fixed by the PR, if any

Merged. Thanks!


How can I setting for node selected when initialize TreeModel?

I need to add css node-selected for node selected when initialize TreeModel but TreeModelSettings do not have any setting for that.
Can you help me? Thanks.

@phuclam85 There is no option to add a custom class to the selected node. Though it is a good idea for a new feature.


[tf.keras] Add missing cast in keras/layers/normalization.py

scale needs to be casted into the right data type

This pull request fixes it as well https://github.com/tensorflow/tensorflow/pull/20809


Revert "ci: update icd region list"

Reverts terraform-ibm-modules/common-dev-assets#611
It seems us-east does not work (even though it says it is supported in the docs).
"Result": {
  "details": "{\"error\":\"KMSError\",\"description\":\"We were unable to complete your request: Only us-south backup encryption keys are supported. Try again with valid values or contact support if the issue persists.\"}",
  "error_code": "RC-ServiceBrokerErrorResponse",
  "message": "Please contact the Service Provider for this error. [400, Bad Request] We were unable to complete your request: Only us-south backup encryption keys are supported. Try again with valid values or contact support if the issue persists.",
  "status_code": 422,
  "transaction_id": "bss-4905e2b9aca7bc6b"
}

Reverting for now. Will reach out to ICD to get clarification.

I think this is because of the second note:

Only keys in the us-south and eu-de are durable to region failures. To ensure that your backups are available even if a region failure occurs, you must use a key from us-south or eu-de, regardless of your deployment's location.


[feature request] Display all instructions for a set

Hello, it would be useful to optionally also display the complete list of instructions for each instruction set, like:
[SSE2]
addsd
mulsd

instead of:
SSE2 (addsd)

Thanks for the suggestion! This makes sense. I'm afraid that I don't have the bandwidth to personally develop any new features myself (even one like this, which shouldn't be too hard to implement), but I am more than happy to review pull requests if anyone wants to contribute one.