Add an interpreter-global hasher

To facilitate APIs like String#hash, it would help to dangle a BuildHasher like RandomState off of the interpreter and expose it with a trait in artichoke-core.
I imagine a trait like:
// This trait is identical to `BuildHasher`.
pub trait Hash: core::hash::BuildHasher {}

To implement this trait in artichoke-backend, add a RandomState to the interpreter state:
https://github.com/artichoke/artichoke/blob/fdc7bb6ef8d2023abaa672040efe902f0ccea030/artichoke-backend/src/state/mod.rs#L24-L35
and implement the trait in a source file at artichoke-backend/src/hash.rs, like this example for Warn:
https://github.com/artichoke/artichoke/blob/fdc7bb6ef8d2023abaa672040efe902f0ccea030/artichoke-backend/src/warn.rs#L14-L41
This blocks #1222.

Hey @lopopolo  and team,
Thanks for all your great work so far!
I’ve started on this here but I’ve got some questions:

I tried extending Hash from core::hash::BuildHasher as suggested but BuildHasher#build_hash takes &self as its first argument and I think we need it to take &mut self to get state out of self so I built my own trait instead. Does this make sense?

Is it alright that State can only take a RandomState or do we want to make this more generic than that?

Also some neat things I learned while investigating that you may already know but thought I’d share:

Ruby MRI 1.8.7's string hashing algorithm is actually called One-At-A-Time Hasher and it's been implemented in rust here. It also looks like MRI 1.8.7 can be configured to use ElfHash.

It looks like the latest MRI uses SipHash13 which is what RandomState uses. Nice!

Thanks @masonforest your branch is looking pretty good.
A couple of bits of feedback and I think this is good to submit as a PR:

Good eye on needing to take &mut self to destructure the state.
artichoke-core supports building in no_std mode, so I think I'd like the build hasher to be an associated type that is generically bound by core::hash::BuildHasher. Then artichoke-backend would declare its impl with the associated type of RandomState.
Let's return Result<&Self::BuildHasher, Self::Error> to avoid an unnecessary clone since BuildHasher::build_hasher only requires &self.

Also some neat things I learned while investigating that you may already know but thought I’d share:

😄 you might want to take a look at:

https://github.com/artichoke/artichoke/pull/1450
https://twitter.com/artichokeruby/status/1444089207547330562

and:
https://github.com/artichoke/artichoke/blob/ba6158c1bd917cbdfcc30872990c176230a83f9f/spinoso-string/src/ffi/mruby.rs#L5-L29


⚠ Bofrost.fr has degraded performance

In 57dd234, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2240 ms

Resolved: Bofrost.fr performance has improved in e639086 after 13 minutes.


Bluetooth GATT Error address= handle=47 error=3 description=Write not permitted

Xiaomi BLE reading temp etc just fine, but time update fails any tips to fix it?
Thanks

i think it's because home assistant changed the services to actions and something else as changed and now it doesn't work.


Explore Testing MVP

I've had a first crack at some code. Made some design decisions in the class structure that I'm not 100% about but thought it would be useful to have the convo around some working code.
I created a click CLI (in cli.py). Currently, it has two commands: connect and sql.

connect: This command tests the Looker URL and API credentials. It takes three required arguments as environment variables: LOOKER_BASE_URL, LOOKER_CLIENT_ID and LOOKER_CLIENT_SECRET. It has two additional optional flags: --port and --api. It authenticates the API credentials and switches to the development workspace to ensure the user has that permission.
sql: This command does everything connect does and additionally switches the branch, finds all the explores for the specified project, finds all dimensions for those dimensions, creates a query for each one and verifies that they run correctly. It takes all of the same arguments as command, plus the project and branch names, i.e. fonz sql project_name branch_name.

Some of the logic of the sequential steps currently lives in cli.py. I think it should probably live elsewhere, but it may be useful to have it there for early development while we figure what we want each command to do.
connection.py has some of the logic and structure discussed in https://github.com/dbanalyticsco/Fonz/issues/2. There's one reasonable substantive decision that I made that I think it definitely worth discussing:
A number of the functions pass around objects called explores and explore. An explore object is a JSON dictionary of the following formats:
# Before we get dimensions
{'model': 'model_name', 'explore': 'explore_name'}
# After we get dimensions
{'model': 'model_name', 'explore': 'explore_name', 'dimensions': []}

An explores object is then just a list of one or more explore.
I decided to do this because to get the dimensions you need both the model and explore, and to build the query you need the model, explore and fields. Seemed easiest to package them together.
There are a number of other new functions in there that I think are self-descriptive, but let me know if you have any questions!
Things this does not have:

any testing
any meaningful error-handling

This is effectively currently built in a way that assumes you pass it good credentials. I didn't want to get too far down that route before we had agreed on the structure of the code itself.
Hopefully that all makes sense!

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@9c49c8d). Click here to learn what that means.
The diff coverage is 58.86%.

@@            Coverage Diff            @@
##             master       #5   +/-   ##
=========================================
  Coverage          ?   58.86%
=========================================
  Files             ?        5
  Lines             ?      158
  Branches          ?        0
=========================================
  Hits              ?       93
  Misses            ?       65
  Partials          ?        0

Impacted Files
Coverage Δ

fonz/cli.py
0% <0%> (ø)

fonz/utils.py
100% <100%> (ø)

fonz/tests/test_connection.py
100% <100%> (ø)

fonz/tests/test_utils.py
100% <100%> (ø)

fonz/connection.py
50.7% <50.7%> (ø)

Continue to review full report at Codecov.

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

@joshtemple As you can see from a ludicrous number of small commits, I got into a bit of a fight with CircleCI and codecov. (I'll rebase the PR shortly.)
I think we should now have tests for:

pycodestyle (pep8 check, possibly overkill but added to test)
pytest (checking our actual tests)
mypy (checking static typing)

It then runs a coverage report and sends it to codecov. I've added a CircleCI badge and a codecov badge to the README.

Hey @joshtemple. Thanks for the review. I think everything you've said makes sense. Have replied to most of the comments. I think there's only a few that will require discussion.
How do you want to tackle making amendments? Do we want to branch of this, merge into this, and then merge into master when we are happy?

As a side note, how do you feel about using Black formatting for this project so we have a consistent formatting scheme? Black is great because it auto-formats everything on save.

Haven't used Black before but looks great. Very happy use that. Do we just install it locally or does it also do CI?

Yes! Yesterday I worked on a couple of these items and created branches off this one. I'll gradually open those PRs for you to review and then we can merge this in as a first draft.
I did a little reading on Black. I think the most straightforward way for now will be to configure it locally. I use Atom as my editor and there's an easy plugin that runs Black whenever I save. I know there are similar plugins for other editors. You can also run it from the command line or set it up as pre-commit hook if you'd prefer.


Permission denied when using prometheus-operator on minikube

What did you do?
I ran the latest version of prometheus-operator in minikube.
What did you expect to see?
Prometheus working
What did you see instead? Under which circumstances?
Prometheus pod fails with
level=info ts=2017-10-25T13:58:34.846787804Z caller=main.go:315 msg="Starting TSDB"
level=error ts=2017-10-25T13:58:34.848202305Z caller=main.go:324 msg="Opening storage failed" err="open DB in /var/prometheus/data: open /var/prometheus/data/714202058: permission denied"

Environment
minikube installed on MacOS

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.1", GitCommit:"1dc5c66f5dd61da08412a74221ecc79208c2165b", GitTreeState:"clean", BuildDate:"2017-07-14T05:22:03Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-09-11T21:52:19Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
minikube

Manifests:

---
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
  name: app
  namespace: jetbrainslicense
spec:
  externalUrl: http://prometheus.jetbrainslicense.minikube.test
  replicas: 2
  retention: 168h
  serviceMonitorSelector:
    matchLabels:
      app: jetbrainslicense
  resources:
    requests:
      memory: 2Gi
  storage:
    volumeClaimTemplate:
      spec:
        resources:
          requests:
            storage: 50Gi
  alerting:
    alertmanagers:
    - namespace: jetbrainslicense
      name: alertmanager
      port: http-metrics
  serviceAccountName: prometheus

Prometheus Operator Logs:

insert Prometheus Operator logs relevant to the issue here

Which version of the Prometheus operator are you running?

Oh I just noticed you closed the issue, can you share what solved the problem?

@brancz The version is 0.14.0 / 2017-10-19 and the problem is still relevant but on further discussion with teammates I think it's more minikube bug then prometheus-operator


ouimeaus installed but server missing dependancies?

I have installed Ouieaus and the executable works fine. However, when I go to use it as a server it tells me that their dependencies are not installed:
ouimeaux server dependencies are not installed. Please run, e.g., 'pip install ouimeaux[server]'
If I do as instructed, it fails with some kind of error. But if I do as instructed in one of the other threads here:

"pip  install -e 'git+https://github.com/syphoxy/ouimeaux.git#egg=ouimeaux[server]'"

it seems to install fine with no errors. However, when I try and run "wemo server" again I get the same dependancy errors.
As it's a shame as I would rather CURL to the server than run it as a command line util using PHP.

I have the same issue but the link isn't active anymore, do you know of another method to get around this issue?

I have the same issue. Has anyone figured this out?

I think i found a solution
try to uninstall and reinstall Flask with the required version
pip uninstall Flask
pip install Flask==0.8

I am having this issue as well and neither of the above solutions do anything.

See my description of a fix to this issue here


contact me

hey
i want to talk to you about something
Telegram: @Vindyz
Discord: Vindyz

I am sorry, but submitting an issue is the wrong way to try and get in contact.


Serverless "Post Function" doesn't work with AWS Lambda

Summary
The Serverless Function plugin "post-function" plugin doesn't work with an AWS Lambda plugin.
Steps To Reproduce

Create an AWS Lambda function and assign it to a service
Create a Serverless Functions post-function using the example given in the documentation
Send a request to your new service without the x-custom-auth in the header

Note: the request is executed even without the x-custom-auth in the header.  However, the pre-function works as expected.
Additional Details & Logs

Kong version (0.14.0)

This is expected behavior due to the fact that AWS Lambda short-circuits the normal proxying lifecycle. Plugins with a lower priority that AWS Lambda will not execute in the current design of Kong.
Long-term fix is likely to be supporting a true content phase handler for plugins, rather than having to return out of the access phase. Because we leverage proxy_pass as the content handler this is likely to involve a bit of redirection internally.


[ObjC] Skip 0-length slices when writing to CFWriteStream (#37246)

#37246

Thanks for the fix, BTW do you know in what cases that Arrow Flight needs to send a zero bytes buffer?

Thanks for the fix, BTW do you know in what cases that Arrow Flight needs to send a zero bytes buffer?

@HannahShiSFB Arrow, in certain scenarios, utilizes a zero-byte buffer in conjunction with its Array structure. This is specifically related to the validity bitmap buffer, which is used to index valid entries (i.e., entries that are not null) within an Array. According to the Arrow specification, if all entries in an Array are valid, implementations may opt to indicate this by using a null buffer, effectively signaling that all entries are valid without explicitly storing this information. This approach is described as a "lazy" signaling mechanism for full validity (refer to Arrow Spec).
In its C++ implementation, Arrow takes advantage of this specification by inserting a null buffer into the body_buffers to denote that all entries in an Array are valid, as seen in the Arrow GitHub repository:
https://github.com/apache/arrow/blob/674e221f41c602c8f71c7a2c8e53e7c7c11b1ede/cpp/src/arrow/ipc/writer.cc#L167
These validity bitmaps, in turn, are serialized to Slices which are passed to grpc transport.

@HannahShiSFB what prevents us from merging this PR? is there anything from my side?

@ziglerari Hi.. I think the PR is not being merged due to Python failure, which should be unrelated to this PR..
Let me re-trigger CI to see if it clears :)

UPDATE: Tests have cleared. Will merge soon! :)


