Remove duplicate copy of config buffer

From https://github.com/danecreekphotography/MobiFlight-FirmwareSource/pull/13#issuecomment-921924372.
Currently a copy of the config buffer is made because strtok_r replaces the delimiter in the original string with a null character. @elral has a proposed solution that will remove this duplicate buffer copy.

The idea is only to keep the config once, process this config (replacing the delimiter with NULL) so that all pointers from the devices get there information and do not keep a copy with the original config. This duplicate config is "only" needed if the connectors requires the config vai void OnGetConfig(). Instead of sending the duplicate buffer this function now sends directly the content from the EEPROM byte wise. But this would mean also that the CMDMessenger has to be extended by a function where bytes can be send w/o field separator. In my fork I have this already added, and the changes required for MF I will propose soon.

I have to branches with slightly different changes. Both have advantages and disadvantages to discuss. Should I for both make a pull request?
And it would be really good if some one could also test these changes.

Open two pull requests, the build system will automatically produce the firmware and attach it as a comment to the PR so it's easy to download and test.


Documentation of variable length submessage limits [7413]

Describes how to limit the size of variable length submessages: Partition, Userdata and Properties
DO NOT MERGE UNTIL THE CODE IS MERGED TOO

Build status:

Build status:

Build status:


Publish v0.4.10

Can you please publish 0.4.10 to npm as you updated the repo but never published the version.

Ping @chentsulin

Totally forgot it.... already published v0.4.10, thanks!


Update CONTRIBUTING.md

update CLA URL

thanks. URL will change again once we modernize the CLA process... going through approvals on this now.


Predefined system policy changed for CBR

Predefined system policy changed for CBR service and
CBR documentation is linked to https://docs.otc.t-systems.com/additional/permissions.html.
Old names were changed in OTCPR-4452
and now names are following

@lbelejka , @zokabai can you have a look?

Bug ticket has been created and reassigned to responsible person for that service
https://jira.tsi-dev.otc-service.com/browse/OTCSEC-4637

CBR system policy changes have been merged into gitea - The pull request has been merged as 254ba5a6c7.

CBR system policy changes have been merged into gitea - The pull request has been merged as 254ba5a6c7.

CBR system policy changes have been merged into gitea - The pull request has been merged as 254ba5a6c7.


Added new duplicated_test_run cop

Added new duplicated_test_run cop
If a Minitest class inherits from another class, it will also inherit its methods causing Minitest to run the parent's tests methods twice.
This PR detects when there are two tests classes, one inherits from the other, and both have tests methods. MinitestRubocop will add an offence to the Child class in such a case.
For example:
class B < Minitest::Test
  test "test 1" do
      #....
  end

  class A < B
    test "test 2" do
        #....
    end
  end
end

It will run test_1 twice!
I came across a few PRs/pieces of code using subclassing. I wrote a Gem that detects duplicated test run during Runtime and a Post with more details.

This cop has some limitations:

It only works if both classes are on the same file.
Using describes also has the same problem, and the cop doesn't detect it (yet ;)).

More information in this post.

Nice! Can you squash your commits into one?

Thanks!


Feature : Slip arg in CategoryRelations

Codecov Report
Base: 59.56% // Head: 59.56% // No change to project coverage :thumbsup:

Coverage data is based on head (9ebc940) compared to base (aefb325).
 Consider uploading reports for the commit e5fdc43 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #674   +/-   ##
========================================
  Coverage    59.56%   59.56%
========================================
  Files           29       29
  Lines         3114     3114
========================================
  Hits          1855     1855
  Misses        1259     1259

Impacted Files
Coverage Δ

macrosynergy/panel/category_relations.py
34.43% <ø> (ø)

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

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


This message didn't complete its response.

Describe the bug
not completing   npm install command and preview not showing , I thought of internet issue same I use chrome its working well but in safari I am facing issue , files loading stops in middle not completely loading means typing by ai assist.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-cfm6cy
Steps to reproduce
same normal activity to build an app
Expected behavior
should work properly and if we have extra tokens to works we may find extra bugs after we try multiple times to complete the uncompleted task same task we are running out of the token and not able to tackle the issue

Screen Recording / Screenshot
No response
Platform
Browser name = Safari
Full version = 18.0.1
Major version = 18
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.0.1 Safari/605.1.15
performance.memory = undefined
Username = indra399
Chat ID = e2c3f8f0b63b

Additional context
No response


Enable custom question answering in speech lab needs update

Lab/Demo:12QnA maker
Task: 00
Step: 00
Description of issue

New step needs to be added here. During -Create a question answering project- it will bring you to the portal to create an additional resource

@Theelepel under Create a Language resource, step 3, you are asked to enable custom question answering. Could it be you skipped this and that's why you are prompted later?


Step 4a: Generate Code Models

Generate enumerations, structs and classes needed by the SDK using the code model and Stencil templating language.

Done.


spatial editor plugin bug fix

fix for crash when snapping a node to ground that has no
collision shape assigned

Closing in favor of https://github.com/godotengine/godot/issues/44231, as https://github.com/godotengine/godot/issues/44231 is likely trivial to cherry-pick to the 3.2 branch.


⚠ SceneTime has degraded performance

In af6bb4f, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1419 ms

Resolved: SceneTime performance has improved in 0ade45f after 8 minutes.


Installation error

Hello
Just trying to get SIFT forensics running on my clean Ubuntu installation and got this error. Looks like the key isn't available anymore.
Thanks for taking a look at this.
ERROR AS FOLLOWS:
Installing and configuring SaltStack properly ...
(node:6251) UnhandledPromiseRejectionWarning: Error: Command failed: wget -O - https://repo.saltstack.com/apt/ubuntu/null/amd64/2018.3/SALTSTACK-GPG-KEY.pub | apt-key add -
--2020-01-03 10:06:57--  https://repo.saltstack.com/apt/ubuntu/null/amd64/2018.3/SALTSTACK-GPG-KEY.pub
Resolving repo.saltstack.com (repo.saltstack.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to repo.saltstack.com (repo.saltstack.com)|<IP_ADDRESS>|:443... connected.
Warning: apt-key output should not be parsed (stdout is not a terminal)
HTTP request sent, awaiting response... 404 Not Found
2020-01-03 10:06:58 ERROR 404: Not Found.
gpg: no valid OpenPGP data found.
at ChildProcess.exithandler (child_process.js:304:12)
at ChildProcess.emit (events.js:196:13)
at maybeClose (internal/child_process.js:1011:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:5)

(node:6251) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:6251) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

What version of Ubuntu?

What version of Ubuntu?

It's Ubuntu 19.10.

18.04 is the only supported version right now.

18.04 is the only supported version right now.

Thank you. I downgraded it and it is working atm.

I’ll update the tool to better tell what is and isn’t supported. Glad it’s working for you now. The next  major iteration to be supported will be 20.04.


Features/cu 86drqw2d2 get coinsidmarket chart get historical market data include price market cap and 24h volume granularity auto

PR changes adding test and changes in the code for retrieving Market cap by coin id and cpncurrency and days

Task linked: CU-86drqw2d2 GET /coins/{id}/market_chart Get historical market data include price, market cap, and 24h volume (granularity auto)


Show machine group name instead of number

Resolves issue #1008

Would be great to see the groups in the various computer listings.


Code needs to be updated with latest node version.

While deploying this solution, i am getting below error which is due to older version of node.
Received response status [FAILED] from custom resource. Message returned: Error: Cannot find module 'aws-sdk' Require stack: - /var/task/index.js - /var/task/entrypoint.js - /var/runtime/index.mjs at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15) at Module._load (node:internal/modules/cjs/loader:985:27) at Module.require (node:internal/modules/cjs/loader:1235:19) at require (node:internal/modules/helpers:176:18) at Object. (/var/task/index.js:1:117) at Module._compile (node:internal/modules/cjs/loader:1376:14) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10) at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12) at Module.require (node:internal/modules/cjs/loader:1235:19) (RequestId: 6f01d6bb-461a-4bad-840a-27e95dab7f5e)
Please update your code to overcome this issue.

@begimher Could you please confirm if this setup was able to fetch all the config changes reported for that day or only 26 config changes in csv.

ALso received this error when trying to deploy with cdk: "The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs18.x) while creating or updating functions. (Service: Lambda, Status Code: 400). Seems like a simple fix.


Pushing to Docker Hub with docker config creds

I tried various combinations in the --registry-config to pass in creds for pushing to Docker hub without any success. All attempts failed.
Could you provide instructions on how I could use Docker hub with makisu?
I'm sure this isn't really a bug but I wasn't able to join the Slack workspace linked from the README as it only allows users with uber.com emails.

I think this issue should have been fixed by #178


Interface that describes Hub

Having an interface that represents a Hub would allow for the developers to mock the Hub when testing.
Is there any other way to mock it?

I'm hesitant to add interface definitions for testing purposes. It seems like it would be better for application consuming the library to create its own abstraction and mock that abstraction.
I don't think I can layout the position better than @vcabbage has here.
With that said, I do like what is going on in https://github.com/google/go-cloud/blob/master/pubsub/driver/driver.go. I think that could be the abstraction layer to solve this problem.

We kind of have the Sender interface in the current lib. However it is lacking the Close() method to be able to represent the Hub.

I'm going to close this issue for the reasons I pointed out above. However, I do believe the testing / mocking of this library for easier use in development should be easier. I'm open to ideas.


On July 10, 2024, after updating the plugin, the copy node, paste error occurred

On July 10, 2024, after updating the plugin, the copy node, paste error occurred. It is pasted to another node. What is the problem?

Hmm. I have no idea why that is happening, seems to have something to do with the new layout system for the beta bar. I just made a change to be more backwards compatible with the old, non-beta, layout, which seems to have fixed this as well.


fixes path to static files in subdomains

Pull Request Test Coverage Report for Build 475

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

Totals

Change from base Build 474:
0.0%

Covered Lines:
504

Relevant Lines:
585

💛  - Coveralls

👍


[opentelemetry-exporter]: provide an option for max attribute value (currently it's hardcoded to 128 bytes)

Currently opentelemetry-exporter has a limit of 128 bytes for span's attribute value: https://github.com/open-telemetry/opentelemetry-js/blob/4627892c4a77a942cfd34aa804bc2cf8e2d038ef/packages/opentelemetry-exporter-collector/src/transform.ts#L23
We have a use case where we need it to be bigger (we use our own exporter on the backend that sends all the data to Kinesis for further processing, so bigger values are not an issue for us).
I suggest to provide an optional config property called maxAttributeSize inside of this interface:
https://github.com/open-telemetry/opentelemetry-js/blob/4627892c4a77a942cfd34aa804bc2cf8e2d038ef/packages/opentelemetry-exporter-collector/src/CollectorExporter.ts#L29
and then pass it down to the function is responsible for truncating:
https://github.com/open-telemetry/opentelemetry-js/blob/4627892c4a77a942cfd34aa804bc2cf8e2d038ef/packages/opentelemetry-exporter-collector/src/transform.ts#L29
If you like the approach, I can prepare a PR today or tomorrow.
If you have any other ideas how to overcome this limitation - let's discuss them.

The exporter is changing to use the OTLP format in #901. I think we should address this after that merges?

I think this has already been addressed in #901. This limitations/restrictions were there due to old OpenCensus protos, now in latest OpenTelemetry proto they got ride of TruncatableString type.

@obecny could you please confirm the same?

@mayurkale22 It looks like it got rid it is not used anymore

I was going to close but this issue should be closed by #901

Thanks @dyladan. The new exporter should solve the issue with attribute value length. As far as I can see the collector already has otlp receiver, is there anything else we need in order for #901 to be released?

We're just waiting for reviews and to be confident in it before we release as it is a large change. Should be soon


ntp: adding icons

https://app.asana.com/0/1201141132935289/1208418410668552/f
Just adding the company icons as a separate commit to reduce PR size :)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1084
#1087  👈
#1086
main

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

Join @shakyShane and the rest of your teammates on  Graphite

@mgurgel from experience this tends to not be a problem - these icons are from the official 'export' we have, so I assume those things were considered/tweaked.


errors during OKD 4.7 bootstrapping

Describe the bug
This is somehow related to https://github.com/openshift/okd/issues/536.
During both installation attempts described there I got the following error messages during bootstrapping:
level=info msg=Waiting up to 20m0s for the Kubernetes API at https://api.kur-test.ars.de:6443...
level=info msg=API v1.20.0-1046+5fbfd197c16d3c-dirty up
level=info msg=Waiting up to 30m0s for bootstrapping to complete...
W0302 14:07:21.892797    3594 reflector.go:436] k8s.io/client-go/tools/watch/informerwatcher.go:146: watch of *v1.ConfigMap ended with: very short watch: k8s.io/client-go/tools/watch/informerwatcher.go:146: Unexpected watch close - watch lasted less than a second and no items received
I0302 14:07:32.717504    3594 trace.go:205] Trace[1488049576]: "Reflector ListAndWatch" name:k8s.io/client-go/tools/watch/informerwatcher.go:146 (02-Mar-2021 14:07:22.696) (total time: 10020ms):
Trace[1488049576]: [10.020439578s] [10.020439578s] END
E0302 14:07:32.717710    3594 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: an error on the server ("") has prevented the request from succeeding (get configmaps)
I0302 14:07:44.646565    3594 trace.go:205] Trace[1752854420]: "Reflector ListAndWatch" name:k8s.io/client-go/tools/watch/informerwatcher.go:146 (02-Mar-2021 14:07:34.624) (total time: 10022ms):
Trace[1752854420]: [10.022034301s] [10.022034301s] END
E0302 14:07:44.646627    3594 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: an error on the server ("") has prevented the request from succeeding (get configmaps)
I0302 14:07:59.999110    3594 trace.go:205] Trace[1568798539]: "Reflector ListAndWatch" name:k8s.io/client-go/tools/watch/informerwatcher.go:146 (02-Mar-2021 14:07:49.977) (total time: 10022ms):
Trace[1568798539]: [10.022043654s] [10.022043654s] END
E0302 14:07:59.999142    3594 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: an error on the server ("") has prevented the request from succeeding (get configmaps)
I0302 14:08:17.291827    3594 trace.go:205] Trace[112715804]: "Reflector ListAndWatch" name:k8s.io/client-go/tools/watch/informerwatcher.go:146 (02-Mar-2021 14:08:07.270) (total time: 10021ms):
Trace[112715804]: [10.021751318s] [10.021751318s] END
E0302 14:08:17.291879    3594 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: an error on the server ("") has prevented the request from succeeding (get configmaps)
level=info msg=It is now safe to remove the bootstrap resources
level=info msg=Time elapsed: 31m40s