OTG Test Update - RT-5.4 Fix the ATE destination device name

This fix will ensure that otg configurations will get pushed
Resolves #1273

Pull Request Functional Test Report for #2198 / a20fa37f06f71a490b8076e2fa34946c1d8b11c2
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-5.4: Aggregate Forwarding Viable

Cisco 8000E

RT-5.4: Aggregate Forwarding Viable

Cisco XRd

RT-5.4: Aggregate Forwarding Viable

Juniper cPTX

RT-5.4: Aggregate Forwarding Viable

Nokia SR Linux

RT-5.4: Aggregate Forwarding Viable

Openconfig Lemming

RT-5.4: Aggregate Forwarding Viable

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-5.4: Aggregate Forwarding Viable

Cisco 8808

RT-5.4: Aggregate Forwarding Viable

Juniper PTX10008

RT-5.4: Aggregate Forwarding Viable

Nokia 7250 IXR-10e

RT-5.4: Aggregate Forwarding Viable

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 45.707%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1347

Relevant Lines:
2947

💛  - Coveralls


Guide PL

README updated with current links.
Start Installation updated with fixed configuration.
Full names added in translators.json (@Yupik is ok with it).

@bizley your branch has conflicts, can you rebase on master and squash the commits?

could you also provide a blocktypes.json file for the polish guide?

@cebe it was ok when PRed, probably conflict with #12273
Maybe just close it, I will remove guide-pl branch because it's pain to keep it up-do-date and will go for more direct approach. I will send another PR.
With blocktypes.json as well.

ok, thanks!


How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://github.com/imsnif/bandwhich/releases/tag/v0.21.0
Publisher: imsnif
Package Name: bandwhich
Description: This is a CLI utility for displaying current network utilization by process, connection and remote IP/hostname
Package Version: 0.21.0
Installer URL: https://github.com/imsnif/bandwhich/releases/download/v0.21.0/bandwhich-v0.21.0-x86_64-pc-windows-msvc.zip

@stephengillie - Could you please help close this issue as "Not planned"? Thank you ❤

Related https://github.com/imsnif/bandwhich/issues/287#issuecomment-1886745239
Related https://github.com/imsnif/bandwhich/issues/287#issuecomment-1889831852

@stephengillie - Could you please help close this issue as "Not planned"? Thank you ❤


feature (v0.1.7): small changes to pipeline

Codecov Report

Merging #13 (4601355) into main (134c478) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #13   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            2         2
=========================================
  Hits             2         2

Continue to review full report at Codecov.

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


Parallelize the QubitConverter routines

What is the expected enhancement?
It should be possible to improve the  QubitConverter class by parallelizing its internal processes.
We may also want to look into implementing generator routines which would allow "lazy conversion" of operators (assuming that we have lazy operator generation).
Note: This is a long-term goal and does not have immediate priority.

Maybe this could be stated more generally as improve performance of QubitConvertor. This would allow Rust to be considered and threads etc as need. If the convertor can be given an iterator of some form then whether its created on demand as the iterator progesses or it all there will be transparent to the convertor though may limit how the operator is parceled out for concurrent conversion.


Toolbar about the each component with the description

We need to use an icon 'i' (just like in bazaar) so that when user points the icon, there appears a bar with information about the component and what does it used for.
Sample:

Fixed on Master

Done in Production.


Reset terminal cursor style after each prompt