Also, during the time when these message appeared, the API server was not reachable.
Any command against it like an "oc get node" (using the cluster's kubeconfig file) failed with the same message:
an error on the server ("") has prevented the request from succeeding
It looked like the bootstrap node had an outage for a while (the masters were not up at this time yet or were just coming up). However, it became accessible after about 2 minutes again and the bootstrap process finally succeeded.
Version
4.7.0-0.okd-2021-02-25
How reproducible
always
Log bundle
Please advise what would be needed. I would need to run another installation, though, I guess.

What's the expected result?

Not having such errors. It does not seem to cause a failure, but it seems to delay the deployment.

Control plane is not HA at this point, any kind of transient errors are expected

But these errors and the delay did not happen with OKD 4.6.


Import from Cherrytree

Hello,
This is an improvement ticket.
I have a big amount of Cherrytree note in ctx, ctb formats.
It would be very nice to be able to import them into Obsidian.
Best regards.

Tools, that can be used, maybe can be integrated into obsidian-importer for Cherrytree import:
https://gitlab.com/kibley/cherrytreetomarkdown
https://github.com/ret2src/CherryTreeToMarkdown-Docker/tree/main


Rx equality fix

fixed types in equality operator, added hashCode override to return rx.value.

Thanks!


Implement user logins and sessions

As a user, I want to be able to log in and have my session remembered if I refresh the page

Added both logins and sessions.


Local notation with local variable

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Checked that your issue isn't already filed.
Reduced the issue to a self-contained, reproducible test case.

Description
Local notation defined using a local variable no longer works.
Steps to Reproduce
variable {α} (op : α → α → α)
local infixr:60 " ∙ " => op
example (x y : α) : x ∙ y = y ∙ x := sorry

Expected behavior:
Local notation accepted and usable locally.
Actual behavior:
error: unknown identifier 'op'
Test.lean:2:25: error: unknown identifier 'op'
Test.lean:2:0: error: cannot evaluate code because it uses 'sorry' and/or contains errors
Test.lean:3:20: error: elaboration function for 'term_∙_' has not been implemented
  x ∙ y

Reproduces how often: Always
Versions
Lean (version 4.0.0-nightly-2021-05-02, commit e20a07bd6dd0, Release)
Linux pop-os 5.11.0-7614-generic #15~1618626693~20.10~ecb25cd-Ubuntu SMP Thu Apr 22 16:00:45 UTC  x86_64 x86_64 x86_64 GNU/Linux
Additional Information
Works fine with version nightly-2021-04-27 but breaks on nightly-2021-04-28.

@leodemoura Thank you for fixing so quickly!
There appears to be a remnant of this issue. This snippet fails:
structure Op (α : Type _) where op : α → α → α
variable {α} (s : Op α)
local infixr:60 " ∙ " => Op.op s
example (x y : α) : x ∙ y = y ∙ x := sorry

with
Test.lean:3:25: error: unknown identifier 's.op'
Test.lean:3:0: error: cannot evaluate code because it uses 'sorry' and/or contains errors
Test.lean:4:20: error: elaboration function for 'term_∙_' has not been implemented
  x ∙ y
Test.lean:4:37: warning: declaration uses 'sorry'

However, there is an easy workaround since this works as expected:
structure Op (α : Type _) where op : α → α → α
variable {α} (s : Op α)
local infixr:60 " ∙ " => Op.op s
example (x y : α) : x ∙ y = y ∙ x := sorry

Lean version: Lean (version 4.0.0-nightly-2021-05-04, commit a5c28f7dfcca, Release)


Support for Ariston devices

Hey everyone,
I've recently bought dehumidier from the brand Ariston and was surprised to find midea behind the smart side of the device.
The model of the device: Ariston Deos 16S NET.
The name of the manufacturer in the wifi router: GD Midea AirConditioning Equipment Co.,Ltd.
I'm trying to use this repo to be able to talk locally to the device but when I use the discover function it doesn't recognize my account:
WARNING:midea_beautiful.cloud:Authentication error: '3102' - 'this account does not exist'
I have tried with all three --app implemented.
I'm guessing since I'm supposed to use the application "Ariston Clima" on android that the accounts are separated. On the password reset page (https://mapp-iam.appsmb.com/v1/page/repwd?activeId=fra_x_yyyyy&appId=1005&lan=en_US&stamp=20231202191008816&sign=xxx) I can see this:
<input type="hidden" id="appId" name="appId" value="1005" />
So the appid is 1005 but no sign of appkey or signkey.
Can somebody find the appkey and signkey for the application Ariston Clima or tell me how I can extract this information?

Actually I found it!
For future reference I downloaded the apk on my computer, uncompressed it with 7zip and then searched for different elements with "find in files" in Notepad++.
I can confirm the signkey still is xhdiwjnchekd4d512chdjx5d8e4c394D2D7S (was present in libsmart.so)
Serching with the regex [a-z0-9]{32} (case sensitive) I found what looked like a key in the file resources.arsc: 434a209a5ce141c3b726de067835d7f0
Discovering new devices with
midea-beautiful-air-cli discover --account "email" --password MySecurePassword --appkey 434a209a5ce141c3b726de067835d7f0 --appid 1005
Works and returns my device.
I'll continue exploring and I will share my findings for a future implementation.

Thank you for the contribution. Pull request has been merged.


Cursor always move to the end in HEX field

Editing a colour by moving the cursor to the desired location and delete will result in the cursor moving back to the end.

I was able to recreate this issue and i'm currently working on a fix. Should be fixed soon!

I was able to recreate this issue and i'm currently working on a fix. Should be fixed soon!


Could you add custom templating funcionality?

Hi,
First of all, thank you for your library, it is very useful! I would need handle and show more complex objects in autocomplete list. Could you add some functionality to use custom template like here: http://jqueryui.com/autocomplete/#custom-data

This exists already with the resultsDisplay prop.
You can pass in a function and it's argument will be the result item.

I would need not just s simple computed for display, but I need to modify the dom structure in the autocomplete result list. For example add custom class, add custom icon in the ul - li

Feel free to submit a pull request with your changes.


[stable/prometheus] Update default vaules.yaml on configmaps to reflect charts

Fixing configmaps error in default values.yaml. Aligning to how a helm install looks.
Release "prometheus" does not exist. Installing it now.
Error: release prometheus failed: ConfigMap in version "v1" cannot be handled as a ConfigMap: v1.ConfigMap: Data: ReadString: expects " or n, parsing 47 ...ger.yml":{... at {"apiVersion":"v1","data":{"alertmanager.yml":{"global":null,"receivers":[{"name":"default-receiver"}],"route":{"group_interval":"5m","group_wait":"10s","receiver":"default-receiver","repeat_interval":"3h"}}},"kind":"ConfigMap","metadata":{"labels":{"app":"prometheus","chart":"prometheus-4.6.13","component":"alertmanager","heritage":"Tiller","release":"prometheus"},"name":"prometheus-prometheus-alertmanager","namespace":"monitoring"}}

/assign @sameersbn

My bad here, was not working on the latest version.


[CPP] Fixes compiling error for aeron-archive on Windows

This PR is not about compilation errors and more about how to launch the driver for tests. Please separate and provide a better name.
The use of posix is not a good approach. An alternative like CreateProcess would be better on Windows.


remove full access from 3rd party apps

This change was a major breach of the CIP process in my view and should have never been implemented. I propose to remove full access permissions from 3rd party apps with immediate effect.

Yeah and personally as Diamond is a separate for profit org - it should not have same whitelisting permissions as bitclout.com.
Hence my suggestion to remove it from the full access whitelist.

Hey all, thank you for pointing this out; whitelisting diamondapp.com allows it to see all accounts, not just ones you logged into, but this is temporary. We whitelisted diamondapp.com as a hotfix to allow Diamond to launch while we fix a bug in Identity whereby it was showing a popup even after granting level 4 access. Once this bug is fixed, diamondapp.com will be removed from the whitelist, and it will only have access to the accounts you explicitly grant it access to just like all third-party apps.
The launch of Diamond gave the core dev team a great opportunity to optimize the process of launching one's own independent third-party node, and we appreciate your patience with us as we iron out the last few remaining kinks over the next week or two.

ive submitted the PR
https://github.com/deso-protocol/frontend/pull/486
But I see that diamond App did already implement this 4 days ago. And that it it present.
So this should solve the level 4 issue already.

diamondapp is still listed as a full access node name - is that really required? If so - please explain remaining reasons and why they dont apply to other 3rd party nodes.

@diamondhands0 diamondapp is still listed.
you mentioned this was temporary in your reply above 4 months ago.
maybe its time to remove it ?
cc @superzordon

closing this

it was fun till it lasted @tijno ...


MNU occurred when compiling character literals in Squeak 6.0 beta image

A MNU error will be occurred when compiling code contains character literals, e.g.:
Transcript show: $a

I think it is related to https://lists.squeakfoundation.org/pipermail/squeak-dev/2022-March/219464.html and https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/618

Fix confirmed, thanks!
With this fix, TruffleSqueak-Core and TruffleSqueak-Support can be loaded into Squeak 6.0 beta image now, and following code works with no problem:
(Java type: 'java.lang.System') out println: 'Hello world!'.


Remove terser for react-native support

CHANGES 📲

Removing rollup-plugin-terser for react-native support.

Reasoning
The anchor-ts client uses rollup to bundle ts code for the browser. In the process of bundling, it passes the code through a minification/uglification plugin called rollup-plugin-terser.
The terser mangles the code in a way that the the variable assigned to the import of @solana/web3.js is reused.
Something similar to this is happening in the final output:
var s =<EMAIL_ADDRESS>
function x() {
  var s, a, b; // ----> redefined s
  ...
  s.TransactionInstruction() // ----> calls method on original s
}

Issues supporting this claim:
https://github.com/coral-xyz/anchor/issues/1082
https://github.com/coral-xyz/anchor/issues/2054
https://github.com/coral-xyz/anchor/issues/1747
https://stackoverflow.com/questions/70652456/solanaweb-3-js-package-typeerror-s-transactioninstruction-is-not-a-constructor/70964609#70964609

Cool, let's run the tests and see what happens!

Something happened 😅

very simple PR
removes terser() function, going to check why it was there in the first place first before removing
tests pass
Probably a merge

Before merging though @Perronef5 does this affect the original reason for the terser() function which was part of adding support for next.js https://github.com/coral-xyz/anchor/pull/1108 ?

Dang thats a good point. Let me test with next.js

Any findings here?
I can't see why Anchor specifically would need to be minified for Next.js. Mango uses Next.js with multiple dependencies that are not minified.


No documents exist

I'm trying to use mirror cve database cveb.in due to nvd api problems, but every time i got this. Can someone help me?
root@N0005:~/test-app# docker run --rm \
  -v $(pwd):/src \
  -v $(pwd)/reports:/report \
  -v $(pwd)/data:/data \
  owasp/dependency-check:11.1.1 \
  --nvdDatafeed https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-{0}.json.gz \
  --project "com.example:test-app:1.0-SNAPSHOT" \
  --scan /src \
  --format HTML \
  --out /report \
  --log /src/dependency-check.log \
  --data data
[INFO] Checking for updates
[INFO] NVD API Cache requires several updates; this could take a couple of minutes.
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2012.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2023.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2011.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2022.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2010.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2021.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2020.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2009.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2008.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2019.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2007.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2018.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2006.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2017.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2005.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2016.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2004.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2015.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2003.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2014.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2002.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2013.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-2024.json.gz
[INFO] Download Started for NVD Cache - https://mirror.cveb.in/nvd/json/cve/1.1/nvdcve-1.1-modified.json.gz
[INFO] Begin database maintenance
[INFO] End database maintenance (2 ms)
[INFO] Updating CISA Known Exploited Vulnerability list: https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
[INFO] Begin database defrag
[INFO] End database defrag (79 ms)
[INFO] Check for updates complete (97268 ms)
[ERROR] Unable to continue dependency-check analysis.
[ERROR] One or more fatal errors occurred
[ERROR] No documents exist
root@N0005:~/test-app#

this is log file
``
2024-12-25 10:11:16,666 org.owasp.dependencycheck.Engine:1179
DEBUG -
org.owasp.dependencycheck.exception.NoDataException: No documents exist
        at org.owasp.dependencycheck.Engine.ensureDataExists(Engine.java:1163)
        at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:641)
        at org.owasp.dependencycheck.App.runScan(App.java:266)
        at org.owasp.dependencycheck.App.run(App.java:198)
        at org.owasp.dependencycheck.App.main(App.java:90)
2024-12-25 10:11:16,666 org.owasp.dependencycheck.data.nvdcve.CveDB:312
DEBUG - Closing database
2024-12-25 10:11:16,666 org.owasp.dependencycheck.data.nvdcve.CveDB:314
DEBUG - Cache cleared
2024-12-25 10:11:16,667 org.owasp.dependencycheck.data.nvdcve.CveDB:317
DEBUG - Connection closed
2024-12-25 10:11:16,668 org.owasp.dependencycheck.data.nvdcve.CveDB:323
DEBUG - Resources released
2024-12-25 10:11:16,668 org.owasp.dependencycheck.data.nvdcve.DriverLoader:57
DEBUG - Begin deregister driver
2024-12-25 10:11:16,668 org.owasp.dependencycheck.data.nvdcve.DriverLoader:59
DEBUG - End deregister driver
2024-12-25 10:11:16,679 org.owasp.dependencycheck.App:214
ERROR - One or more fatal errors occurred
2024-12-25 10:11:16,679 org.owasp.dependencycheck.App:220
ERROR - No documents exist
2024-12-25 10:11:16,679 org.owasp.dependencycheck.App:221
DEBUG - unexpected error
org.owasp.dependencycheck.exception.NoDataException: No documents exist
        at org.owasp.dependencycheck.Engine.ensureDataExists(Engine.java:1163)
        at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:641)
        at org.owasp.dependencycheck.App.runScan(App.java:266)
        at org.owasp.dependencycheck.App.run(App.java:198)
        at org.owasp.dependencycheck.App.main(App.java:90)
2024-12-25 10:11:16,679 org.owasp.dependencycheck.utils.Settings:936
DEBUG - Deleting ALL temporary files from `/tmp/dctempba588108-e603-470b-88ae-2d63eec36ce2`
2024-12-25 10:11:16,697 org.owasp.dependencycheck.App:91
DEBUG - Exit code: 13

this is app that i'm trying to test
root@N0005:~/test-app# ls
data  dependency-check.log  pom.xml  reports
root@N0005:~/test-app# cat pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
                             http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.example</groupId>
    <artifactId>test-app</artifactId>
    <version>1.0-SNAPSHOT</version>
    <dependencies>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-lang3</artifactId>
            <version>3.12.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>31.1-jre</version>
        </dependency>
    </dependencies>
</project>
root@N0005:~/test-app#

You need to escape the {0} inside the arg on your shell properly.
However note that it does not actually work properly even if it looks like it is working - and is not supported by ODC.
https://github.com/jeremylong/DependencyCheck/issues/7178#issuecomment-2519917402
https://github.com/jeremylong/DependencyCheck/issues/7211#issuecomment-2519910396

Thanks, insted of cveb.in i ll use vulnz cli mirror, also i already tested it and it worked.


Please, clarify description of ZLibEncoder.dictionary

The description of property dart:io:ZLibEncoder.dictionary reads:

List<int> dictionary
final
Initial compression dictionary.
It should consist of strings (byte sequences) that are likely to be encountered later in the data to be compressed, with the most commonly used strings preferably put towards the end of the dictionary. Using a dictionary is most useful when the data to be compressed is short and can be predicted with good accuracy; the data can then be compressed better than with the default empty dictionary.

It is not clear how strings (byte sequences) should be packed into List.
List<int> is a sequence of integers, so naturally it is only one sequence.
How several sequences should be stored in a List<int>?
May be the type of dictionary should be List<List<int>>?

I think the word "strings" is a red herring here. It's just byte sequences. They are (somehow) used to seed the encryption dictionary, and I guess the receiving end must use the same dictionary to seed the decryption (but now I'm guessing).


minor: remove outdated comment in test_primary

This is a minor PR to remove an outdated comment in test_primary.  The test has long since stopped using a live repository started separately, and now relies on sample metadata.

Coverage remained the same at 96.754% when pulling 214ec7ada29f9edfeef17848006f9e7b89b15ac5 on minor_test_doc_fix into d7385994e86c68038bf578f1c81ad1cf718a4030 on develop.


Create 2 channel Looper

Value Preposition
as a user I want that when I open the program 2 sound tracks are played simultaneously.
these tracks are of short duration and are repeated in a loop.
Acceptance Criteria

[ ] each channel has picht control (playback speed)
[ ] each channel has volume control
[ ] each channel has filter control (low pass)

each channel has picht control (playback speed)
each channel has volume control
each channel has filter control (low pass)


Doesn't defend its fabbers

Queller won't move to defend its fabbers from attacks, nor retreat them from danger.