This is a fix for #72 and #51. The solution here is to print VTE_CURSOR_STYLE_TERMINAL_DEFAULT, whose value is "\033[0 q", to stdout after each prompt. When entering a new prompt line, this means that a reset sequence is sent, shortly followed by an IBEAM sequence. I had concerns that this would cause unpleasant flashing, but it seems to be fast enough that a block isn't rendered for quick commands. It works well in my testing with xterm, termite, alacritty, and the embedded terminal in vs-code (xtermjs I think?).
This does have an odd side-effect that the cursor returns to the default style while a long command is running, for example sleep(5).
In the course of testing this, I discovered that the vs-code terminal does not properly handle the control sequence for resetting the cursor to the default style (\033[0 q). Instead, it sets it to a blinking block cursor. There is a well-detailed issue documenting this: https://github.com/xtermjs/xterm.js/issues/3293
This might justify a new issue for this package. It's certainly annoying—we may be able to have a hacky mitigation detecting if any vs-code related libraries, and setting the cursor to block. Not a great solution though.

I've made some changes. Using the cursor reset sequence yielded inconsistent results across terminals. I was confused, because when using vim it seems that the cursor is correctly reset regardless of the shell or terminal.
It turns out that when vim exits it just sets the cursor to whatever its normal mode setting is! https://github.com/vim/vim/blob/d392a74c5a8af8271a33a20d37ae1a8ea422cb4b/runtime/doc/term.txt#L737-L738
If it's good enough for vim then it's good enough for us! Thus, these changes set the cursor to "steady block" on exit.


Add regression tests

Would be nice to have, given how simple this project is it wouldn't be too hard to add.
We already have a build action so this could be added to that.

Now that I think about it this isn't very applicable.


Add support for select() QueryBuilder method in Select specification

Adds the ability to use the QueryBuilder's select() method too, not just addSelect().

Coverage increased (+0.02%) to 99.58% when pulling efeed940c5934042f21174027dca4ba7fd41267f on friartuck6000:pr/select-tweaks into db9c0e56df617162822f2bfd2ae25c964119c524 on rikbruil:master.


fix(log): do not parse error body when response is empty in reloading config

What this PR does / why we need it:

When Kong client fails to get response from reloading declarative configuration (POST /config), do not parse the error body and directly return the error for not getting response, to produce less misleading error log (than could not unmarshal config error: unexpected end of JSON input) for the situations.
Which issue this PR fixes:

fixes #4665
Special notes for your reviewer:

PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[x] the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

I believe we best add a test case to https://github.com/Kong/kubernetes-ingress-controller/blob/56a11b9e99253fe1c0d43174173b553126cb4cc0/internal/dataplane/sendconfig/error_handling_test.go for this. WDYT?

Added unit test.

BTW: when does POST /config return an empty body? When returning a 200? Only? Perhaps we should take the status code into account

BTW: when does POST /config return an empty body? When returning a 200? Only? Perhaps we should take the status code into account

one situation: When POST /config took too long and client timed out.


[BUG] sendPresenceUpdate() fails when connecting via QR

Describe the bug
chat.ts sendPresenceUpdate() fails when connecting via QR
https://github.com/WhiskeySockets/Baileys/blob/76d2a9d759c31e4b2346fb2f02ec572f4d4c0437/src/Socket/chats.ts#L544
This is printed on the logs:
{"level":40,"time":"2024-06....","pid":37...,"hostname":"myHost","msg":"no name present, ignoring presence update request..."}
The cause is authState.creds.me.name was not set yet by the time sendPresenceUpdate() is executed.
This is a problem when using markOnlineOnConnect: false because:

The user is seen as "Online" by other users.
Phone notifications are reduced e.g. phone doesn't vibrate on incoming messages.

To Reproduce
Steps to reproduce the behavior:

Update example.ts to use markOnlineOnConnect: false
Comment out on example.ts these lines:

// await sock!.readMessages([msg.key])
// await sendMessageWTyping({ text: 'Hello there!' }, msg.key.remoteJid!)

Run the example and connect a phone with QR code
This will be printed on the logs:
{"level":40,"time":"2024-06....","pid":37...,"hostname":"myHost","msg":"no name present, ignoring presence update request..."}
The user is seen as "Online" by other users.
Phone notifications are reduced e.g. phone doesn't vibrate on incoming messages.

Expected behavior

No error 40 on the logs
The user is NOT seen as "Online" by other users.
Phone notifications aren't affected, e.g. phone DOES vibrate on incoming messages.

Environment (please complete the following information):

Is this on a server?: no
What do your connectOptions look like? : The ones in the example plus markOnlineOnConnect: false
Do you have multiple clients on the same IP?: no
Are you using a proxy? : no

Additional context
Add any other context about the problem here.

This is a temporary workaround https://github.com/oscarguindzberg/Baileys/commit/da32b391872fb2c504775a98298bd30e24376c81

it's not a bug


Added image loading in SUNRGB-D dataset

Also fixed a bug in sunrgbd_data_utils.py; created a testing imvotenet config file to test that the loading is correct

removed imvotenet relevant files

Hi @THU17cyz,
(May be not the best place for this question, but anyway) Do you have plans to finish ImVoteNet implemetation? Thank you.

Hi @THU17cyz,
(May be not the best place for this question, but anyway) Do you have plans to finish ImVoteNet implemetation? Thank you.

Yes, I'm working on reproducing ImVoteNet. But since I'm not working full-time, I may take some time.


Avoid using localStorage in favor of cookies

The idea here is that cookies provide better handling for the auth details, such as setting an expiry or letting users ergonomically purge their cookies to clear the auth details.

https://github.com/astarte-platform/astarte-dashboard/pull/422


Fixed Travis CI build fails follow @MaartenStaa suggestion

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Fixed tickets
#490

This PR fixed Travis CI build fails follow @MaartenStaa suggestion in #490

Awesome! :beer:
Great job!


Remove like/+1 buttons at bottom of post

At the bottom of an individual post, it says: "Loved what you just read? Share it!"
How can I remove this text and the share icons from every post?

Overwrite this file at the exact same location in your project with a blank file and you should be good.

That definitely works. Another option (that I went with) is to comment the line below from the "show.html.erb" file.
<%= render "monologue/posts/social_sharing" %>

Yup, I didn't know you already had it, and I prefer to overwrite the least amount of things possible to be future proof, even if Monologue is not changing so much.
On Apr 12, 2016, 8:25 AM -0400, Nitin<EMAIL_ADDRESS>wrote:

That definitely works. Another option (that I went with) is to comment the line below from the "show.html.erb" file.
<%= render "monologue/posts/social_sharing" %>
—
You are receiving this because you modified the open/close state.
Reply to this email directly orview it on GitHub(https://github.com/jipiboily/monologue/issues/286#issuecomment-208878517)

Gotcha. I was actually wondering why I wouldn't just overwrite everything initially but now I realize that it's because I just installed Monologue and haven't had to deal with upgrades. Good to know. Thanks again.


Export Presets for Android and etc2_astc=true

Can Android stay inside?
etc2_astc=true is necessary for Android, I'm not sure what effect it has on other systems.

How would you like to be included in the AUTHORS list? With or without your real name?

Maybe later, when I find time to optimize the app for Android. Username would be enough.


<EMAIL_ADDRESS>hash check failed

> scoop install teamviewer
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
Installing 'teamviewer' (14.2.2558) [64bit]
Starting download with aria2 ...
Download: 04/17 08:40:13 [ERROR] CUID#10 - Download aborted. URI=https://download.teamviewer.com/download/version_14x/TeamViewerPortable.zip
Download: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://dl.teamviewer.com/download/version_14x/TeamViewerPortable.zip
Download:   -> [HttpResponse.cc:86] errorCode=8 Invalid range header. Request: 14680064-22020095/28760872, Response: 0-28760871/28760872
Download: 04/17 08:40:13 [ERROR] CUID#12 - Download aborted. URI=https://download.teamviewer.com/download/version_14x/TeamViewerPortable.zip
Download: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://dl.teamviewer.com/download/version_14x/TeamViewerPortable.zip
Download:   -> [HttpResponse.cc:86] errorCode=8 Invalid range header. Request: 22020096-28760871/28760872, Response: 0-28760871/28760872
Download: 04/17 08:40:13 [ERROR] CUID#11 - Download aborted. URI=https://download.teamviewer.com/download/version_14x/TeamViewerPortable.zip
Download: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://dl.teamviewer.com/download/version_14x/TeamViewerPortable.zip
Download:   -> [HttpResponse.cc:86] errorCode=8 Invalid range header. Request: 8388608-22020095/28760872, Response: 0-28760871/28760872
Download: [#9a5175 6.0MiB/27MiB(21%) CN:1 DL:9.7MiB ETA:2s]
Download: [#9a5175 15MiB/27MiB(56%) CN:1 DL:9.6MiB ETA:1s]
Download: [#9a5175 17MiB/27MiB(63%) CN:1 DL:6.7MiB ETA:1s]
Download: [#9a5175 19MiB/27MiB(70%) CN:1 DL:5.3MiB ETA:1s]
Download: [#9a5175 22MiB/27MiB(83%) CN:1 DL:4.9MiB]
Download: [#9a5175 24MiB/27MiB(90%) CN:1 DL:4.4MiB]
Download: [#9a5175 27MiB/27MiB(99%) CN:1 DL:4.1MiB]
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 9a5175|OK  |   4.1MiB/s|C:/Users/<user>/scoop/cache/teamviewer#14.2.2558#https_download.teamviewer.com_download_version_14x_TeamViewerPortable.zip
Download: Status Legend:
Download: (OK):download completed.
Checking hash of TeamViewerPortable.zip ... ERROR Hash check failed!
App:         extras/teamviewer
URL:         https://download.teamviewer.com/download/version_14x/TeamViewerPortable.zip
First bytes: 50 4B 03 04 14 00 02 00
Expected:    8c5363bc3eb4a0bd83c0183003146bd21b64515f378ae973de1a404997de5dda
Actual:      4cc8953e39a3470a4b7e6745cff8b0acfffd1dd844bb5d5266fdf5d4847683b9

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=teamviewer%4014.2.2558%3a+hash+check+failed

Not sure if this is something on my side or not.

Thanks! Was able to install it now. 👍


Set Repository website and description

Done. I'd also be happy to add you as a contributor to make further changes.

Please do!
On Fri, 8 Jun 2018 at 16:17, Leif Andersen<EMAIL_ADDRESS>wrote:

Done. I'd also be happy to add you as a contributor to make further
changes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/videolang/video/issues/43#issuecomment-395793510, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGmD5_NXeajLxthzwrga2mvEl_oU6t6ks5t6pVzgaJpZM4QokjT
.

--
Kind regards,
Stephen
Ealing (London), UK

Okay. I sent you an invite. Let me know if you didn't get it.


Variable that shows if the framerate has dropped this round, to disable vfx

Interest 12/15, .8
https://docs.google.com/forms/d/1H6sNxjfjUpJw1Rfs_Mq6PyP3xqvMeRvi7lTc7f16_GU/edit#responses


magic domain mitm.it not working with allow-hosts in transparent mode

Problem Description
I run my mitmweb in transparent mode and want to only intercept the data from a few domains, so I used the allow-hosts option.
I can't figure out the ip to use to let mitm.it work in this setup.
Steps to reproduce the behavior:

Run mitmweb with this command: mitmweb --allow-hosts <ip1> --allow-hosts <ip2> --allow-host <external ip of proxy server> --allow-host <local ip of proxy server> --set block_global=true --mode transparent
connect to the proxy server and go to mitm.it and see the 'If you can see this, traffic is not passing through mitmproxy.' error.

System Information
Mitmproxy: 8.1.0
Python:    3.10.4
OpenSSL:   OpenSSL 3.0.3 3 May 2022
Platform:  Linux-5.15.0-43-generic-x86_64-with-glibc2.35

You need to use whatever IP addresses mitm.it resolves to:
λ dig mitm.it
;; ANSWER SECTION:
mitm.it.                60      IN       A       <IP_ADDRESS>
mitm.it.                60      IN       A       <IP_ADDRESS>
mitm.it.                60      IN       A       <IP_ADDRESS>
mitm.it.                60      IN       A       <IP_ADDRESS>

mitmdump --allow-hosts "18.66.17.*" ...

That didn't work for me, I added the listed ip's (the one dig said on my server) and when I load mitm.it now, it still says the traffic isn't routed through mitmproxy


addSignal with 100% cpu

Hello, I have a question.
Why the code blow run with 100% CPU, any question with the code?
require __DIR__ . '/../vendor/autoload.php';

use React\EventLoop\Factory;

$loop = Factory::create();
$loop->addSignal(SIGTERM, function () {
});
$loop->run();

If all you add is checking for the SIGTERM it will only do that and in rapid succession of each check. But when you add timers or streams if will have more to do and wait for.

@yizhihouzi Thanks for reporting, I can reproduce this running one the examples (https://github.com/reactphp/event-loop/blob/0266aff7aa7b0613b1f38a723e14a0ebc55cfca3/examples/04-signals.php) with the default StreamSelectLoop and agree that this should not cause busy waiting.
It's my understanding that this only happens with the default StreamSelectLoop and when you only have signals added to the loop with no other stream listeners or timers. I'll look into filing a PR soon-ish.
In the meantime, this can simply be worked around by adding a dummy timer to the loop as suggested by @WyriHaximus, so this expected to have little impact in real-word applications :+1:

@clue yes,I found this problem inadvertently , and I just want to report this bug , there's no impact in real-world.

So I've been thinking about this, and we could add some kind of timer to avoid this. But I kinda feel that would be patching a very odd edge case that wouldn't/shouldn't exist in the wild.

Is there any real world use case where signals should keep an event loop going, if there is nothing else of interest going on? I'd actively vote to remove this from all loop implementations. I'm arguing that signals are never of active interest and shouldn't prevent a loop from exiting solely because there are signal watchers.

I think this is debatable, but arguably out of scope for this ticket. Also, this has been introduced via #104  and changing this behavior would be a BC break.
Either way, I've just filed #183 as a simple fix for this specific problem. I do not expect this to affect many real-world use cases, but it makes it work as expected at least (see example 4).


Transfer django-simple-history to Django Commons

This is for tracking the progress of the idea started in https://github.com/django-commons/membership/issues/40#issue-2526174875.
To my knowledge, Jazzband has only one admin currently, and adding more has been an ongoing issue for a while now (see https://github.com/jazzband/help/issues/196). Quoting the Django Commons FAQ:

Given the importance of several of these projects it's a major risk to the community at large to have a single point of failure in managing the projects.

A transfer will allow us to merge #1305 and make us better able to avoid similar problems/delays in the future, as I think it's much more likely there will be more admins available.
The only two currently active maintainers, @tim-schilling and I, are both members of Django Commons, so the transfer won't change anything in that regard (other than opening up for more maintainers from Django Commons).
One of the two project leads, @treyhunner, has already expressed support of this decision, and so has Tim.
### Remaining work
- [ ] Create an inbound transfer issue in [django-commons/membership](https://github.com/django-commons/membership): [Replace this with a link to the issue]
- [ ] Create an outbound transfer issue in [jazzband/help](https://github.com/jazzband/help): [Replace this with a link to the issue]
- [ ] Update our `CODE_OF_CONDUCT.md` to reference [Django Commons Code of Conduct](https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md) (like [`django-debug-toolbar/d3ea31b`](https://github.com/jazzband/django-debug-toolbar/commit/d3ea31b648879ecff595d928b54f82a438b1192e))
- [ ] Update all references to Jazzband with Django Commons

(@-ing all current project leads and members)
@treyhunner @rossmechanic
@tim-schilling @jeking3 @thisisazeez @LeMinaw @valberg @brylie @johanneswilm @ddabble @thesayfulla @mraza007
Taking inspiration from https://github.com/django-commons/membership/issues/34#issue-2445279361, who will be the new maintainers(/admins?) of the project? (I'm assuming that it's required of all maintainers to join Django Commons first.)
To mirror what I wrote in the issue description, I guess it would be natural for at least @tim-schilling and I to continue as maintainers.

@ddabble You're correct, @cunla and @Stormheg are the two to reach out to. The onboarding process is still being streamlined.
In regards to my role with django-simple-history, I'm good with it moving over to django-commons. I am curious who among the current releasers still wants to be a releaser and if folks are comfortable handing those keys over to @ddabble (I'm +1 on that).

Also, taking inspiration from jazzband/help#369 (comment), who should be contacted for transferal of the repo? @cunla?

Hi @ddabble,
Please book some time with me to do the transfer: https://cal.com/daniel-moran/dc-meeting

@cunla No, I meant which Django Commons admin should be mentioned in the issue that will be created in jazzband/help - in the same fashion that you're mentioned in https://github.com/jazzband/help/issues/369#issue-2470466800 🙂 Though I guess Tim already answered that:

when there's consensus to move it over, the scheduling will be coordinated in the django-commons/membership issue for transferring it in.

Or did I misunderstand what you meant, and that having a meeting would be useful in any case? If so, then sure 👍

Is @rossmechanic the last person we need to talk with for this move?

@tim-schilling Maybe, or perhaps the support of 1/2 project leads is enough? I suppose @jezdez could answer that - either here or once we start the move 🙂

Oh great, thanks for taking the initiative! 😊

Fine with the move. Let me know what I need to do!

@rossmechanic Fantastic! Not sure you need to do anything.. 🤔 @tim-schilling Am I correct in assuming that after https://github.com/jazzband/help/issues/382 has been resolved, @jezdez can simply transfer the repo to Django Commons without any other actions being required by the people mentioned here..?

Due to a lack of responses to my comment above, I'll just put @tim-schilling and I as the new maintainers of the project in https://github.com/django-commons/membership/issues/131 - but to the people I @-ed in the mentioned comment: You're very much welcome to apply for membership and a maintainer role in django-commons 😊


nothing is happening.

I followed the example one by one and nothing is happening when typing data in the field. Any advice?

in order to make Jquery UI works properly you should use
//= require jquery-ui
(with a dash 'cause underline wont work)
font: https://github.com/indirect/jquery-rails

i am using rails 3.0.3. Does thi still apply? where do i define //= require jquery-ui

the
//= require jquery-ui
only applies to Rails 3.1.x and it new asset pipeline. For Rails < 3.1 you need to include jquery ui yourself... (most likely in your layout file)

Thanks.
I included the libraries and some of the error message went away but still nothing happens. Any more suggestions?


Twitter API response error code

GET: https://api.twitter.com/1.1/statuses/home_timeline.json
Auth Type: 1.0
Consumer  key : ####
Consumer secret : ####
Token: ####
Token secret: ####
Signature Method: HMAC-SHA1
Expected Result : Returns a collection of the most recent Tweets and Retweets posted by the authenticating user and the users they follow
Actual Result: {
"errors": [
{
"code": 32,
"message": "Could not authenticate you."
}
]
}

@routbiplab, this repository is about the source for https://twitter.github.io/. It has nothing to do with the Twitter API. For help using the Twitter public API you can visit https://twittercommunity.com/ or https://developer.twitter.com/en/docs.


Update to log4j 1.2.16

Is your feature request related to a problem? Please describe.
Log4j 2.16 has been released, https://lists.apache.org/thread/d6v4r6nosxysyq9rvnr779336yf0woz4
Describe the solution you'd like
Upgrade to log4j 2.16, following OpenSearch.
https://github.com/opensearch-project/OpenSearch/pull/1721

Alternatively, https://github.com/opensearch-project/security/issues/1519

Fixed 1.2.2


New Feature Request: "Safe Height" default toggle switch

Expected: Setting "Safe Height" under settings enforces that height for all commands and sequences
Actual: "Safe Height" is only enforced when specifically called upon in sequences
Steps to Reproduce: All default movement commands, default and featured sequences do not enforce "Safe Height" even if it is set
Having a toggle to automatically enforce "Safe Height" for all sequences would be useful for many different reasons. In our case, we have our farmbot setup in a greenhouse and there is a support beam between X=2100-2280 unless the Z height is -180 or lower. To bypass this we will have to write custom sequences for every possible command and cannot use any default commands or parts of the interface without risking a collision. Example: Moving from Home to pick up the watering toolhead requires me to make a custom sequence using something like this move_absolute({z=safe_z(), safe_z = true})mount_tool(safe_z = true, variable("Tool"))'
When doing a soil height calibration grid we used the Lua interface to create this script which lowers the Z axis to the safe height when moving between points within a certain range on the X-axis:
`-- Define the grid parameters
local grid_points = {x = 15, y = 5, z = 0}
local spacing = {x = 175, y = 175, z = 0}
-- Move in a grid pattern and measure soil height at each point
for x = 0, grid_points.x - 1 do --x= is starting cell point
for y = 0, grid_points.y - 1 do -- y= is starting cell point
-- Calculate the coordinates of the current point
local point = {
x = x * spacing.x,
y = y * spacing.y,
z = 0
}
-- Check if the point is in the "Obstruction X" area
if point.x >= 2140 and point.x <= 2280 then
  -- Move to the "safe Z" height before moving into the area
  move_absolute({z = safe_z()})
end

-- Move to the current point
move_absolute({x = point.x, y = point.y})

--Move back to max Z
move_absolute({z =0})

-- Measure soil height at the current point
measure_soil_height()

end
end
`
This is great for this one specific sequence, but I'll have to create custom sequences for every command available in order to avoid the obstruction in our greenhouse which seems like a near impossible task.

Safe Z was originally implemented to avoid hitting plants beneath the Z-axis. It is an interesting edge case to hear you need to avoid hitting something above the Z-axis!
It would probably be tricky for us to implement an Always Enforce Safe Z type setting, and such a setting would also have many unintended consequences/tradeoffs. For example, with such a setting enabled you would not be able to move in the X/Y plane near the soil surface for a rotary tool weeding operation. You also would not be able to pull a tool out of a slot, or put it back in!
However, I think there is a relatively straightforward workaround for you to consider, which is to modify YOUR COPY of the more advanced sequences in your account, rather than creating your own version from scratch. The advanced sequences (Soil Height Grid, Weed Detection Grid, Water All, etc) are all written in Lua and you can modify the code for your purposes. In the example below, I have just added , safe_z = true to the movement call:


Cleanup test data bootstrapping

Is your feature request related to a problem? Please describe.
The current way of bootstrapping test data is somewhat convoluted. We already have cleanup efforst in varfish-org/mehari#370.
Describe the solution you'd like
Use mehari txdb subsetting, the prebuilt data on S3, and the BED subsetting in annonars to simply and cleanup the current bootstrapping.
Describe alternatives you've considered
N/A
Additional context

varfish-org/mehari#370
varfish-org/mehari#371

#283


Twisted support

There are many instances where it is useful to synchronize the results of a signal. Also, current smokesignal has no support for handling errors (it simply eats them).
Enhance smokesignal by providing the ability for emit() to return a deferred which fires with the results of all the callbacks. Further support error handling by adding standard errback support.
PR forthcoming.

https://github.com/shaunduncan/smokesignal/pull/14/files PR

I reviewed and merged the PR that adds Twisted support. I am going to mark this issue as closed. Please reopen the issue if you feel it was closed in error.
Thanks!

Glad I could improve the project! :)


Option to write without verify

This is a bit ill-advised but occasionally handy. It's already accessible by failing to specify the decoder format, but a real option would be more elegant, at least.

It would also make debugging easier under some circumstances.

This got broken in #436.


can't update with   coll = {database(), collection()}

version  v0.8.3 ,   mongo version 3.2.1
test code:
{ok, Conn} = mc_worker_api:connect ([{database, <<"admin">>}, {host, "<IP_ADDRESS>"}, {port, 9999}])
Collect = {<<"test">>, <<"device">>},
Command = #{<<"123">> => pid_to_list(self())},
mc_worker_api:update(Conn, Collect, {<<"abc">>, <<"abc">>}, #{<<"$set">> => bson:flatten_map(Command)}).

return msg:
{false,#{<<"code">> => 9,
         <<"errmsg">> => <<"wrong type for 'update' field, expected string, found update: { test: \"device\" }">>}}

do i use the  wrong way? thank you

Why you are using collection {<<"test">>, <<"device">>}. What do you want to do with this tuple?
Collection supposed to be binary.

i have to connect mongodb with account and password, so i have to use "admin" database at the first
mongo cmd:
./mongo --port 27017 -u myUserAdmin -p abc123 --authenticationDatabase admin
code:
mongoc:connect( { single, "<IP_ADDRESS>:27017" }, [],
       [{database, <<"admin">>}, {login, <<"myUserAdmin">>}, {password, <<"abc123 ">>}] ).

but i want to update insert delete data with another database, so i use collection {<<"test">>, <<"device">>}
Do you have any good suggestions? thank you

I don't know when and if this feature will be implemented here. It actually was. But while you wait for an answer here, you can check https://github.com/alttagil/mongodb-erlang repository where this feature is implemented right now.

Yes, is it not supported in this driver due to changing api commands.

Are we gonna have this support back? it's really critical for us as well.

btw, the api commands change also breaks insert/update/delete/etc support for mongo 2.4 (probably < 3.0). Maybe passing all those operations to "command" in the api is not such a good idea? as alttagil's fork doesn't and both colldb() and 2.x support are working.

@comtihon would you please review the pr and merge. Thanks.

@henryj ok )


[feat] Use messagepack instead of json for rpc

Describe the problem
json is not friendly to transmitting byte arrays. So I want to use messagepack instead of json for front-end and back-end interaction
Describe the solution you'd like
Use messagepack instead of json for rpc
Alternatives considered
other data format(bson or proto)
Additional context
No response

Thank you for the request! I'll close this as a duplicate of https://github.com/tauri-apps/tauri/issues/7706.
Btw, you don't have to send json, you can send binary data as well (encoding/decoding the data yourself) https://v2.tauri.app/develop/calling-rust/#returning-array-buffers / https://v2.tauri.app/develop/calling-rust/#accessing-raw-request


Netconf acm path not getting updated

Hi
I have updated the path permission in ietf-netconf-acm after giving default deny all.
   <rule>
      <name>o-ran-usermgmt-permission</name>
      <module-name>o-ran-usermgmt</module-name>
      <path xmlns:u="urn:o-ran:user-mgmt:1.0">/u:users/u:user/u:name"</path>
      <access-operations>*</access-operations>
    </rule>

But I am not able to read info using get and get-config
Kindly do help
If I replace it with
   <name>o-ran-usermgmt-permission</name>
      <module-name>o-ran-usermgmt</module-name>
      <access-operations>*</access-operations>
      <action>permit</action>
    </rule>

I am able to use get and get-config correctly
Kindly help in telling what I did wrong at first

Hi @michalvasko
Can you help out

Hi @michalvasko
Can you help out

Hi Can anybody help?

Hi Can anybody help?

Sorry, GitHub has hidden the notification about this thread for me for some reason. So, I am not sure how did you manage to set the first config because action node is mandatory so any configuration without it should be refused.

Sorry, GitHub has hidden the notification about this thread for me for some reason. So, I am not sure how did you manage to set the first config because action node is mandatory so any configuration without it should be refused.

Hi @michalvasko ,
Sorry that was a typo from my part .. This is the correct configuration.

true
deny
deny
deny
false

sudo
root
Operator

nms
Observor

swm
Installer

sudo-access
sudo

permit-all

permit

nms-access
nms

o-ran-hardware-permission
o-ran-hardware
read exec
permit

ietf-hardware-permission
ietf-hardware
create read update delete exec
permit

iana-hardware-permission
iana-hardware
create read update delete exec
permit

o-ran-fm-permission
o-ran-fm
read exec
permit

o-ran-sync-permission
o-ran-sync
create read update delete
permit

o-ran-delay-management-permission
o-ran-delay-management
read
permit

o-ran-module-cap-permission
o-ran-module-cap
read
permit

o-ran-udp-echo-permission
o-ran-udp-echo
read
permit

o-ran-operations-permission
o-ran-operations
read
permit

o-ran-uplane-conf
o-ran-uplane-conf
create read update delete exec
permit

o-ran-lbm-permission
o-ran-lbm
create read update delete
permit

o-ran-software-management-permission
o-ran-software-management
create read update delete exec
permit

o-ran-file-management-permission
o-ran-file-management
exec
permit

o-ran-performance-management-permission
o-ran-performance-management
create read update delete exec
permit

o-ran-transceiver-permission
o-ran-transceiver
create read update delete exec
permit

o-ran-interfaces-permission
o-ran-interfaces
create read update delete exec
permit

ietf-ip-permission
ietf-ip
create read update delete
permit

ietf-interfaces-permission
ietf-interfaces
create read update delete
permit

iana-if-type-permission
iana-if-type
read
permit

ietf-inet-types-permission
ietf-inet-types
read
permit

o-ran-processing-elements-permission
o-ran-processing-elements
create read update delete
permit

o-ran-mplane-interfaces-permission
o-ran-mplane-interfaces
create read update delete
permit

o-ran-dhcp-permission
o-ran-dhcp
read
permit

o-ran-troubleshooting-permission
o-ran-troubleshooting
exec
permit

o-ran-trace-permission
o-ran-trace
exec
permit

ietf-netconf-acm-permission
ietf-netconf-acm
read
permit

ietf-yang-library-permission
ietf-yang-library
read
permit

ietf-netconf-monitoring-permission
ietf-netconf-monitoring
read
permit

fm-pm-access
fm-pm

ietf-hardware-permission
ietf-hardware
read exec
permit

iana-hardware-permission
iana-hardware
read exec
permit

o-ran-fm-permission
o-ran-fm
read exec
permit

o-ran-sync-permission
o-ran-sync
read
permit

o-ran-delay-management-permission
o-ran-delay-management
read
permit

o-ran-module-cap-permission
o-ran-module-cap
read
permit

o-ran-operations-permission
o-ran-operations
read
permit

o-ran-uplane-conf
o-ran-uplane-conf
read
permit

o-ran-lbm-permission
o-ran-lbm
read
permit

o-ran-software-management-permission
o-ran-software-management
read
permit

o-ran-file-management-permission
o-ran-file-management
exec
permit

o-ran-performance-management-permission
o-ran-performance-management
create read update delete exec
permit

o-ran-transceiver-permission
o-ran-transceiver
read
permit

o-ran-interfaces-permission
o-ran-interfaces
read
permit

ietf-ip-permission
ietf-ip
read
permit

ietf-interfaces-permission
ietf-interfaces
read
permit

iana-if-type-permission
iana-if-type
read
permit

ietf-inet-types-permission
ietf-inet-types
read
permit

o-ran-processing-elements-permission
o-ran-processing-elements
read
permit

o-ran-mplane-interfaces-permission
o-ran-mplane-interfaces
read
permit

o-ran-dhcp-permission
o-ran-dhcp
read
permit

o-ran-troubleshooting-permission
o-ran-troubleshooting
exec
permit

o-ran-trace-permission
o-ran-trace
exec
permit

ietf-netconf-acm-permission
ietf-netconf-acm
read
permit

ietf-yang-library-permission
ietf-yang-library
read
permit

ietf-netconf-monitoring-permission
ietf-netconf-monitoring
read
permit

swm-access
swm

o-ran-software-management-permission
o-ran-software-management
create read update delete exec
permit

iana-if-type-permission
iana-if-type
read
permit

ietf-inet-types-permission
ietf-inet-types
read
permit

ietf-netconf-acm-permission
ietf-netconf-acm
read
permit

ietf-yang-library-permission
ietf-yang-library
read
permit

ietf-netconf-monitoring-permission
ietf-netconf-monitoring
read
permit

ietf-netconf-permission
ietf-netconf
exec
permit

o-ran-usermgmt-permission
o-ran-usermgmt
/o-ran-usermgmt:users/o-ran-usermgmt:user/o-ran-usermgmt:name
*
permit

But I am not able to get username in swm group user. Can you please help me solve this issue?

Hi @michalvasko ,
Sorry that was a typo from my part .. This is the correct configuration.

true
deny
deny
deny
false

sudo
root
Operator

nms
Observor

swm
Installer

sudo-access
sudo

permit-all

permit

nms-access
nms

o-ran-hardware-permission
o-ran-hardware
read exec
permit

ietf-hardware-permission
ietf-hardware
create read update delete exec
permit

iana-hardware-permission
iana-hardware
create read update delete exec
permit

o-ran-fm-permission
o-ran-fm
read exec
permit

o-ran-sync-permission
o-ran-sync
create read update delete
permit

o-ran-delay-management-permission
o-ran-delay-management
read
permit

o-ran-module-cap-permission
o-ran-module-cap
read
permit

o-ran-udp-echo-permission
o-ran-udp-echo
read
permit

o-ran-operations-permission
o-ran-operations
read
permit

o-ran-uplane-conf
o-ran-uplane-conf
create read update delete exec
permit

o-ran-lbm-permission
o-ran-lbm
create read update delete
permit

o-ran-software-management-permission
o-ran-software-management
create read update delete exec
permit

o-ran-file-management-permission
o-ran-file-management
exec
permit

o-ran-performance-management-permission
o-ran-performance-management
create read update delete exec
permit

o-ran-transceiver-permission
o-ran-transceiver
create read update delete exec
permit

o-ran-interfaces-permission
o-ran-interfaces
create read update delete exec
permit

ietf-ip-permission
ietf-ip
create read update delete
permit

ietf-interfaces-permission
ietf-interfaces
create read update delete
permit

iana-if-type-permission
iana-if-type
read
permit

ietf-inet-types-permission
ietf-inet-types
read
permit

o-ran-processing-elements-permission
o-ran-processing-elements
create read update delete
permit

o-ran-mplane-interfaces-permission
o-ran-mplane-interfaces
create read update delete
permit

o-ran-dhcp-permission
o-ran-dhcp
read
permit

o-ran-troubleshooting-permission
o-ran-troubleshooting
exec
permit

o-ran-trace-permission
o-ran-trace
exec
permit

ietf-netconf-acm-permission
ietf-netconf-acm
read
permit

ietf-yang-library-permission
ietf-yang-library
read
permit

ietf-netconf-monitoring-permission
ietf-netconf-monitoring
read
permit

fm-pm-access
fm-pm

ietf-hardware-permission
ietf-hardware
read exec
permit

iana-hardware-permission
iana-hardware
read exec
permit

o-ran-fm-permission
o-ran-fm
read exec
permit

o-ran-sync-permission
o-ran-sync
read
permit

o-ran-delay-management-permission
o-ran-delay-management
read
permit

o-ran-module-cap-permission
o-ran-module-cap
read
permit

o-ran-operations-permission
o-ran-operations
read
permit

o-ran-uplane-conf
o-ran-uplane-conf
read
permit

o-ran-lbm-permission
o-ran-lbm
read
permit

o-ran-software-management-permission
o-ran-software-management
read
permit

o-ran-file-management-permission
o-ran-file-management
exec
permit

o-ran-performance-management-permission
o-ran-performance-management
create read update delete exec
permit

o-ran-transceiver-permission
o-ran-transceiver
read
permit

o-ran-interfaces-permission
o-ran-interfaces
read
permit

ietf-ip-permission
ietf-ip
read
permit

ietf-interfaces-permission
ietf-interfaces
read
permit

iana-if-type-permission
iana-if-type
read
permit

ietf-inet-types-permission
ietf-inet-types
read
permit

o-ran-processing-elements-permission
o-ran-processing-elements
read
permit

o-ran-mplane-interfaces-permission
o-ran-mplane-interfaces
read
permit

o-ran-dhcp-permission
o-ran-dhcp
read
permit

o-ran-troubleshooting-permission
o-ran-troubleshooting
exec
permit

o-ran-trace-permission
o-ran-trace
exec
permit

ietf-netconf-acm-permission
ietf-netconf-acm
read
permit

ietf-yang-library-permission
ietf-yang-library
read
permit

ietf-netconf-monitoring-permission
ietf-netconf-monitoring
read
permit

swm-access
swm

o-ran-software-management-permission
o-ran-software-management
create read update delete exec
permit

iana-if-type-permission
iana-if-type
read
permit

ietf-inet-types-permission
ietf-inet-types
read
permit

ietf-netconf-acm-permission
ietf-netconf-acm
read
permit

ietf-yang-library-permission
ietf-yang-library
read
permit

ietf-netconf-monitoring-permission
ietf-netconf-monitoring
read
permit

ietf-netconf-permission
ietf-netconf
exec
permit

o-ran-usermgmt-permission
o-ran-usermgmt
/o-ran-usermgmt:users/o-ran-usermgmt:user/o-ran-usermgmt:name
*
permit

But I am not able to get username in swm group user. Can you please help me solve this issue?

Hi Can anybody help?

Hi Can anybody help?

Hi @michalvasko
Can you help out

Hi @michalvasko
Can you help out

What netopeer2 version are you using? There are some bugfixes in NACM in the devel branch.

What netopeer2 version are you using? There are some bugfixes in NACM in the devel branch.

I am using latest netopeer2 from master

I am using latest netopeer2 from master

Well, yes, unless you encounter bugs, when you should switch to devel to get the most recent bugfixes. Note that in that case you also need devel of libyang, sysrepo, and libnetconf2.

Well, yes, unless you encounter bugs, when you should switch to devel to get the most recent bugfixes. Note that in that case you also need devel of libyang, sysrepo, and libnetconf2.

Hi @michalvasko  is this issue already fixed in the develop  branch?

Hi @michalvasko  is this issue already fixed in the develop  branch?

Yes, I do believe so. Even if not, I would try to fix it only if you have the problem on devel, otherwise I could not be sure it was not fixed.

Yes, I do believe so. Even if not, I would try to fix it only if you have the problem on devel, otherwise I could not be sure it was not fixed.

Hi @michalvasko

o-ran-usermgmt-permission
o-ran-usermgmt
/o-ran-usermgmt:users/o-ran-usermgmt:user/o-ran-usermgmt:name
*
permit

I have updated this configuration in develop and still it is not getting reflected. I have given default deny and am not able to get username. If I remove /o-ran-usermgmt:users/o-ran-usermgmt:user/o-ran-usermgmt:name then I am able to access everything. What I want to do is to permit everything other than password leaf. Can you help @michalvasko

Hi @michalvasko

o-ran-usermgmt-permission
o-ran-usermgmt
/o-ran-usermgmt:users/o-ran-usermgmt:user/o-ran-usermgmt:name
*
permit

I have updated this configuration in develop and still it is not getting reflected. I have given default deny and am not able to get username. If I remove /o-ran-usermgmt:users/o-ran-usermgmt:user/o-ran-usermgmt:name then I am able to access everything. What I want to do is to permit everything other than password leaf. Can you help @michalvasko

Okay, please pull netopeer2 and try again, I hope I have fixed it.

Okay, please pull netopeer2 and try again, I hope I have fixed it.

Hi @michalvasko,
I had tried this again ....
<rule>       <name>o-ran-usermgmt-permission</name>       <module-name>o-ran-usermgmt</module-name>       <path xmlns:o-ran-usermgmt="urn:o-ran:user-mgmt:1.0">/o-ran-usermgmt:users/o-ran-usermgmt:user/o-ran-usermgmt:name</path>       <access-operations>*</access-operations>       <action>permit</action>     </rule>
with latest commit and this time everything is getting displayed in usermanager. Actually I want only to see like this '

oranuser
PASSWORD
true

'
But here I am getting like this only
'

oranuser
PASSWORD
oranuser
true

'
Can you help out?? This is the latest develop branch

Hi @michalvasko,
I had tried this again ....
<rule>       <name>o-ran-usermgmt-permission</name>       <module-name>o-ran-usermgmt</module-name>       <path xmlns:o-ran-usermgmt="urn:o-ran:user-mgmt:1.0">/o-ran-usermgmt:users/o-ran-usermgmt:user/o-ran-usermgmt:name</path>       <access-operations>*</access-operations>       <action>permit</action>     </rule>
with latest commit and this time everything is getting displayed in usermanager. Actually I want only to see like this '

oranuser
PASSWORD
true

'
But here I am getting like this only
'

oranuser
PASSWORD
oranuser
true

'
Can you help out?? This is the latest develop branch

It works just fine for me.
Test module and data:
module test {
  namespace "urn:test";
  prefix t;

  container cont {
    list list1 {
      key "k";
      leaf k {
        type string;
      }

      leaf l1 {
        type string;
      }

      leaf l2 {
        type string;
      }

      leaf l3 {
        type string;
      }
    }
  }
}

<cont xmlns="urn:test">
  <list1>
    <k>k1</k>
    <l1>l1val1</l1>
    <l2>l2val1</l2>
    <l3>l3val1</l3>
  </list1>
  <list1>
    <k>k2</k>
    <l1>l1val2</l1>
    <l2>l2val2</l2>
    <l3>l3val2</l3>
  </list1>
</cont>

NACM config:
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
  <enable-nacm>true</enable-nacm>
  <read-default>deny</read-default>
  <write-default>deny</write-default>
  <exec-default>permit</exec-default>
  <enable-external-groups>false</enable-external-groups>
  <groups>
    <group>
      <name>testgroup</name>
      <user-name>vasko</user-name>
    </group>
  </groups>
  <rule-list>
    <name>testrules</name>
    <group>testgroup</group>
    <rule>
      <name>testrule1</name>
      <module-name>test</module-name>
      <path xmlns:t="urn:test">/t:cont/t:list1/t:l1</path>
      <access-operations>read</access-operations>
      <action>permit</action>
    </rule>
    <rule>
      <name>testrule2</name>
      <module-name>test</module-name>
      <path xmlns:t="urn:test">/t:cont/t:list1/t:l3</path>
      <access-operations>read</access-operations>
      <action>permit</action>
    </rule>
  </rule-list>
</nacm>

Connected to the server and logged as vasko, these are all the commands I tried:
> get-config --source running --filter-xpath /test:cont/list1
DATA
<cont xmlns="urn:test">
  <list1>
    <k>k1</k>
    <l1>l1val1</l1>
    <l3>l3val1</l3>
  </list1>
  <list1>
    <k>k2</k>
    <l1>l1val2</l1>
    <l3>l3val2</l3>
  </list1>
</cont>

> get-config --source running --filter-xpath /test:cont/list1/k
DATA

> get-config --source running --filter-xpath /test:cont/list1/l1
DATA
<cont xmlns="urn:test">
  <list1>
    <k>k1</k>
    <l1>l1val1</l1>
  </list1>
  <list1>
    <k>k2</k>
    <l1>l1val2</l1>
  </list1>
</cont>

> get-config --source running --filter-xpath /test:cont/list1/l3
DATA
<cont xmlns="urn:test">
  <list1>
    <k>k1</k>
    <l3>l3val1</l3>
  </list1>
  <list1>
    <k>k2</k>
    <l3>l3val2</l3>
  </list1>
</cont>

> get-config --source running --filter-xpath /test:cont/list1/l2
DATA

>

It works just fine for me.
Test module and data:
module test {
  namespace "urn:test";
  prefix t;

  container cont {
    list list1 {
      key "k";
      leaf k {
        type string;
      }

      leaf l1 {
        type string;
      }

      leaf l2 {
        type string;
      }

      leaf l3 {
        type string;
      }
    }
  }
}

<cont xmlns="urn:test">
  <list1>
    <k>k1</k>
    <l1>l1val1</l1>
    <l2>l2val1</l2>
    <l3>l3val1</l3>
  </list1>
  <list1>
    <k>k2</k>
    <l1>l1val2</l1>
    <l2>l2val2</l2>
    <l3>l3val2</l3>
  </list1>
</cont>

NACM config:
<nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
  <enable-nacm>true</enable-nacm>
  <read-default>deny</read-default>
  <write-default>deny</write-default>
  <exec-default>permit</exec-default>
  <enable-external-groups>false</enable-external-groups>
  <groups>
    <group>
      <name>testgroup</name>
      <user-name>vasko</user-name>
    </group>
  </groups>
  <rule-list>
    <name>testrules</name>
    <group>testgroup</group>
    <rule>
      <name>testrule1</name>
      <module-name>test</module-name>
      <path xmlns:t="urn:test">/t:cont/t:list1/t:l1</path>
      <access-operations>read</access-operations>
      <action>permit</action>
    </rule>
    <rule>
      <name>testrule2</name>
      <module-name>test</module-name>
      <path xmlns:t="urn:test">/t:cont/t:list1/t:l3</path>
      <access-operations>read</access-operations>
      <action>permit</action>
    </rule>
  </rule-list>
</nacm>

Connected to the server and logged as vasko, these are all the commands I tried:
> get-config --source running --filter-xpath /test:cont/list1
DATA
<cont xmlns="urn:test">
  <list1>
    <k>k1</k>
    <l1>l1val1</l1>
    <l3>l3val1</l3>
  </list1>
  <list1>
    <k>k2</k>
    <l1>l1val2</l1>
    <l3>l3val2</l3>
  </list1>
</cont>

> get-config --source running --filter-xpath /test:cont/list1/k
DATA

> get-config --source running --filter-xpath /test:cont/list1/l1
DATA
<cont xmlns="urn:test">
  <list1>
    <k>k1</k>
    <l1>l1val1</l1>
  </list1>
  <list1>
    <k>k2</k>
    <l1>l1val2</l1>
  </list1>
</cont>

> get-config --source running --filter-xpath /test:cont/list1/l3
DATA
<cont xmlns="urn:test">
  <list1>
    <k>k1</k>
    <l3>l3val1</l3>
  </list1>
  <list1>
    <k>k2</k>
    <l3>l3val2</l3>
  </list1>
</cont>

> get-config --source running --filter-xpath /test:cont/list1/l2
DATA

>

Hi @michalvasko , Yes when we login as a normal user I am able to get the correct configuration. For example if I create a user like "Vasco" or "User2" it works perfectly when I login as the Vasco or User2.
But when I login as root I am able to get everything. Kindly note that Vasco and root are put in the same group called sudo.

Hi @michalvasko , Yes when we login as a normal user I am able to get the correct configuration. For example if I create a user like "Vasco" or "User2" it works perfectly when I login as the Vasco or User2.
But when I login as root I am able to get everything. Kindly note that Vasco and root are put in the same group called sudo.

Then it works correctly, netopeer2 support recovery session which is by default UID 0, root. You can change it by setting the compile-time variable NACM_RECOVERY_UID.

Then it works correctly, netopeer2 support recovery session which is by default UID 0, root. You can change it by setting the compile-time variable NACM_RECOVERY_UID.

Hi @michalvasko ,
Thanks for your reply. One question is so in which netconf-acm  group should I place root in. Or is that not needed as root is recovery session

Hi @michalvasko ,
Thanks for your reply. One question is so in which netconf-acm  group should I place root in. Or is that not needed as root is recovery session

You should not place the recovery session user in any group, it will always be the recovery session no matter what is the NACM configuration.
Yes, there will be a new release today.

You should not place the recovery session user in any group, it will always be the recovery session no matter what is the NACM configuration.
Yes, there will be a new release today.

Hi @michalvasko ,
Great news. Will wait for the same then.

Hi @michalvasko ,
Great news. Will wait for the same then.


GridLength documentation doesn't make it clear what the default values are.

https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.GridLength

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

ID: f021912e-813f-dff3-ed06-0ebfc17dbfa5
Version Independent ID: a4ad2849-206a-28df-b2f8-e7b41f82993b
Content: GridLength Struct (Windows.UI.Xaml) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.xaml.gridlength.yml&version=GBlive&_a=contents
Service: unspecified
GitHub Login: @wdg-dev-content
Microsoft Alias: wdg-dev-content

It's standard in the API documentation to list a default value on the property where it's set, not with the value type. For example, ColumnDefinition.Width shows the default GridLength value for that property.

Thanks @jwmsft, I think the main issue I always face is this need to drill-in to the right spot from somewhere else.  If I'm looking for this type of info, I'm going to look at the ColumnDefinition docs first and look at the properties list:

That doesn't provide me any info about the default value. ☹
Therefore, since I'm already reading the description and it tells me it's a GridLength type, I end up there.  But now, I'm not going to think there's another page for ColumnDefinition.Width that will tell me what the default value is...
It'd be great if we could better consolidate some of the control documentation to make it easier to get the information developers need vs. having to train them to hunt for it in certain docs.  Looking up enum values from a property leads to a hunt like this sometimes too (especially if you need the numerical value for it, if it's even in the docs).


Ver d10.2.3

With D10.2.3 demos\Delphi_VCL\WindowlessBrowser
in unit uWindowlessBrowser;
line 377   TempPoint.x := round((TempValue as TJSONObject).Get('x').JSONValue.AsType * TempScale);
AsType Error
lines 377 to line 380
[dcc32 Error] uWindowlessBrowser.pas(377): E2003 Undeclared identifier: 'AsType'
[dcc32 Error] uWindowlessBrowser.pas(377): E2029 '(' expected but '>' found
[dcc32 Error] uWindowlessBrowser.pas(377): E2014 Statement expected, but expression of type 'Single' found
[dcc32 Fatal Error] WindowlessBrowser.dpr(5): F2063 Could not compile used unit 'uWindowlessBrowser.pas'
Failed

TJSONValue.AsType was added in Delphi 10.3 Rio
I just uploaded a workaround to build the demo in older Delphi versions.
Please, download WebView4Delphi from GitHub again.

Thanks

It is not your problem
i WORK WITH WINDOWS 7

The composition controller API requires Windows 10 or Windows Server 2016. Closing.


Execute middlewares before executing endpoint's method

I feel it would be awesome if we could execute a middleware before entering a specific endpoint method in a controller. I know there are work around this, but this should be easily available.
e.g. something of this fashion:
app.post('/user', [ validate_some_stuffs(...) ], (req, res) => {  // validation middle-ware executes first

});

That would be a awesome feature 👍
Any idea on how we could structure these middleware? I am open for ideas 😀

Having thought about this, I feel for backward compatibility, we could check:

If the value of 'GET /user:id' which is ('UserController.get') is of type String, take the value as the controller and method
i.e.   'GET /user:id': 'UserController.get'

Else use the new method we want to adopt below:

Note each middleware would receive both the request, response object and optionally a next callback

const routes = {
  'POST /user': 'UserController.create', // this old style still supported

  'GET /user:id': {
    path: 'UserController.get',
    middlewares: [
      // An array of middle wares could be specified
      // without the open & closing brackets i.e. ()

      // e.g.
      //
      // checkIfAuthenticated   ----> correct
      // checkIfAuthenticated() ----> wrong

      // The later is wrong because the middle-ware would be triggered
      // on `const routes` initialization, instead of before the controller
      // method execution and would prevent the middleware from accessing the
      // `request` and `response` params that could be passed.
      //
    ]
  },
};

export default routes;

Middle-wares would be executed in descending order for simplicity.
Final example
const routes = {
  'GET /user:id': {
    path: 'UserController.get',
    middlewares: [
         checkIfAutheticated,
         verifyFacebookAuth,  // this would come in handy for passport authentication
    ],

  'POST /user': 'UserController.create'
  },
};

Please feel free to correct me were I might be wrong...

Hey @TNkemdilim,
this sounds great. Send a PR and we can see if there is something we can improve...

Gotcha!!!

Sorry, should send in a PR shortly,  as I've been quite busy.

@TNkemdilim is there any update on this issue? I really like the idea of executing middleware before a specific route.

Hi! I have this code:
app.use('/public', mapRoutes(config.publicRoutes, './controllers/'));
app.use('/private', config.verifyToken, mapRoutes(config.privateRoutes, './controllers/'));

but I can't get access to req.params in config.verifyToken function, the params not exist before mapRoutes, any idea how I can evaluate path params like /users/:ID?

I'm currently working on a PR for this; I'll see if I can wrap up, and submit for review immediately.

I just added the feature; it's awaiting review. @aichbauer and @joneldiablo

@TNkemdilim I will review it, during this week or next week. Thank you for your contribution 👍

hi @TNkemdilim @aichbauer yesterday I did a pull request to the TNkemdilim fork, to use a middleware for all routes

@joneldiablo so we can't use it yet :/ waiting...

@saxahan you can use the @TNkemdilim fork XD or wait for @aichbauer accept the pr

Just made necessary updates to the PR...


Performance Testing - Corp Console - Add/Edit/Delete Approval Criteria throws 504 (Gateway Time Out) error for some requests.

During performance testing for Corporate Console - Add/Edit/Delete Approval Criteria APIs, its been observed that it throws 504 (Gateway Time Out) error for some requests.
Scenario tested: Virtual Users = 20 Users | Ramp-up = 60 Sec
Please find attached the Executive Summary Report: https://app.zenhub.com/files/194341141/4fdc5f7e-6a2f-403d-9ad2-54ad04886bd3/download
For additional details please check https://confluence.linuxfoundation.org/pages/viewpage.action?pageId=54437859

Test Data:
Project Group Name: AshaLoadTestFoundation2021
Child project for CLA Group: AshaLoadTest-Child1

Closing issue - performance testing is complete.


Span issue

Affected Resource(s)

coralogix_dashboard

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
definition = {
                  line_chart = {
                    query_definitions = [
                      {
                        query = {
                          spans = {
                            aggregations = [
                              {
                                type             = "dimension"
                                field            = "trace_id"
                                aggregation_type = "unique_count"
                              }
                            ]
                            filters = [
                              {
                                field = {
                                  type  = "metadata"
                                  value = "operation_name"
                                }
                                operator = {
                                  type            = "equals"
                                  selected_values = ["device_status_update"]
                                }
                              },
                              {
                                field = {
                                  type  = "tag"
                                  value = "deviceStatus"
                                }
                                operator = {
                                  type            = "equals"
                                  selected_values = ["CANDYBOX_OFFLINE"]
                                }
                              }
                            ]
                            group_by = [
                              {
                                type  = "tag"
                                value = "deviceName"
                              }
                            ]
                          }
                        }
                        color_scheme = "classic"
                        is_visible   = true
                        scale_type   = "linear"
                      },
                    ]
                    legend = {
                      is_visible     = true
                      group_by_query = true
                      placement      = "auto"
                    },
                    tooltip = {
                      show_labels = false
                      type        = "all"
                    }
                  }
                }

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp

Debug Output

https://gist.github.com/hmateusz/9d98d16ce9421ec0d76e1ebff7cac635
Panic Output

Expected Behavior

Terraform should destroy the resource and create it again
Actual Behavior

An error appeared even if we don't have the widget in our code
Steps to Reproduce

terraform plan

Important Factoids

We're using Terraform version 1.9 and coralogix provider 1.18.2
References

#0000

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Hi, we have been working on a better way of updating the underlying API for dashboards which should come out soon ™  (January). I'll ask to see if the bug is fixed then 😅


what is the performance of trained model

Hi,
Thanks for the amazing work on the implementation. I am wondering if it is possible to share some performance numbers of the trained model? Thanks!

Same question here. I trained it with the default parameters and all training data (evaluation method https://github.com/smallcorgi/3D-Deepbox/tree/master/kitti_eval):
number of files for evaluation: 7481
  done.
save /home/hleon/Documents/VoxelNet-tensorflow/data/results/data/plot/car_detection.txt
car_detection AP: 26.815498 29.592041 28.789532
save /home/hleon/Documents/VoxelNet-tensorflow/data/results/data/plot/car_orientation.txt
car_orientation AP: 11.783903 12.759486 12.466972
save /home/hleon/Documents/VoxelNet-tensorflow/data/results/data/plot/car_detection_ground.txt
car_detection_ground AP: 63.132660 70.432945 69.036919
Eval 3D bounding boxes
save /home/hleon/Documents/VoxelNet-tensorflow/data/results/data/plot/car_detection_3d.txt
car_detection_3d AP: 45.327732 46.881519 47.241013

This is tested against all training data of 3D kitti dataset.


Temporarily freeze kornia at 0.4.0 to prevent breaking change

kornia 0.4.1 released recently and it includes a breaking change to get_rotation_matrix2d
I've opened an Issue to hopefully address this soon: https://github.com/kornia/kornia/issues/742 but in the meantime, I suggest freezing kornia at 0.4.0 so that the random_rotate transform continues working as before

@ivanzvonkov thanks for this!

Very nice library guys and super well documented - we are very happy to see Kornia in here :)
Regarding the current issue - why not passing scale = torch.ones(b, 2) ?
https://github.com/greentfrapp/lucent/blob/master/lucent/optvis/transform.py#L71
An alternative is to use kornia.rotate which doesn't take into account the scale as input.
Besides, I detected few other functionalities in your code that could be used directly with kornia. Let me list them:

kornia.deg2rad https://github.com/greentfrapp/lucent/blob/master/lucent/optvis/transform.py#L69
kornia.tensor_to_image https://github.com/greentfrapp/lucent/blob/master/lucent/optvis/render.py#L132
kornia.normalize https://github.com/greentfrapp/lucent/blob/master/lucent/optvis/transform.py#L106

Last, what's the intuition or if you have any reference for _linear_decorrelate_color ?
I believe with a proper API design would be great to have it in kornia.


need SpeechRecognition input node

should look like the speech synthesis node, but as an input
can use window.webkitSpeechRecognition API if available.

Is this an addon espeak already in existence or a separate node?

Quick Rundown

Color #ffb6c1
Input wires: 1, Output Wires: 1
Takes speech on request and interprets it delivering as an object/string.
Has option for always on, or inject allowing to interpret a command?

Correct?

nope, no input wire, just an output wire.  this should behave similar to the gamepad node.  It creates new messages

Okay, cool, so ditch the on tap-to-talk method?

yeah.  Might eventually want a toggle to turn it off, but start off simple.
On Fri, Mar 25, 2016 at 10:35 AM, Sam Clark<EMAIL_ADDRESS>wrote:

Okay, cool, so ditch the on tap-to-talk method?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/monteslu/pagenodes/issues/40#issuecomment-201380803

Resolved in #41


openobserve: 0.9.1 -> 0.10.1

Description of changes

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thank you !

Apologies, I'm a bit new to this. Where do I go to see the ofborg failure? I'm assuming I can skip the test in checkFlags?
Some things I tried:

Looking in the PR's checks - all green
Googling for "nixpkgs ofborg", then clicking the ofborg GitHub page's website link - a dead Grafana page
Reading about how to run the tests locally and deciding I might be in for a long wait!

@camelpunch you can see failure here

https://logs.ofborg.org/?key=nixos/nixpkgs.306393&attempt_id=fc581ad6-5e47-4bf5-a2b0-a0f84cb22597
I've tried locally and test pass for me, so maybe its a flaky test.
trying again @GrahamcOfBorg build openobserve

If its a flaky test and build is broken currently, lets just merge then.
This is pre 1.0 software anyways. If we learn something doesnt work well we can add a fix for it in the mext release. The next release is out anyways.
Its more valuable to just get feedback on the release i think.

@happysalada failed in ofborg second time, i guess we can just disable that test

@happysalada I've pushed what I think is the correct test disable flag.

This is pre 1.0 software anyways

It's not a safe assumption that we can treat "pre 1.0" software any different to anything else - there are hundreds of packages which are heavily depended upon that are "pre 1.0".

Right, this package is relatively new though, and there is no module for it yet.
Ill definitely take your point of trying to keep things stable for it though !


Add extra potato growing detail

Didn't know that I had to wait for the potatos to grow. Added some extra detail

@Zoinkwiz for review


(HTTP code 500) server error - {"message":"Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:43308-><IP_ADDRESS>:53: i/o timeout"}

Expected behavior
Image download (docker pull)
Actual behavior
code 500 -  server timeout
Information about the Issue
when i try to do docker pull image it gives me server timeout and it also happens in kitematic. after i installed docker and stuff i did docker run ubuntu and it actually downloaded the ubuntu image since it wasnt found in my local machine.
Steps to reproduce the behavior

Have windows 10 HOME
Install Docker Toolbox
run: docker pull image
ps- i'm using MINGW64 the console when u run docker quickstart, but it also happens in powershell

somehow it seems to loose network configuration, i restart pc then when running docker quickstart terminal it gave me a new network ip setup and everything went fine

Please make sure that you're on a stable connection and use a solid DNS such as Google DNS.


Speed up tests execution

Override endpoints in some tests where it tried to send requests to the endpoints in the internet
Now tests work in offline

This PR is mostly to make life a bit easier for those who develop and run tests in this project.
Now it is possible to run tests offline, for me as a maintainer it was very important as I work on this project on my way to work with a bad network coverage.
Some tests do not try to send requests to hosts that do not exist anymore.
Some tests relied on error response from real hostnames.
On my machine runtime was ~3 minutes before changes, now ~5 seconds.


Code Refactor of IssueWatch related things

taken from #9535

Codecov Report

Merging #10401 into master will decrease coverage by <.01%.
The diff coverage is 67.64%.

@@            Coverage Diff             @@
##           master   #10401      +/-   ##
==========================================
- Coverage   43.74%   43.73%   -0.01%
==========================================
  Files         586      586
  Lines       81113    81112       -1
==========================================
- Hits        35481    35473       -8
- Misses      41243    41249       +6
- Partials     4389     4390       +1

Impacted Files
Coverage Δ

models/repo_watch.go
65.55% <100%> (+0.33%)
:arrow_up:

models/issue_watch.go
63.29% <100%> (-0.46%)
:arrow_down:

models/notification.go
65.46% <59.25%> (+0.27%)
:arrow_up:

services/pull/check.go
32.92% <0%> (-3.05%)
:arrow_down:

modules/git/command.go
86.95% <0%> (-2.61%)
:arrow_down:

models/unit.go
37.03% <0%> (-2.47%)
:arrow_down:

services/pull/pull.go
32.43% <0%> (-1.51%)
:arrow_down:

modules/queue/workerpool.go
56.93% <0%> (-1.07%)
:arrow_down:

modules/log/event.go
64.61% <0%> (-1.03%)
:arrow_down:

modules/git/repo.go
47.7% <0%> (+0.91%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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

@lunny -> https://github.com/go-gitea/gitea/pull/10401#discussion_r382928559

@guillep2k if it is a good idear or not ... this pull is still an impruvement in the right direction

@guillep2k it all started with #4201

I think that the CI fail is related. I restarted the tests a couple of times and it was always blocked in models.createOrUpdateIssueNotifications (among others). Maybe there's a e.Close() missing?

createOrUpdateIssueNotifications

@guillep2k no a Close() is here - the failure looks unrelated to me for example It already passed several times:

https://drone.gitea.io/go-gitea/gitea/21724
https://drone.gitea.io/go-gitea/gitea/21792

so its weared that if failed after adding your code sugestion (witch only add a space)

make test-mysql Passed (with #10446 and beside https://hastebin.com/kemixeponi.log) on my local pc

@lunny found the bug https://github.com/go-gitea/gitea/pull/10401/commits/19e34ffe3f5fcb35f89991b69840ccae97257bc9 do you have time to look at it again?

ready to :rocket:

Ping lgtm bot


asdict() method is not recursive

Summary
vmngclient\utils\creation_tools.py  has asdict method, which converts object into dict using FIELD_NAME.
But when we have nested dataclasses/models that are serialized to dict (in order to put them in json load), these nested dataclasses are not converted using FIELD_NAME.
Example:
TenantRadiusServer dataclass has list of servers in field server: List[RadiusServer], and when we put these in method:
    @status_ok
    def add_radius(self, radius_server: TenantRadiusServer):
        ...
        data = asdict(radius_server)  # type: ignore
        return self.session.post(url=self.url_path, json=data)

It will not be accepted by vmanage.
Logs and external information
No response
Reproduction script
Use method:
    @status_ok
    def add_radius(self, radius_server: TenantRadiusServer):
        ...
        data = asdict(radius_server)  # type: ignore
        return self.session.post(url=self.url_path, json=data)

from vmngclient/api/mtt_aaa_api.py
On what platform(s) does it occur?
Not Applicable
Issue Severity
Medium: There is a workaround

Also Personality and Reachable Enum is not JSON serializable.


Get The Secret Key of the grandted client address Lost.

In the process of forced upgrade  lotus1.6, (we have dozens of wallet addresses, only the part with assets were backed up)
We did not back up this wallet key which was granted datacaps.(forget the secret key)(f3xcu5ykb4cfoeyhvgy57outenx4njndazzgakcoebjiuvxrpwpl3bpv7wzfbvplgdq3w4mn5ke6ek2zuzpiea),
(Granted link )

How to destroy this address's datacaps.(We've made sure we can't retrieve the address)
How to assigned to a new address. (Or reapply)

@LandsatFile20 - we should continue this discussion here: https://github.com/filecoin-project/notary-governance/issues/119. Closing this issue out for now.


[Might be a bug] raw.add_channels

If I have a dateset with only bipolar references, and then I try to append new channels to a raw dataset I get this error:
RuntimeError: Don't know how to merge 'custom_ref_applied'. Make sure values are compatible, got types:
    [<class 'bool'>, <class 'bool'>]

If I append the channels before making the bipolar references everything is ok, therefore I did not investigate further what was happening in this case :see_no_evil:.

same as #3183


Create C4BB initial files for testing

Description
Create test files to load search parameters and profiles for C4BB and create resources to test
Related issues
N/A
Testing
Manual & touchstone
FHIR Team Checklist

[X] Update the title of the PR to be succinct and less than 50 characters
[X] Add a milestone to the PR for the sprint that it is merged (i.e. add S47)
[X] Tag the PR with the type of update: Bug, Dependencies, Enhancement, or New-Feature
[X] Tag the PR with Azure API for FHIR if this will release to the managed service
Review squash-merge requirements

Semver Change (docs)
Skip

@Ivanidzo4ka - Third times the charm? :)

/azp

/azp run

/azp

/azp run

/azp run


[DOCS] Outputs class

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

sort import based on isort
use sphinx feature than list class member manually
use type hint instead text for uniformed type description
example code on some class function
move comment about json_lines to to_json function
comment out html_static_path to remove warning
sphinx_autodoc_typehints

To view the result of this pr, #75  have to merged first
Fixes #63
Type of change
Please delete options that are not relevant.

[x] This change requires a documentation update

Checklist:

[x] I have read the contribution guidelines and followed it as far as possible.
[x] I have performed a self-review of my own code (if applicable)
[x] I have commented my code, particularly in hard-to-understand areas (if applicable)
[x] I have made corresponding changes to the documentation (if applicable)
[x] My changes generate no new warnings
[x] Any dependent and pending changes have been merged and published

Can you figure out why the tests are failing? The outputs returned have more entries than expected.

because i declare list as member of class https://stackoverflow.com/questions/9751554/list-as-a-member-of-a-python-class-why-is-its-contents-being-shared-across-all
because of that i have to move Outputs.histories, Outputs.bookmarks and Outputs.field_map  back to __init__

I noticed one thing in the generated document.

The types for histories and bookmarks show up as HistoryVar and BookmarkVar respectively but there is no indication of what those mean.
Is there a way to fix this?

Codecov Report

Merging #77 into feature-bookmarks will increase coverage by 1.52%.
The diff coverage is 100.00%.

@@                  Coverage Diff                  @@
##           feature-bookmarks      #77      +/-   ##
=====================================================
+ Coverage              56.29%   57.82%   +1.52%
=====================================================
  Files                      3        3
  Lines                    286      294       +8
  Branches                  45       44       -1
=====================================================
+ Hits                     161      170       +9
  Misses                   116      116
+ Partials                   9        8       -1

Flag
Coverage Δ

#unittests
57.82% <100.00%> (+1.52%)
:arrow_up:

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

Impacted Files
Coverage Δ

browser_history/generic.py
62.06% <100.00%> (+2.94%)
:arrow_up:

Continue to review full report at Codecov.

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

The types for histories and bookmarks show up as HistoryVar and BookmarkVar respectively but there is no indication of what those mean.
Is there a way to fix this?

https://github.com/pesos/browser-history/pull/77/commits/bfd46f21c39417b99c9bfb288ae2c798710d844e is my current solution for this
downside to this is both Outputs.histories and Outputs.bookmarks type hint have to be synced to HistoryVar and BookmarkVar
fortunately other function which don't use HistoryVar and BookmarkVar directly will not be affected
there is another solution which use autodoc_type_aliases https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_type_aliases
with that config Outputs.histories, Outputs.bookmarks and other future code that use those type hint will use alias defined in config
downside of this solution are HistoryVar and BookmarkVar have to be synced with docs/conf.py

Okay, that is a good enough workaround.
I suppose, to truly fix it, we need to make History and Bookmarks into classes (or dataclasses).

I suppose, to truly fix it, we need to make History and Bookmarks into classes (or dataclasses).

it could be but at current state it is not worth it

i can't find requested changes which haven't been resolved so i re-request the review

Could you rebase and squash some of the commits? 11 commits seems a little too high :sweat_smile:

^ Rebased on feature-bookmarks and fixed an issue.
(If you prefer to rebase yourself, you can force push it yourself but keep in mind the fix I just added)

Just to confirm - you don't want to rebase this yourself, right?

yes, i'm ok with the rebase you have done

e: and sorry i forget to rebase after squashing the commits

That's ok, the commits were done after your squash

Thank you for contributing!


Does not work with Numpy 1.7

I get an error resulting from a change to how numpy.take operates. It looks like the older version requires a tuple to be passed as the indices, whereas newer versions (tested with version 1.12.1) do not. This causes operations like line and scatter to fail.
I haven't submitted a PR as there are two potential solutions (not sure which is preferred):

Change how numpy.take (in particular X.take(...)) is being called.
Set a required version number in install_requires for setup.py.

Hi @abeschneider ,
Thanks for your message! Option 1 sounds fine to me -- as long as it doesn't break compatibility. Feel free to submit a PR!
A


Undo/Redo stack cleared on save when the file is changed before save

Hi,
I used the Undo feature to go back into a stage that I desire to check something in my code. I went back something like 50 times. I checked watherever I was looking for and then I was ready to go back to the last stage by using Ctrl+Y. Unfortunatelly, the Redo feature only worked something like 20 times, and I lost some code.
Did anyone have the same issue?
P.S.: Hope this is the right place to post about it...

Yeah this is a fine place to post this. Can you reproduce this reliably? If so, could you post some exact steps?

I think I know exactly what I did, and probably the cause of ma issue. So, the steps are:

Opened a new file and saved it (foo.txt)
Performed 100 actions (just type 'a' in 100 diferent lines)
Ctrl+Z 50 times
Ctrl+S (to save, and in my case test the changes in the file)
Try to Ctrl+Y

In the step 5 I got three situations:

The Ctrl+Y works perfectly
The Ctrl+Y didnt work at all
The Ctrl+Y worked a few times

One of the times I have saved the file I realized that a new line was added to it before saving. This was when the Redo didnt work at all.

This might be because the whitespace core package inserts a newline before saving, clearing the redo stack. I am blaming the whitespace package specifically because you mention new lines in the end of the file. Any package that changes the file before saving would cause this. There is a relevant discussion here: https://github.com/atom/whitespace/issues/101
As for ctrl-y only working a few times this might be because in the middle of undoing you save the file clearing the redo stack up to that point and then undo some more filling up the redo stack again.

I'm going to follow up with the team on this. That the redo state is cleared when the file is changed is intentional and we may not pursue fixing this in the near term.

@lee-dohm https://github.com/atom/atom/issues/7572 mentions redo not working after saving and might be a duplicate.
And https://github.com/atom/atom/issues/7917 is an existing relevant (but maybe not duplicte) enhancement issue discussing vim like branch undo.

anyone else still having this problem? My redo history automatically clears upon saving the file.

@dpetraz same for me. Stumbled upon this issue when searching for a fix. @lee-dohm any updates?

@RoosDaniel No, there aren't any updates. This issue was closed months ago. I also just tested it and can't reproduce the problem. If you're running into a reproducible bug, please open a new issue with detailed steps to reproduce the problem and completely fill out the template.