There is no supported behaviour accessible to modders to allow Queller to either defend or retreat fabbers.


Horizontal scrolling

Hi Alex,
Thank you very much for putting this repo together!
I was wondering if it's possible to publish an update and make the segments scrollable, horizontally.
Inside the _buildSegments method, I can wrap the Row widget inside a ListView and make it scroll horizontally, but that breaks the animation and it doesn't work as expected.
I'm fairly new to Flutter, if I could do it myself I'd publish a PR.
Thank you.

Sure, do PR and after merge I'll publish updates

@alex-melnyk Great. I can submit a PR with the Segment control wrapped in a ListView widget, scrollable horizontally. But the animation part is in your hands. Thank you.


chore: unbundle vite/module-runner

#143  👈
main

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

Join @hi-ogawa and the rest of your teammates on  Graphite


Shotgun libraries pooling discrepancy

From RodolfoSalido:
I quantified my Shotgun libraries and generated a pooling file using Lab Control. I only noticed one discrepancy between the pooling file generated by Lab Control and that generated by our Jupyter notebook. Our Jupyter notebook is designed to pool into a destination well until it reaches a certain volume (30µL) and then it cycles to the next well. The Lab Control pooling function seems to have a value of 60µL for the max_vol_per_well parameter instead of 30µL.

From RodolfoSalido's output:
283 rows do not match between the two outputs, out of the total of 384. Of the rows that don't match, they appear to differ by 1/100th of a unit in transfer volume, and the destination wells differ. Awaiting confirmation from Rodolfo.
File A:
1,384LDV_AQ_B2_HT,B2,,262.69,NormalizedDNA,A1
1,384LDV_AQ_B2_HT,B8,,363.07,NormalizedDNA,A1
File B:
1,384LDV_AQ_B2_HT,B2,,262.68,NormalizedDNA,A1
1,384LDV_AQ_B2_HT,B8,,363.06,NormalizedDNA,A1

Confirmed - here are the transfer volumes summed for each of the destination wells for each file:
From Rodolfo:
The real granularity of our liquid handler is 2.5 nL increments do 1/100th unit discrepancies are not a problem. If you sum all the volumes that go into any specific destination well, the addition shouldn’t exceed 30 micro-liters.
Confirmed by summing the transfer volumes in each file across their destination wells:
FIle 1:
A1 = 29825.000000
A2 = 29912.560000
A3 = 29770.010000
A4 = 24522.410000
File 2:
A1 = 59737.560000
A2 = 54292.360000

It looks like the parameters set up in 'HTML_POOL_PARAMS_SHOTGUN' set 'blank-vol-' to empty string for the 'equal' pooling function. This in turn sets 'PoolingProcess.compute_pooling_values_eqvol().total_vol' to 60ul by default.
@AmandaBirmingham , perhaps changing the maximum total volume of the destination well to 30ul is a matter of setting the 'Pool all blanks at volume' property?

Issues w/maptest when leaving this page and coming back to it. The robustness of this page needs to be addressed (See #361)

Just to reiterate, I believe #361 should be resolved first, as it's not easy to get back results to confirm the correctness of a bug fix with the known beta issue.

TL;DR: change
https://github.com/jdereus/labman/blob/a6777cc8b29946c06599b5d3e78a5aeaf4541427/labman/db/process.py#L2559
to
return PoolingProcess._format_picklist(vol_sample, max_vol_per_well)
and this problem should be fixed.  Explanation below.

I believe Rodolfo pointed us on the right road here with his reference to the variable name max_vol_per_well.  I see PoolingProcess has this function:
https://github.com/jdereus/labman/blob/a6777cc8b29946c06599b5d3e78a5aeaf4541427/labman/db/process.py#L2497
Note the default, which is in nL:
https://github.com/jdereus/labman/blob/a6777cc8b29946c06599b5d3e78a5aeaf4541427/labman/db/process.py#L2505-L2506
60000 nL = 60 microliters (μL)  :)
This method is called by generate_echo_picklist:
https://github.com/jdereus/labman/blob/a6777cc8b29946c06599b5d3e78a5aeaf4541427/labman/db/process.py#L2542-L2548
Here, the default is 30000 nl or 30 μL, which is the value the lab actually wants to use, so you'd think we'd be golden, except ... the max_vol_per_well value IS NEVER USED.  Instead, _format_picklist is called without an explicit max_vol_per_well value:
https://github.com/jdereus/labman/blob/a6777cc8b29946c06599b5d3e78a5aeaf4541427/labman/db/process.py#L2559
Therefore the 60 μL default in _format_picklist takes over, and Bob's your uncle ...

From: Rodolfo Salido
Date: Monday, April 15, 2019 at 11:18 AM
To: "Birmingham, Amanda"
Cc: Charles Cowart , Daniel McDonald
Subject: Re: Shotgun Libraries pooling.
Hello Amanda,
We don’t need this parameter to be editable, we can have it hardcoded. Karenina has been using 20µL as her default and I’ve been pooling 30µL. We changed it from 60µL to a lower 20-30 µL because we changed destination plates and the newer plates hold less volume.
We don’t anticipate any future changes to our pooling procedure. After talking with Karenina, I believe that going with the more conservative 20µL max_vol_per_well will be the better choice.
-Rodolfo
On Apr 15, 2019, at 11:09 AM, Birmingham, Amanda  wrote:
Hi—
I’ve looked into this, and I am 90% sure I know where the issue is coming from (I’ve put details on https://github.com/jdereus/labman/issues/438
).  Making the code use max_vol_per_well = 30µL instead of 60µL should be the work of a moment (although updating the tests may take a little longer) ☺.
HOWEVER, I am also 90% sure there is absolutely no way for a user to change this value through the GUI—it is hardcoded.  Rodolfo, is max_vol_per_well a setting that the lab ever has changed, or anticipates changing in the future?  If so, we probably need to add it to the user interface somewhere and hook up the back end to take that input …  Lemme know what you think.
Thanks,
Amanda


Fixes to release process

Use podman instead of docker
Use UBI as base image
Bump golang

/assign @bparees
/cc @coreydaley @gabemontero

/lgtm

[TEST]

[merge]

/cherrypick release-4.1


[FLINK-16002][statefun][testutil] Add stateful functions test utilities

The stateful functions SDK does not have any dependencies on the Flink runtime. These test utilities provide a minimal synchronous runtime implementation to facilitate simple unit testing.

cc @igalshilman

We had a discussion with Seth offline, and I definitely think there is need for this test kit.
To summarize the discussion:
There are these two ways of approaching unit testing this (probably more)
a) would be just call the stateful function with some TestContext and make assertions on the side effects.
Something a long the lines of
assertThat(functionUnderTest.invoke(context, message), allOf(
        hasOutgoingMessage( messageMatches(...) )
        hasOutgoingEgress( ... )
        hasDelayedMessages( ...)
);

b) actually simulate some stuff happening, and later collecting the results
and asserting on the expected behaviour.
This PR leans towards (b) and I can definitely see the value of that after seeing some examples, so I'm +1 to bring this to shape and merge this, I also like the use of matchers they make the tests more readable!

Gordon, this package game out of a need to unit test the functions for my statefun workshop. If it helps, you can see the usage on on this branch for real world usage
https://github.com/sjwiesman/flink-statefun/tree/workshop?files=1


Correctly handling weight decay in the optimizer

Our objective function is like l(w) = E_x[f_w(x)] + \lambda ||w||_2^2. If we include the L2 regularizer, the stochastic gradient should be true_g = rescale_grad * g + wd * weight. The stochastic gradient will then be used to update the curvature and momentum.
In the current implementation of Adam and RMSProp, the g is directly used as the stochastic gradient for updating the other state variables, which is not consistent with other packages like Keras. We may need to revise this. @dsqx71 @leezu @piiswrong @howard0su
Reference:
Adam in MXNet: https://github.com/dmlc/mxnet/blob/master/src/operator/optimizer_op-inl.h#L196-L197
Adam in Keras: https://github.com/fchollet/keras/blob/master/keras/optimizers.py#L415-L446

yes we should change it

I adapted the code in the uncentered RMSProp pull request (#5116). For Adam I opened a new pull request (#5126)

This could be the reason of performance diff reported in the issues.  The new way to handle weight decay will cause un-convergence in my experiments.  Similar conclusion can be find in https://stats.stackexchange.com/questions/243881/weight-decay-and-rmsprop-in-neural-networks

@alanhuang1990 Are you using the non-centered version or the centered version? This is the correct way of handling weight decay and if it makes the convergence worse, you may try to tune the learning-rate again.

@sxjscience  Alright.  The way to handle weight decay seems to be not important in many experiments. But the way to handle 'clip_gradient' is wrong.
https://github.com/dmlc/mxnet/blob/master/src/operator/optimizer_op-inl.h#L317
What implemented here is weight clipping,  which should not be activated in 'clip_gradient'

@alanhuang1990 It's the check that decides whether to turn on weight clipping.
if (param.clip_weights >= 0.0f) {
   Assign(out, req[0], F<clip>(weight + delta, DType(param.clip_weights)));
}

@alanhuang1990 Also, correcting the way we handle weight-decay is necessary for research on optimization algorithms. We need to make sure that all the optimizers are solving the same objective function.

@alanhuang1990 Can you clarify what you mean by

But the way to handle 'clip_gradient' is wrong.
https://github.com/dmlc/mxnet/blob/master/src/operator/optimizer_op-inl.h#L317
What implemented here is weight clipping, which should not be activated in 'clip_gradient'.

The code you refer to is implementing weight clipping, which is useful for certain scenarios such as training a network according to the WGAN paper. It is independent of gradient clipping.


Scouting vision feature extractor

Focal points:

[ ] add mlflow library to manage the ML lifecycle and track experiments
[ ] try different pre trained model for vision features extraction:

DETR : facebook/deit-base-patch16-224
CLIP: openai/clip-vit-large-patch14-336
VITC: google/vit-large-patch16-224-in21k

The code used for this scouting is this one amazon/mm-cot/issue#35.

@Francesco-Ranieri we could implement a DVC piepeline with the first step being the extraction of features. We can 2 parameters to chose the model to use for the extraction and the path to the dataframe. What do you think?


add "values" tag option

A field of type struct is converted to a slice of that struct's values. The same happens for a field of type slice of structs.
For example,
type A struct {
  Field  os.Process   `structs:",values"`
  Fields []os.Process `structs:",values"`
}

Example of an output:
{
  "Field":  [0],
  "Fields": [[0], [0]]
}

Instead of
{
  "Field":  {"Pid": 0},
  "Fields": [{"Pid": 0}, {"Pid": 0}]
}

Coverage decreased (-0.2%) to 99.761% when pulling 280c0600edfb93b65e2f2d66f4833f3b32898b56 on siadat:values-opt into 7e5a8eef611ee84dd359503f3969f80df4c50723 on fatih:master.

Coverage remained the same at 100.0% when pulling 9548c42f8298bd630c8abc3ee7f4267da3cc73db on siadat:values-opt into 7e5a8eef611ee84dd359503f3969f80df4c50723 on fatih:master.

Coverage remained the same at 100.0% when pulling 9548c42f8298bd630c8abc3ee7f4267da3cc73db on siadat:values-opt into 7e5a8eef611ee84dd359503f3969f80df4c50723 on fatih:master.


The input selector is not shown

I wrote this:
<select chosen multiple options="githubrepositories"
                    ng-model="repositorySelected"
                    ng-options="p.name as p.name for p in githubrepositories">
 </select>

inside the bootstrap modal.
But in the console, appears width 0px and the input of selector not shown. It isn't your css or mine. I don't know what happens. Any idea?
Thank you very much.

Hi @1izpena,
Try with width="'100%'":
<select width="'100%'" chosen multiple options="githubrepositories"
                    ng-model="repositorySelected"
                    ng-options="p.name as p.name for p in githubrepositories">
 </select>

Hi @leocaseiro, it doesn't work. Thanks anyway.

Hi @1izpena, what happens if you remove chosen directive?
Could you also try use css?
select {
     width:500px"
}

Or perhaps harcoded style:

Did it work?

No, I am sorry. In the end I had to take another library. Thanks anyway.


Booleans are 8 bits

https://github.com/jmorag/mcc/blob/cc37bd59415c4bfef76df715e38f608c26a07766/src/Microc/Codegen.hs#L78
TyBool -> pure AST.i8

Why should booleans be 8 bits?

For performance reason, reading a single bit isn't efficient. But I guess, this is a design decision of yours. Great project btw ! It's refreshing to read your blog posts too.

came to think about this, int1 is probably the best choice for bools, indeed. Ignore my previous comments pls


puppeteer-firefox doesn't start on jest-puppeteer

💬 Questions and Help
I'm trying to run tests using puppeteer-firefox, I followed the read me guidelines here, but each time I run tests, it uses chromium rather than firefox.
I went ahead to puppeteer_envorinment.js and modified the puppeteer import to puppeteer-firefox, but I still experience the same issue.
What am I doing wrong?

Fixed it!
Followed the example here.
I was previously editing this file, meanwhile, I was supposed to edit this file


[DOC] Add ddtw distance to the API references

Describe the issue linked to the documentation
The API reference for the distance module does not show the Derivative Dynamic Time Warping (ddtw) distance measure.
https://www.aeon-toolkit.org/en/latest/api_reference/distances.html
Suggest a potential alternative/fix
Simply update docs/api_reference/distances.rst and add ddtw.

@aeon-actions-bot assign @Cyril-Meyer


create a --no-geoip switch for VPNs whose status includes the country

The idea is that certain VPNs will report the country in their status call, negating the need for geoiplookup. See the TODO comment left by @sudo-julia in vpn_module.sh under this branch, which suggests using country_codes.py script to get the current country.

Hey! I think this should be really easy to integrate. The biggest thing is going to be finding what providers include the country in the status, because I only have access to Mullvad. One method that might work is digging through the polybar-scripts repository and reading the code that individual VPN modules use to display their status.

Started to do this with the recent changes and vpn_module status <method> with  being mullvad, other-vpn, geo-ip, and ip. The first two methods begin to address this. Will mark closed for now until specific methods are added for other VPNs.


MAVLink debug messages

It'd be nice to have some generic messages available we could use for sending debug values over MAVLink and seeing them as ROS topics. Luckily, MAVLink has some messages already built in! The candidates are:

MEMORY_VECT
DEBUG_VECT
NAMED_VALUE_FLOAT
NAMED_VALUE_INT
DEBUG

I don't think we'd use the vect messages much, so I'm thinking we won't add support for those. The named value messages are 9 bytes bigger than the debug message because they use a char[10] to identify what the value is as opposed to a uint8. However, DEBUG only supports a float, and the named value messages are still only 18 bytes and I don't think we're planning on sending them super fast.
So I propose adding support for the NAMED_VALUE_INT message type. If you think we'd use it, it'd be pretty easy to add the NAMED_VALUE_FLOAT message as well. What do you think @superjax?

I agree with all of the above.
I did have an idea, though.  Is there just a generic string type?  I'm wondering if I can write a copy of printf that uses MAVlink instead of stdout, that way I can put "printf" statements, like I'm used to, but still use MAVLink under the hood.  All fcu_io would do is print the string to the screen.  It's slow, I know, but it's super super useful to be able to just drop in a print statement wherever you like.
What do you think?

Yup, see issue #19. I meant to add that one when I was doing this one, just got distracted.

I think I'm going to close this, since #19 is open.  The debug stuff has been working great for me so far.


Add random number utilities (and seedable generator)

Mersenne Twister, random integers in a range, etc.

@ariel-phet This is a nontrivial project. Please clarify why this was assigned to me, what the priority is, etc.

PhET-iO got reproducible (same seed) random number sequences in this issue https://github.com/phetsims/phet-io/issues/274

@pixelzoom sorry, I thought I had commented on the issue but does not look like it took...
I was going through triaging issues and this was marked as high priority by you, but the issue is 3 years old...curious if it was still a priority, or if it should be addressed, brought up at developer meeting, etc. Just looking for a comment, no work.

@samreid does this mean this issue is solved?

I don't recall the implementation details, but I'll assign to myself to investigate.

I recommend developers to skim dot/js/Random.js and we'll discuss at developer meeting if there is anything else to do here.

Self-assigning for fleshing out Random.

Looks fleshed out to me (probably a duplicate), closing.


Global-hidden-fix

✅ Fixed global block to be a hidden widget
✅ Reduced font size of autosuggest classes
✅ Fixed duplicate link title issue


Plotly chart autoscale problem

#6 Setting Plotly chart autosize=False stops chart dynamically resizing and causes issues at small page widths. But autosize=True limits chart size to 450px

Sounds like this should have solved it back in plotly 3.8 https://github.com/plotly/plotly.py/issues/1524


Add instructions for case when setup.R fails

scripts/setup.R does two main things, and if it does not work, users should be provided with instructions for accomplishing these steps manually:

Install dependencies (five packages)
Download climate data

Addressed in 174ec76


Vscode can not run and can only be reopened

VSCode Version:1.15.1
OS Version: macOS Sierra 10.12.5
Android studio Version: 2.3.3

Steps to Reproduce:
1.Open the ionic project
2.Open android studio and perform compilation

Reproduces without extensions: Yes/No

@qifanrui more details please on what is not running?

It will be stuck, and then prompted to re-open the window

Now I really want to find the reason, my android studio installed weex plugin, I suspect that it is caused by it, I should be uninstalled for him, until now there is no problem.

@qifanrui can you share a video or screenshots?


Prefer local auto-imports over those from external modules

VSCode Version: 1.19.2
OS Version: Mac OS 10.11.1
Typescript version: 2.6.2

autoImportSuggestions has some quirky behavior. The first is that it seems to prefer imports from global modules over local files. For example, if I have a file called Context.ts that exports an object called Context, and I try to auto-import that in another file, the first suggestion is to import it from the vm module. It would be nice if there was a way to specify priority of auto-imports.
Another minor quirk is that when I have a directory of files with an index file that re-exports things from the other files, auto-import will import it from directory/index rather than just directory. Sticking with the Context example from above, if my directory structure is:

server/

Context.ts
index.ts // re-exports Context

The automatic import will be import { Context } from './server/index'. I'd like to be able to specify that exports from an index file be imported from the directory (import { Context } from './server').
Steps to Reproduce: see examples above

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

Thanks. I've updated the issue title to reflect this

I believe this was fixed at some point (possible a duplicate of https://github.com/Microsoft/TypeScript/issues/23598)


fix(cd): Rename a CD job with the same name as a CI job

Motivation
One of our CD test jobs has the same name as a CI test job, so we could merge a PR if either one of them passes. (We want both to pass.)
Solution
Rename the CD job

[x] Admin: add a branch protection rule for the new name after merging this PR

Review
This should be merged before merging PRT #7045, because it tests that PR.
Reviewer Checklist

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

Admin: add a branch protection rule for the new name after merging this PR

I added a branch protection rule that requires this job to pass on all PRs:
Test Zebra CD Docker config file


componentWillReceiveProps and componentWillMount are deprecate

Hi, I am working with this lib in version: 1.3.9 and react native in version 0.60.4 and at component initialization opens a few dialog boxes stating that the above components are obsolete.

closed by #500


[Improvement] [Data-Explorer]: Implement Config.toml file generation in the code generation workflow

Connector Name
other (None Listed Above)
Suggested feature
Implement Config.toml file generation from configurable variable values in the code generation workflow.
Related issues
No response

It was decided to reuse the existing configurable editor implementation for handling Config.toml in the vs-code plugin. Therefore assigning Aneesha to proceed.

Decided to re-visit the design of the Choreo Data Explorer, therefore closing the issue


2.0.0 always uses require_once

Hey there,
it seems like it always uses require_once in 2.0.0 even if you dont set useRequire().

 Gonna fix that.

Fixed in #26


cmd/compile: invalid recursive array type crashes the compiler spuriously after emitting "invalid recursive type" error

What version of Go are you using (go version)?
go version go1.9 darwin/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/mlowicki/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.9/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.9/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/85/p6r5ztv90bq4x5d3yl7r0x_m0000gn/T/go-build175496818=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?
https://play.golang.org/p/QMJbsvH1wo
package main

type Node [2]Node

func main() {
}

What did you expect to see?
Something like in https://play.golang.org/p/VKwq0UFZmF so one error message:
./hello.go:3:6: invalid recursive type Node

What did you see instead?
./hello.go:3:6: invalid recursive type Node
./hello.go:3:6: internal compiler error: invalid alignment for Node

goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.9/libexec/src/runtime/debug/stack.go:24 +0xa7
cmd/compile/internal/gc.Fatalf(0x176124e, 0x18, 0xc42031f790, 0x1, 0x1)
        /usr/local/Cellar/go/1.9/libexec/src/cmd/compile/internal/gc/subr.go:181 +0x230
cmd/compile/internal/gc.dowidth(0xc42030f860)
        /usr/local/Cellar/go/1.9/libexec/src/cmd/compile/internal/gc/align.go:372 +0x304
cmd/compile/internal/gc.resumecheckwidth()
        /usr/local/Cellar/go/1.9/libexec/src/cmd/compile/internal/gc/align.go:452 +0x54
cmd/compile/internal/gc.Main(0x17719f8)
        /usr/local/Cellar/go/1.9/libexec/src/cmd/compile/internal/gc/main.go:468 +0x1ec6
main.main()
        /usr/local/Cellar/go/1.9/libexec/src/cmd/compile/main.go:49 +0x95

Bad news:
This issue is a regression, it didn't exist in Go1.8, but it now does on Go1.9 and tip.
Go1.8

Tip

Paging part of the compiler squad @mdempsky @griesemer.

This is a crash-on-invalid.  I don't think it's all that important to fix in 1.9.2.

Let's do #22252 for Go 1.9.2 instead. Lower risk, higher reward.


missing authentication token for REST request

Im ussing ES 5.40, enabled xpack.
When i create new search for testing, i got error
[Thu Jun 22 01:27:09.960161 2017] [:error] [pid 22170] [client <IP_ADDRESS>:52208] except [NONE] FOO\\SearchException: "{"error":{"root_cause":[{"type":"security_exception","reason":"missing authentication token for REST request [/%5Bfb-fim-terminal-%5D/_search?ignore_unavailable=true]","header":{"WWW-Authenticate":"Basic realm=\\"security\\" charset=\\"UTF-8\\""}}],"type":"security_exception","reason":"missing authentication token for REST request [/%5Bfb-fim-terminal-%5D/_search?ignore_unavailable=true]","header":{"WWW-Authenticate":"Basic realm=\\"security\\" charset=\\"UTF-8\\""}},"status":401}" at [/var/www/411/phplib/Search/Elasticsearch.php:286] 0:[FOO\\Elasticsearch_Search->search() called at [/var/www/411/phplib/Search/Elasticsearch.php:118]] 1:[FOO\\Elasticsearch_Search->_execute() called at [/var/www/411/phplib/Search.php:263]] 2:[FOO\\Search->execute() called at [/var/www/411/phplib/Job/Search.php:58]] 3:[FOO\\Search_Job->_run() called at [/var/www/411/phplib/REST/Searches.php:206]] 4:[FOO\\Searches_REST->test() called at [/var/www/411/phplib/REST/Searches.php:60]] 5:[FOO\\Searches_REST->POST() called at [/var/www/411/phplib/REST.php:108]] 6:[FOO\\REST->route() called at [/var/www/411/htdocs/api/searches.php:6]], referer: http://alert.log.ho.fpt.vn/searches/new?type=es
[Thu Jun 22 01:27:10.150854 2017] [:error] [pid 22170] [client <IP_ADDRESS>:52208] except [NONE] Elasticsearch\\Common\\Exceptions\\BadRequest400Exception: "" at [/var/www/411/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:610] 0:[Elasticsearch\\Connections\\Connection->process4xxError() called at [/var/www/411/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:273]] 1:[Elasticsearch\\Connections\\Connection->Elasticsearch\\Connections\\{closure}() called at [/var/www/411/vendor/react/promise/src/FulfilledPromise.php:25]] 2:[React\\Promise\\FulfilledPromise->then() called at [/var/www/411/vendor/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php:55]] 3:[GuzzleHttp\\Ring\\Future\\CompletedFutureValue->then() called at [/var/www/411/vendor/guzzlehttp/ringphp/src/Core.php:341]] 4:[GuzzleHttp\\Ring\\Core::proxy() called at [/var/www/411/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:294]] 5:[Elasticsearch\\Connections\\Connection->Elasticsearch\\Connections\\{closure}() called at [/var/www/411/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:171]] 6:[Elasticsearch\\Connections\\Connection->performRequest() called at [/var/www/411/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php:100]] 7:[Elasticsearch\\Transport->performRequest() called at [/var/www/411/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/BooleanRequestWrapper.php:38]] 8:[Elasticsearch\\Namespaces\\BooleanRequestWrapper::performRequest() called at [/var/www/411/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Namespaces/IndicesNamespace.php:689]] 9:[Elasticsearch\\Namespaces\\IndicesNamespace->existsTemplate() called at [/var/www/411/phplib/ESClient.php:71]] 10:[FOO\\ESClient->initializeIndex() called at [/var/www/411/phplib/ESClient.php:33]] 11:[FOO\\ESClient->__construct() called at [/var/www/411/phplib/Target/DB.php:22]] 12:[FOO\\DB_Target->__construct() called at [/var/www/411/phplib/Job/Search.php:73]] 13:[FOO\\Search_Job->_run() called at [/var/www/411/phplib/REST/Searches.php:206]] 14:[FOO\\Searches_REST->test() called at [/var/www/411/phplib/REST/Searches.php:60]] 15:[FOO\\Searches_REST->POST() called at [/var/www/411/phplib/REST.php:108]] 16:[FOO\\REST->route() called at [/var/www/411/htdocs/api/searches.php:6]], referer: http://alert.log.ho.fpt.vn/searches/new?type=es

How to config username + pass when access to ES ? (i'm ussing XPACK)
And how to config option for slack work behind proxy?
Thanks you!

You can pass credentials directly in the array of hosts. Example: 'http://user:pass@localhost:9200'


feat: Optional Kafka consumer group.id

Shouldn't we add at least a unit test somewhere ensuring the GroupId is set?

You're absolutely right, I added some unit tests here:
https://github.com/BEagle1984/silverback/blob/fa38eb8ef7de7181003ac5efdf2b6bba42be1cb9/tests/Silverback.Integration.Kafka.Tests/Messaging/Configuration/Kafka/KafkaConsumerConfigTests.cs#L31
https://github.com/BEagle1984/silverback/blob/fa38eb8ef7de7181003ac5efdf2b6bba42be1cb9/tests/Silverback.Integration.Kafka.Tests/Messaging/KafkaConsumerEndpointTests.cs#L152
https://github.com/BEagle1984/silverback/blob/fa38eb8ef7de7181003ac5efdf2b6bba42be1cb9/tests/Silverback.Integration.Kafka.Tests/Messaging/KafkaConsumerEndpointTests.cs#L163
I wanted also test that CommitOffsets and StoreOffset are skipped but I could not found any existing tests... Did I miss something?

Still no test that ensures that no commit is performed when the group id is not set?
By the way, the mock is behaving correctly already, throwing an exception if you try to commit without a group id being set? (This is needed for a proper e2e/integration test.)

Thanks for the inputs, I need for sure some help to find the proper way to test that no commit is done when the group.id is not set. I've started to also modify the ImMemoryTopic but then I got into a mess 😱


[microservice] Ldap attribute store with no connection pool

This inherits LdapAttributeStore.
This is a microservice for binding to a LDAP server that do not accept anonymous connections.
LDAP Connection pool needs anonymous bind for an async and reusable connections.
With this microservice no more slapd ACL modification is required to get stored LDAP attributes from a "hardened" slapd configuration.
Tested on OpenLDAP, Debian10
All Submissions:

[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you added an explanation of what problem you are trying to solve with this PR?
[x] Have you added information on what your changes do and why you chose this as your solution?
[ ] Have you written new tests for your changes?
[x] Does your submission pass tests?
[x] This project follows PEP8 style guide.

Hello Giuseppe,
I do not understand the basis for this pull request. You state
"LDAP Connection pool needs anonymous bind for an async and reusable connections." I do not believe that is the case.
The current code uses client_strategy=ldap3.REUSABLE when creating an instance of Connection(), but it also uses a bind DN and a bind password. So the code assumes one is NOT using an anonymous bind.
Perhaps I am not understanding. Can you explain how the current code fails or does not work for you?
Thanks,
Scott

Hi @skoranda, the usability of REUSABLE strategy depends by slapd ACL. In my case, where anon bind Is disabled, that strategy doesn't work. RESTARTABLE strategy makes It to work and I also suppose that this connection strategy could solve your issue, related to the Need to restart satosa everytime slad restarts, if I understand well.
By the way with this PR we moved ldap3 connection parameters to microservice's configuration, instead of the current code that have many of these as constants in the code.

Hi @peppelinux,
You state "the usability of REUSABLE strategy depends by slapd ACL. In my case, where anon bind Is disabled, that strategy doesn't work."
I am sorry, I do not understand.
Here is the olcAccess attribute for a slapd directory I am using:
olcAccess: {0}to dn.base="cn=admin,dc=myproject,dc=org" by sockname.regex=/
var/run/slapd/ldapi auth by users none by * none
olcAccess: {1}to attrs=userPassword,shadowLastChange by self auth by anonymous
auth by * none
olcAccess: {2}to dn.subtree="o=MYPROJECT,dc=myproject,dc=org" by dn="uid=registry
_user,ou=system,o=MYPROJECT,dc=myproject,dc=org" write by dn="uid=proxy_user,ou=
system,o=MYPROJECT,dc=myproject,dc=org" read by * none
olcAccess: {3}to * by * none
I am using the existing LDAP attribute store microservice code successfully with that slapd olcAccess configuration.
Can you show me please an olcAccess configuration you have that does NOT work with the current code? I think that will help me understand (and reproduce) the issue you are having.
Thanks,
Scott

Hi @skoranda, thank you for sharing the configuration, really appreciate.
This is the template of my slapd acl used for tests:
https://github.com/peppelinux/ansible-slapd-eduperson2016/blob/master/roles/slapd_configure/templates/acl.ldif
using client_strategy.REUSABLE I get the following.
Satosa log:
un 24 14:44:48 debian10-pysaml-ldap2 satosa-saml2[466]: ldap3.core.exceptions.LDAPResponseTimeoutError: no response from worker threads in Reusable connection
Jun 24 14:44:48 debian10-pysaml-ldap2 satosa-saml2[466]: The above exception was the direct cause of the following exception:
Jun 24 14:44:48 debian10-pysaml-ldap2 satosa-saml2[466]: Traceback (most recent call last):
Jun 24 14:44:48 debian10-pysaml-ldap2 satosa-saml2[466]:   File "/opt/django-saml2-idp.env/lib/python3.7/site-packages/satosa/proxy_server.py", line 123, in __call__
Jun 24 14:44:48 debian10-pysaml-ldap2 satosa-saml2[466]:     resp = self.run(context)
Jun 24 14:44:48 debian10-pysaml-ldap2 satosa-saml2[466]:   File "/opt/django-saml2-idp.env/lib/python3.7/site-packages/satosa/base.py", line 303, in run
Jun 24 14:44:48 debian10-pysaml-ldap2 satosa-saml2[466]:     raise SATOSAUnknownError("Unknown error: {}".format(err)) from err
Jun 24 14:44:48 debian10-pysaml-ldap2 satosa-saml2[466]: satosa.exception.SATOSAUnknownError: Unknown error: no response from worker threads in Reusable connection

slapd log
[24-06-2019 14:46:11] slapd debug  conn=1026 op=9 SEARCH RESULT tag=101 err=0 nentries=1 text=
[24-06-2019 14:46:11] slapd debug  conn=1026 op=10 BIND anonymous mech=implicit ssf=0
[24-06-2019 14:46:11] slapd debug  conn=1026 op=10 BIND dn="cn=admin,dc=testunical,dc=it" method=128
[24-06-2019 14:46:11] slapd debug  conn=1026 op=10 BIND dn="cn=admin,dc=testunical,dc=it" mech=SIMPLE ssf=0
[24-06-2019 14:46:11] slapd debug  conn=1026 op=10 RESULT tag=97 err=0 text=
[24-06-2019 14:46:11] slapd debug  conn=1026 op=11 UNBIND
[24-06-2019 14:46:11] slapd debug  conn=1026 fd=14 closed

As we can see the first bind in REUSABLE strategy is an anon bind, then follows the one with a real dn.

@peppelinux Thanks for sharing those details. Let me look in detail and try to reproduce and I will get back to you as soon as possible. Cheers.

good to hear this @skoranda, really thanks.
The goal of this PR that evolved after ivan's change requests, is the need to expose connection paramenters in ldap store plugin configuration. Even if a conn strategy is needed or not, usable or not, for one or many users, with this PR we can have a customizable ldap client behaviour.
I need it for the things we discussed, maybe those conn paramenters could be usefull for others users in many different ways.

Regarding our last f2f meeting, would we like to introduce is_required configuration param to implement the possibility to ignore, or not, an ldap connection/query failure?
This could depend about the need, or not, of account linking matches, after the authentication response.
In addition to this, @skoranda talked about the possibility to use context object (the user's session) to share attributes and states of them. I used the same ldap_store plugin, configured in different ways, into the same stack of proxy microservices, to get different behaviour or attribute processing during different state of the same flow. What he purposed could be helpfull in this.

Hi Scott, this Is why async conn fails on that server
https://github.com/peppelinux/ansible-slapd-eduperson2016/blob/master/roles/slapd_configure/templates/disallow_anonimous_bind.ldif
I also saw that even if REUSABLE Is faster in connection handling the result set come as a decoded dictionary, instead of object as RESTARTABLE does. This latter give us raw datas in a faster way. I found the objects and its methods more flexible and faster during the trailing processing. Shared as it come, bye


WW3 does not compile on femto/intel

./build.sh -plat femto -component WW3  -compiler intel

fails with
[INFO] list of the programs selected : ww3_prnc

Processing ww3_prnc
---------------------
make[2]: Entering directory `/sciclone/home20/clemmen/devel/noaa/CoastalApp/WW3/model/ftn'
ad3 : processing w3nmlprncmd
mv: der Aufruf von stat für „w3nmlprncmd.o“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
ad3 : processing ww3_prnc
mv: der Aufruf von stat für „ww3_prnc.o“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden
      Linking ww3_prnc
      *** file ww3_prnc.o not found ***
      *** file w3nmlprncmd.o not found ***

We previously discussed this in #102, I am summarising here:
With intel:
cat ~/devel/noaa/CoastalApp/WW3/model/tmp/ww3_prnc.err
/sciclone/home20/clemmen/devel/noaa/CoastalApp/WW3/model/bin/comp: Zeile 96: /opt/spack/lib/spack/env/intel/ifort: Keine Berechtigung

This seems to be related to NetCDF issues, there was a fix proposed (and working for gnu) by @acrosby

We did the following for our ADCIRC/WW3/ATMESH Docker image build to resolve the WW3 gnu/linux build issues with the netcdf dependent WW3 components:

sed 's/`$NETCDF_CONFIG --fc`/gfortran/g' -i WW3/model/bin/comp.tmpl
sed 's/`$NETCDF_CONFIG --includedir`/\/usr\/local\/include/g' -i WW3/model/bin/comp.tmpl
sed 's/`$NETCDF_CONFIG --fc`/gfortran/g' -i WW3/model/bin/link.tmpl
sed 's/`$NETCDF_CONFIG --includedir`/\/usr\/local\/include/g' -i WW3/model/bin/link.tmpl
sed 's/`$NETCDF_CONFIG --flibs`/-L\/usr\/local\/lib -lnetcdff -lnetcdf /g' -i WW3/model/bin/link.tmpl

Not sure why the backticks are not getting processed correctly, but this brute forces the required outputs for our cases, where we have manually built netcdf4, netcdf fortran and hdf5 into the /usr/local prefix.

From NEMS:
$(ww3_mk): configure
        +$(MODULE_LOGIC) ; set -x ; cd $(WW3_SRCDIR)/esmf       ; \
        export $(WW3_ALL_OPTS)                                  ; \
        exec $(MAKE) -j 1 WW3_COMP="$(WW3_CONFOPT)" COMP_BINDIR="$(WW3_BINDIR)" ww3_nems

One of the culprits is the determination of the fortran compiler via nf-config in WW3/model/bin/comp
 # netcdf include dir
  if [ "$netcdf_compile" = 'yes' ]
  then
    case $WWATCH3_NETCDF in
      NC3) opt="$opt -I$NETCDF_INCDIR" ;;
      NC4) if [ "$mpi_mod" = 'no' ]; then comp="`$NETCDF_CONFIG --fc`"; fi
           opt="$opt -I`$NETCDF_CONFIG --includedir`" ;;
    esac
  fi

On femto, this results in a wrong compiler selected, as nc-config --fc differs from $ESMF_F90COMPILER

@awest-noaa How do you set the variable $comp to align with $ESMF_F90COMPILER?

I have a workaround:

in the environment, export ESMF_F90COMPILER to the one identified with grep ESMF_F90COMPILER $ESMFMKFILE
in comp.tmpl and link.tmpl,  set comp=$ESMF_F90COMPILER around line 96

The problem can be reduced to cmplr.env , which basically states:
if [ "$cmplr" == "intel" ] ; then
  comp_seq='ifort'
  comp_mpi='mpiifort'
fi

This is problematic @awest-noaa for two reasons:

On some systems, the intel parallel MPI fortran is called mpifort or mpif90 (single i)
The ifort on $PATH selected here may be a different one than the one ESMF was compiled with.

I recommend to check whether we compile with ESMF and then simply select the $ESMF_F90COMPILER.  If not compiled with ESMF, this needs some checking for mpif90/mpiifort/mpifort the least.

Trying:
cd  ~/devel/noaa/CoastalApp-Test/WW3/model/ftn
export aPe=../exe
export aPb=../bin
export aPo=../obj

results in
...
 Exporting WWATCH3_ENV=/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/WW3/model/bin/wwatch3.env
ad3 : processing w3wdatmd
 Exporting WWATCH3_ENV=/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/WW3/model/bin/wwatch3.env
ad3 : processing wmmdatmd
      Linking ww3_grid
 Exporting WWATCH3_ENV=/sciclone/home20/clemmen/devel/noaa/CoastalApp-Test/WW3/model/bin/wwatch3.env
make: *** [../exe/ww3_grid] Error 1


Insufficient Stock Error for Digital Product Type

What I'm trying to achieve
I want to be able to create Digital Products that do not require assignment to a Warehouse.
This bug report is similar to a previous one that was closed https://github.com/mirumee/saleor/issues/6001.
Steps to reproduce the problem

Create a Simple Product type that is not shippable (Digital Product Type)
Create a Product by filling the mandatory fields on the Dashboard.
Do not assign the Product to any Warehouse.
Checkout the product variant.

What I expected to happen
Product variants that are digital and are not inventory tracked should be purchasable without assigning to a Warehouse.
Fulfilling an Order should be possible without a Warehouse for Digital Products.
The following issue appears to correct the problem in 2020:
https://github.com/mirumee/saleor/issues/6001
https://github.com/mirumee/saleor/pull/6021
https://github.com/neerajgupta2407/saleor/blob/26068cb46ed3f18c0bc824495be8bb7281ea08b6/saleor/graphql/checkout/mutations.py#L126
However, the current implementation in 2021 https://github.com/mirumee/saleor/blob/master/saleor/graphql/checkout/mutations.py#L158 checks Warehouse stock instead of bypassing the inventory check.
The following input/mutation may be too strict when fulfilling an order as the warehouse is used to group orderlines for stock management which shouldn't be required for digital products.
https://github.com/mirumee/saleor/blob/master/saleor/graphql/order/mutations/fulfillments.py#L30-L38
Screenshots and logs

System information
Saleor version: 3.0
Saleor storefront: 3.0
Saleor dashboard: 3.0
Operating system:
MacOS

At the moment warehouse is required for all the products, even digital:
https://docs.saleor.io/docs/3.0/dashboard/catalog/products/#stock-management
We'll be revisiting this requirement in the future for digital products

Clickup task: https://app.clickup.com/t/2549495/SALEOR-3997

We are facing the same issue, any update on this?

+1 We are facing the same issue, any update on this?

+2 We are facing the same issue, any update on this?

+3 It's nearly been a year since this issue was raised.
This issue makes it seem like Saleor doesn't really have proper support for digital products.

our apologies for not solving this sooner, as we had other priorities. We will add high priority to this issue

It's still not working for me. I'm using the cloud version of Saleor with the Developer package


try_convert compiles for Vec<(T,)>, but not Vec<T>

Hi @matsadler, hope you're doing well.
I ran into some unexpected behavior with try_convert (but there may be a reason for it).
use magnus::{Error, TryConvert, Value};

struct MyType {}

impl TryConvert for MyType {
    fn try_convert(_: Value) -> Result<Self, Error> {
        Ok(MyType {})
    }
}

fn hello(v: Value) {
    // works
    Vec::<(MyType,)>::try_convert(v).unwrap();

    // does not work
    Vec::<MyType>::try_convert(v).unwrap();
}

The non-tuple version fails to compile with:
Vec::<MyType>::try_convert(v).unwrap();
               ^^^^^^^^^^^ function or associated item cannot be called on `Vec<MyType>` due to unsatisfied trait bounds
...
note: the trait `TryConvertOwned` must be implemented

It's not safe to put Ruby's Value type on the heap, so Vec<T> only implements TryConvert where T implements TryConvertOwned. And TryConvertOwned is just a promise that your type doesn't contain a Value.
A unsafe impl TryConvertOwned for MyType {} should fix your example (as far as getting Vec::<MyType>::try_convert(v) working).
Vec::<(MyType,)> should encounter the same error, but I messed up the type bounds for tuples. I'll fix that.

MyType should be fine to put on the heap, right? (since it shouldn't contain a value?)

Ah, I think I see what you're saying. The code should use unsafe impl TryConvertOwned for MyType {} if it won't contain a value.

The code should use unsafe impl TryConvertOwned for MyType {} if it won't contain a value.

Yep, that's it. TryConvertOwned is just a marker trait that requires TryConvert for the actual implementation. Similar to how PartialEq has the equality implementation, and Eq is just a promise on top of that that the type is fully equivalent.

Great, thanks @matsadler!


Wiki update

I have added some elements to the wiki. Can you make a pull request?
https://github.com/jo1gi/base16-universal-manager.wiki.git

Hi, @jo1gi I can't access the link, is it private?

@pinpox It's only a link to the git repo. Here is a link to the Github wiki:
https://github.com/jo1gi/base16-universal-manager/wiki
Sry for being unclear.

merged.


InlineScript is mandatory even script location is File path - Confusion in AzureCLI@2 task Docs

scriptLocation values are mentioned as file path and inlineScript and default value is scriptPath

task: AzureCLI@2
displayName: Azure CLI
inputs:
azureSubscription: 'DEMO'
scriptType: pwsh
scriptPath: 'Azure/AzInventory.ps1'

In this case scriptLocation is not mandatory - Please update the docs and add file path example.

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

ID: 8de3304e-98f9-bac0-3ccc-c65f68a89e87
Version Independent ID: 8fb2f6a9-545d-dff1-ff86-974694a85054
Content: Azure CLI task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/azure-cli.md
Product: devops
Technology: devops-cicd
GitHub Login: @ushan
Microsoft Alias: UshaN

Indeed, documentation around this is confusing and in parts just plain wrong. Please fix this. So much wasted time due to poor docs here.


Make textfields restorable

Description
Enabled the TextField widgets (Material's TextField, CupertinoTextField) to restore their scroll offset and their text content with the state restoration framework.
This PR requires https://github.com/flutter/flutter/pull/63131 to land first.
Related Issues
#62916
Tests
I added the following tests:

Restoration tests for TextField and CupertinoTextField.

Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

Tests will fail until https://github.com/flutter/flutter/pull/63131 is merged and this PR is rebased.

I also wanted to make sure that you've thought about TextFormField as well.

I've not looked at that one yet, but added it to the backlog in https://github.com/flutter/flutter/issues/62886.


Items fire immunity is not works

Spark link
https://spark.lucko.me/6KEyqI3HP9
Expected behavior
I have inserted in all immunity rows the same items. Example:
item:
immune:
cactus:
- minecraft:diamond
explosion:
- minecraft:diamond
fire:
- minecraft:diamond
lightning:
- minecraft:diamond
Everything should to work in the same way
Observed/Actual behavior
Items have cactus, explosion and lightning immunities, but they disappear in a regular fire and in a lava
Steps/models to reproduce
Set all immunities for the same items. Try to destroy it by those ways
Purpur version
version
[22:46:45 INFO]: Checking version, please wait...
[22:46:45 INFO]: Current: git-Purpur-2054 (MC: 1.20.1)*
Previous: git-Purpur-2035 (MC: 1.20.1)

You are 2 version(s) behind
Download the new version at: https://purpurmc.org/downloads

Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
I'm using not the latest version of purpur, but this bug lasts pretty long time, so I think that having the latest version is not matter now

Just tested on the separate clean server with git-Purpur-2056. The problem is here too

That's not desync. I have dropped 10 stacks of diamonds on the burning netherrack and they are disappeared. Walking on that netherrack gives back nothing


new BtreeIndex class

This replaces the default Postgres B-tree indices that were created directly on scalar and media columns with explicitly maintained indices using the standard index maintenance mechanisms (eg, is only maintained for the current version).
Includes:

BtreeIndex (subclass of IndexBase)
bug fixes for maintaining index value columns during updates

This change is


Improving error display by including whole JSON message

Currently, this is the kind of error you can see popping:
slacker.Error: missing_scope

With this patch, now you'll see:
slacker.Error: missing_scope: {"needed": "users:read", "provided": "admin,identify,channels:history"}

Hi @Lucas-C. Thanks for looking at it. We probably don't want to complicate the error value. All of this is already available in body field. I'm going to close this.

This doesn't make the error more complicated IMHO, it only makes it more explicit and helpful.


Make a silent mode command line option where nothing is written to console

Helpful for a daemon mod

--no-console or something along those lines


AuthorizationFailed need permission for 'Microsoft.AppPlatform/Spring/gateways/listEnvSecrets/action'

Describe the bug
The client<EMAIL_ADDRESS>with object id 'XXXXXX does not have authorization to perform action 'Microsoft.AppPlatform/Spring/gateways/listEnvSecrets/action' over scope '/subscriptions/xxxx/resourceGroups/rg-iac-asa-petclinic-mic-srv/providers/Microsoft.AppPlatform/Spring/asae-petcliasa/gateways/default' or the scope is invalid. If access was recently granted, please refresh your credentials. (Code: AuthorizationFailed)

To Reproduce
Steps to reproduce the behavior:

Create a guest User on the Tenant
At the ASA-E level, click on IAM
Add role 'Azure Spring Cloud Data Reader' to this user
Ask this guest user to connect to the portal
Ask this guest user to switch Directory to go your Tenant
Ask this guest user to click on the Azure Spring Cloud Gateway

Expected behavior
A clear and concise description of what you expected to happen.
A Built-in role should be created and documented
Screenshots

Additional context
I had to create a custom Role and add permission 'Other: List environment variables secret for Microsoft Azure Spring Apps Spring Cloud Gateway '
Can we contact you for additional details?
Y
If yes, please send us your contact information to<EMAIL_ADDRESS>and include the issue number in the email title.

This should be documented at https://learn.microsoft.com/en-us/azure/spring-apps/how-to-permissions?tabs=Azure-portal

I have created a bug internally to track the issue and will add it to our document soon.

Tracked by another issue: https://github.com/Azure/Azure-Spring-Apps/issues/22

@ezYakaEagle442 I was trying to reproduce, but I found that the role "Azure Spring Cloud Data Reader" is not sufficient even for opening the service blade. Then I created a custom role which contains all permission of the role "Contributor" but without "gateways/listEnvSecrets" and then assign to a user.

The user can not access the service, but when the Spring Cloud Gateway blade opens, it popped up error like below which is excepted:

Is that the same as what you meet?


Handle socket timeout due to rescan

When starting up after not having booted the node for a while, wallet rescans may be behind. In this case, RPC HTTP requests may time out while the rescan is running. Figure out how to handle this gracefully.

Fixed in #58.


VR controller setup

The setup process for a Vive Controller in Unity involves configuring the input mappings and integrating the controller's functionalities into your VR scene. First, you'll need to install the SteamVR plugin from the Unity Asset Store, which provides the necessary tools to interface with Vive hardware. After importing the plugin, you'll configure the controller by mapping the buttons and touchpads to specific actions or events within your game or application. This includes setting up interactions like grabbing objects, teleportation, or triggering animations. You can also customize the controller's appearance and add haptic feedback for more immersive interactions. Finally, testing the controller in the Unity editor ensures everything is functioning as expected before deployment.


[QUESTION] worker get yarn application status failed

1.worker log

2.worker conf

3.yarn app stauts

How can I solve this problem?

 HadoopUtils.Java   207 lines
   } else {
        //single resourcemanager enabled
        appUrl = appAddress;
        yarnEnabled = true;
    }

We have made changes to support multiple yarn clusters, using YARN CLI to obtain the state of the application

it occured when not enable HA. you should change HadoopUtils.Java code add appUrl = appAddress;
 } else {
        //single resourcemanager enabled
        appUrl = appAddress;
        yarnEnabled = true;
    }

It's a bug. If not fit that bug, single resourcemanager application status url is blank String, will lead to error as above.

it occured when not enable HA. you should change HadoopUtils.Java code add appUrl = appAddress;
 } else {
        //single resourcemanager enabled
        appUrl = appAddress;
        yarnEnabled = true;
    }

It's a bug. If not fit that bug, single resourcemanager application status url is blank String, will lead to error as above.

yes!

We have made changes to support multiple yarn clusters, using YARN CLI to obtain the state of the application

does single yarn runing normal?


U — Link to Mozilla Developer YT videos in appropriate places

This refers to choosing videos form the Mozilla Developer YT channel and linking to them in appropriate places in the FED learning pathway.
NB: Chris always provided a number of ideas for where we could link to things in the Learning pathways docs spec
Acceptance criteria

[ ] Relevant videos chosen (practical, not too advanced).

[ ] List of places to put videos chosen for the chosen videos.

[ ] Video embedded or linked to in appropriate places on MDN.

https://www.youtube.com/watch?v=YhlAVlfH0rQ (text labels) — under the "Meaningful text labels" heading on https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML
https://www.youtube.com/watch?v=Sp9ZfSvpf7A (cascade) — somewhere near the top of https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Cascade_and_inheritance
https://www.youtube.com/watch?v=O3DAm82vIvU (inactive CSS) — under "Inspecting the applied CSS" in https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Debugging_CSS ?
https://www.youtube.com/watch?v=spK_S0HfzFw (browser styles) — near the top of https://developer.mozilla.org/en-US/docs/Learn/CSS/First_steps/What_is_CSS
https://www.youtube.com/watch?v=KOvGeFUHAC0 (basic grid) — near the top of https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Grids
https://www.youtube.com/watch?v=RYP7jKMWkVY (font editor) — somewhere in https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Fundamentals#Fonts
https://www.youtube.com/watch?v=7mqqgIxX_NU (a11y inspector) — somewhere in https://developer.mozilla.org/en-US/docs/Learn/Accessibility
https://www.youtube.com/watch?v=aHUtMbJw8iA (why is CSS so weird?) — the see also section of https://developer.mozilla.org/en-US/docs/Learn/CSS


Add the option to search only in modified git files

VSCode Version: Version 1.18.0-insider (1.18.0-insider)
OS Version: macOS Sierra 10.12.6

I search in the issues and didn't find this feature request. add an option to search only in the modified files not committed to git yet.
I don't know if that's enough informations, don't hesitate to ask if you don't understand something.
If that's something that people want. I don't mind working on this.

This is included in https://github.com/Microsoft/vscode/issues/20530. Main question for me would be UI and how widely valuable it is. I wouldn't take a PR for it yet.