Device request - 4 Channel Relay Board -  modelId: ZB-SW04, manufacturerName: eWeLink

"ids": {
"modelId": "ZB-SW04",
"manufacturerName": "eWeLink"
},
"endpoints": {
"ieeeAddress": "00:12:4b:00:1c:d5:b5:5e",
"networkAddress": 37041,
"modelId": "ZB-SW04",
"manufacturerName": "eWeLink",
"endpointDescriptors": [
{
"status": "SUCCESS",
"nwkAddrOfInterest": 37041,
"_reserved": 20,
"endpointId": 1,
"applicationProfileId": 260,
"applicationDeviceId": 256,
"applicationDeviceVersion": 0,
"_reserved1": 0,
"inputClusters": [
0,
3,
4,
5,
6
],
"outputClusters": [
0
]
},
{
"status": "SUCCESS",
"nwkAddrOfInterest": 37041,
"_reserved": 20,
"endpointId": 2,
"applicationProfileId": 260,
"applicationDeviceId": 256,
"applicationDeviceVersion": 0,
"_reserved1": 0,
"inputClusters": [
0,
3,
4,
5,
6
],
"outputClusters": [
0
]
},
{
"status": "SUCCESS",
"nwkAddrOfInterest": 37041,
"_reserved": 20,
"endpointId": 3,
"applicationProfileId": 260,
"applicationDeviceId": 256,
"applicationDeviceVersion": 0,
"_reserved1": 0,
"inputClusters": [
0,
3,
4,
5,
6
],
"outputClusters": [
0
]
},
{
"status": "SUCCESS",
"nwkAddrOfInterest": 37041,
"_reserved": 20,
"endpointId": 4,
"applicationProfileId": 260,
"applicationDeviceId": 256,
"applicationDeviceVersion": 0,
"_reserved1": 0,
"inputClusters": [
0,
3,
4,
5,
6
],
"outputClusters": [
0
]
}
],
"deviceType": "router",
"receiveWhenIdle": true,
"capabilities": {
"alternatePANCoordinator": false,
"deviceType": true,
"powerSourceMains": true,
"receiveWhenIdle": true,
"security": false,
"allocateAddress": true
},
"extendedEndpointDescriptors": {
"1": {
"clusters": {
"basic": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"identify": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"groups": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"scenes": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"onOff": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
},
"bindings": {
"basic": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
}
},
"2": {
"clusters": {
"basic": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"identify": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"groups": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"scenes": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"onOff": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
},
"bindings": {
"basic": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
}
},
"3": {
"clusters": {
"basic": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"identify": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"groups": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"scenes": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"onOff": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
},
"bindings": {
"basic": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
}
},
"4": {
"clusters": {
"basic": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"identify": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"groups": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"scenes": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
},
"onOff": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
},
"bindings": {
"basic": {
"attributes": "UNSUP_GENERAL_COMMAND",
"commandsGenerated": "UNSUP_GENERAL_COMMAND",
"commandsReceived": "UNSUP_GENERAL_COMMAND"
}
}
}
}
}

Added to next test release.


Fix NPE in HoldPositionCharacteristic and null value in serialized characteristics

I came up with 2 bugs when trying to implement a WindowCovering.

Got a null pointer exception in HoldPositionCharacteristic because getValue() returned null but should return a CompletableFuture.
After fixing that the created json looked like "value": null. Looks like HomeKit cannot handle null values. Completely omitting the value fixed the problem.

By the way: Nice work your HAP-Java :-)

Thanks @gry79 !


Improve SEO

RL gave me feedback privately that he was frustrated that he did not find this page via:
"C# multi-line string"

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

ID: 62bd57d5-0e7d-4355-0689-4b6b90ab4057
Version Independent ID: 5737c986-9b06-9444-f7bc-893607d390d7
Content: Raw string literals - '''
Content Source: docs/csharp/language-reference/tokens/raw-string.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

The search: https://www.bing.com/search?q=c%23 multi-line string&msbd={"triggeringMode"%3A"Explicit"%2C"intent"%3A"UserHistory"}&form=BFBBQF&cvid=72a3f24d-3d4c-41d5-9984-a8f5a7c562d8&sp=12&lq=0

I'll look into this. The right pages are already on the first page, so I'm not sure how much better this can get.

The issue is that they are at the end of the set of links because we don't prioritize the most likely search term but instead the clinical feature name. I would guess that this is a challenge for multiple C# feature.


@mediapipe/facemesh with refineLandmarks crashes if used as npm module instead of script from cdn

When imported from npm module facemesh doesn't work with refineLandmarks: true, same code works perfectly if facemesh script is downloaded from cdn as in the demo. Here's full log
geometry_pipeline.cc:128] generic::internal: RET_CHECK failure (third_party/mediapipe/modules/face_geometry/libs/geometry_pipeline.cc:128) screen_landmark_list.landmark_size() == canonical_metric_landmarks_.cols() (478 vs. 468) The number of landmarks doesn't match the number passed upon initialization!
Calculator::Process() for node "facegeometryfromlandmarksandimage__FaceGeometryPipelineCalculator" failed: RET_CHECK failure (third_party/mediapipe/modules/face_geometry/libs/geometry_pipeline.cc:128) screen_landmark_list.landmark_size() == canonical_metric_landmarks_.cols() (478 vs. 468) The number of landmarks doesn't match the number passed upon initialization!; Failed to convert landmarks from the screen to the metric space!; Failed to estimate face geometry for multiple faces! [type.googleapis.com/mediapipe.StatusList='\n\xeb\x03\x08\r\x12\xe6\x03\x43\x61lculator::Process() for node "facegeometryfromlandmarksandimage__FaceGeometryPipelineCalculator" failed: RET_CHECK failure (third_party/mediapipe/modules/face_geometry/libs/geometry_pipeline.cc:128) screen_landmark_list.landmark_size() == canonical_metric_landmarks_.cols() (478 vs. 468) The number of landmarks doesn't match the number passed upon initialization!; Failed to convert landmarks from the screen to the metric space!; Failed to estimate face geometry for multiple faces!']

Hi @YuriPoluk, Could you please share your code changes to reproduce the issue. Thanks!

Here's minimal code required to reproduce the issue
`import * as facemesh from "@mediapipe/face_mesh";
init()
async function init() {
const config = {
locateFile: (file) => {
return https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>}
}
const solutionOptions = {
selfieMode: true,
enableFaceGeometry: true,
maxNumFaces: 1,
refineLandmarks: true,
minDetectionConfidence: 0.5,
minTrackingConfidence: 0.5
}
const faceMesh = new facemesh.FaceMesh(config);
faceMesh.setOptions(solutionOptions);
faceMesh.onResults(()=>{})
await faceMesh.initialize()
const element = document.getElementsByClassName('cam')[0]
element.width = 512
element.height = 512
const stream = await navigator.mediaDevices.getUserMedia({video: { width: 512, height: 512 }})
element.srcObject = stream
element.onloadedmetadata = () => {
element.play()
faceMesh.send({image: element})
}
}`

I have the same issue as @YuriPoluk
Example from CodePan working fine, but when I connect @mediapipe/face_mesh package to my Vue.JS application and activate refineLandmarks - something crashing inside of the package.
In my project I'm using latest version of @mediapipe/selfie_segmentation and @mediapipe/face_mesh.
PS. Also, there is no any good documentation or examples using @mediapipe packages in TypeScript projects.

Hi! The same issue here, everything works great with cdn but when used as npm module and refineLandmarks turned on. Crash logs are the same as provided by @YuriPoluk

I am using the NPM version 0.4.1633559619 of @mediapipe/face_mesh as well and for me either refineLandmarks or enableFaceGeometry can be activated at once, but not both at once. If I set both to true, face mesh crashes:
geometry_pipeline.cc:128] generic::internal: RET_CHECK failure (third_party/mediapipe/modules/face_geometry/libs/geometry_pipeline.cc:128) screen_landmark_list.landmark_size() == canonical_metric_landmarks_.cols() (478 vs. 468) The number of landmarks doesn't match the number passed upon initialization!

Guys, it is still an issue for me. Any updates or do you need some more information? Please help

Just to confirm: multiFaceGeometry hasn't been officially released yet, in large part because it does not yet work with refineLandmarks.  So this is expected behavior for now.  Further discussion will continue on #2988.


Adding gvvit.org domain

Adding gvvit.org
Offical Website: http://www.gvvit.org/index.php/en
Offical Courses: http://www.gvvit.org/index.php/en/academics/courses
Official domain info : http://www.gvvit.org/index.php/en/profile-gvit
(GVITemail - eMail Communication among students, staff and Management using GVITMail powered by Google Apps)

@naveen-420 Pull request merged. Thank you!

Thank you @philipto


APIM Analytics 2.0.0 spark scripts contains excessive indexing

APIM Analytics 2.0.0 spark scripts contains excessive indexing which is not needed. This causes indexing staging queues to grow and occupy unwanted space. In high throughput deployment this can fill up disk space. This issue is identified and fixed in APIM analytics 2.1.0 spark scripts. We will need to backport those changes to 2.0.0 version. We will also have to update executions plans as well which uses these tables.

Closing this as the fix has been provided via WUM for 2.0.0


911 First Responders (Steam)

Hello !
I'm interested in your patch, but I'm using 911 First Responders on steam.
How can I help you with this version?
Thank you
Torn

Maybe sometime in the future, but not atm

This has been added in Version 2.1.0 (latest)


Feature request: web app

A web app would enable smartphones to mimick a real native application without the effort to develop an actual app. For example, see Firefox on Android. SplitPro is a simple enough service that sounds like the perfect candidate for such a solution.

I think it's already working as a PWA (Progressive Web App)

Navigate with your mobile browser to the Site
Hit the Options Button of your browser
Hit "Add to Homescreen"
You get a nice looking App Icon. And it all looks like a native App

pwa is supported like @kruemelro mentioned.
also if you install as pwa you will also able to receive push notifications.

Does it work properly offline (without any internet)?

nope, can't do offiline stuff!


Looking to learn and contribute

Hi, I am looking forward to seeing V1.0.0 releases of this project (rsocket-routing). Are you guys looking for unpaid intern? I would love to be a contributor too but I am afraid that I don't have enough experience.

Oh,I have the same idea

I don't know if we will get a response haha

The documentation is where it would be easiest to contribute without much experience


[WIP]Add NodePort support for Antrea Proxy

/test-all

Codecov Report

Merging #1422 into master will decrease coverage by 4.91%.
The diff coverage is 43.96%.

@@            Coverage Diff             @@
##           master    #1422      +/-   ##
==========================================
- Coverage   64.59%   59.68%   -4.92%
==========================================
  Files         159      159
  Lines       12654    12901     +247
==========================================
- Hits         8174     7700     -474
- Misses       3629     4345     +716
- Partials      851      856       +5

Flag
Coverage Δ

#integration-tests
44.68% <42.72%> (-0.34%)
:arrow_down:

#kind-e2e-tests
40.22% <13.36%> (-10.60%)
:arrow_down:

#unit-tests
41.70% <17.36%> (-0.49%)
:arrow_down:

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


Enable finetuning on RHO-LOSS selection strategy when Twin strategy is used to produce the irreducible loss model

Per the title

Did some sanity check by running a small-scale pipeline. Everything is expected.

Please hold off on review, as I realized an issue not to be dealt with.

Please hold off on review, as I realized an issue not to be dealt with.

fixed


Runit: packaging new init-supervisor system

It is me, yet again. Dropping the busybox dependency one package at a time.
Jokes aside, I am packaging runit and runit-init. I will be pushing the WIP package in a moment and require reviews and testing.

Since I'm also planning to do this, what are you planning for /etc/runit/1 and 3? Personally I would symlink them to baseinit.

@konimex Yup, I did that and tested it. Works good.

Just leave gnu shepherd for me to package, KTHX :rofl:

@a-schaefers I can leave systemd for you to package :stuck_out_tongue:


Links in docs point to old github res

Update the links in the beets/docs for GitHub.

Irrelevant for 2.0.0. URL Redirects to the correct path anyways.


fishtape tests failing

I kind of mixed up two different issues in #2, so I will leave #2 for the self-contained fishtape and use this one for the failing tests.
This is the result I got when running fishtape test/*.fish -d | fish_indent
http://pastebin.com/iYxViSmx
and this is what I get when running fishtape test/*.fish or make test
TAP version 13
ok 1 arrays: ( foo ) in ( foo bar baz quux )
ok 2 arrays: ( foo bar baz quux ) != ( foo )
ok 3 arrays: ( foo bar ) in ( foo bar baz quux )
ok 4 arrays: ( foo bar baz quux ) != ( foo bar )
ok 5 arrays: ( foo bar baz ) in ( foo bar baz quux )
ok 6 arrays: ( foo bar baz quux ) != ( foo bar baz )
ok 7 arrays: ( foo bar baz quux ) in ( foo bar baz quux )
ok 8 arrays: norf does not exist in foo bar baz quux
ok 9 arrays: list contains sentence
ok 10 arrays: list contains multiple sentences
ok 11 arrays: list does not contain at least one of the given words
ok 12 bench: benchmark utilities with -t
ok 13 bench: benchmark utilities with -t using comma separated list
ok 14 bench: benchmark utilities with --time
ok 15 bench: benchmark utilities with --time using comma separated list
not ok 16 bench: pipe benchmark output to program with --pipe
  ---
    operator: =
    expected: echo printf
    received:
  ...
ok 17 meta: display program version
not ok 18 meta: display failed test yaml data
  ---
    operator: =
    expected: --- operator: -eq expected: 1 received: 0 ...
    received:
  ...
not ok 19 meta: display TAP version
  ---
    operator: =
    expected: a builtin test operator
    received: TAP version 13
  ...
not ok 20 meta: display 1..count
  ---
    operator: =
    expected: a builtin test operator
    received: 1..4
  ...
not ok 21 meta: allow # inline comments
  ---
    operator: =
    expected: ok 3 inline comments
    received:
  ...
not ok 22 meta: ok test
  ---
    operator: =
    expected: ok 4
    received:
  ...
not ok 23 meta: display number of tests
  ---
    operator: =
    expected: # tests 4
    received:
  ...
not ok 24 meta: display number of passed tests
  ---
    operator: =
    expected: # pass 2
    received:
  ...
not ok 25 meta: fail test
  ---
    operator: =
    expected: a builtin test operator
    received: not ok 1 one is zero
  ...
not ok 26 meta: display number of failed tests
  ---
    operator: =
    expected: # fail 2
    received:
  ...
ok 27 meta: display program help
not ok 28 meta: -n argument expects argument
  ---
    operator: =
    expected: not ok 2 nothing is something --- operator: fail expected: argv > 1 received: -n ...
    received:
  ...
not ok 29 methods: print a '#' TAP comment
  ---
    operator: =
    expected: TAP version 13 # foo
    received:
  ...
not ok 30 methods: generate a passing assertion with pass
  ---
    operator: =
    expected: TAP version 13 ok 1 foo 1..1 # tests 1 # pass 1 # ok
    received:
  ...
not ok 31 methods: generate a failing assertion with fail
  ---
    operator: =
    expected: TAP version 13 not ok 1 foo --- operator: fail expected: success received: failure ... 1..1 # tests 1 # pass 0 # fail 1
    received:
  ...
ok 32 numbers: 1 equals 1
ok 33 numbers: 1 not equals 0
ok 34 numbers: 1 > 0
ok 35 numbers: 1 >= 1
ok 36 numbers: 1 < 2
ok 37 numbers: -1 <= 0
ok 38 sandbox: setup is called before running tests
ok 39 sandbox: teardown is called after running tests
ok 40 sandbox: setup is called once per *every* test
ok 41 sandbox: teardown is called after running tests
ok 42 scope: globals modified outside `setup` are set only once #1
ok 43 scope: globals are restored before teardown
ok 44 scope: globals modified outside `setup` are set only once #2
ok 45 scope: globals are restored before teardown
ok 46 scope: globals modified inside `setup` are set once per each test
ok 47 scope: globals are restored before teardown
ok 48 strings: = operator
ok 49 strings: != operator
ok 50 strings: -z operator
ok 51 strings: -n operator
ok 52 variables: TESTNAME var is defined
ok 53 variables: DIRNAME var is defined
ok 54 variables: FILENAME var is defined
ok 55 variables: FILENAME is the path to the running test script
ok 56 variables: DIRNAME is the directory name FILENAME
ok 57 variables: TESTNAME is the name of the running script
ok 58 variables: DIRNAME is a directory
ok 59 variables: FILENAME is a file

1..59
# tests 59
# pass  45
# fail  14

Any idea of why this is failing?

Good news. I have managed to add a build step to generate a self-contained Fishtape which I should be pushing shortly.
About these failling tests, did you run
    sudo make test

?
That will cause fishtape to fail because, you can't sudo Fish functions. But if it's not that, can you confirm that there is  fishtape directory inside ~/.config/fish ?

Good news. I have managed to add a build step to generate a self-contained Fishtape which I should be pushing shortly.

Great!

About these failling tests, did you run

No, I did not run it with sudo. I simply used make to install everything.
My fish directory looks something like this.
tree -L 2 ~/.config/fish/
/home/daniel/.config/fish/
├── config.fish -> /home/daniel/.homesick/repos/dot-files/home/.config/fish/config.fish
├── fishtape
│   ├── assert
│   ├── comment
│   ├── compiler
│   ├── count
│   ├── error
│   ├── fail
│   ├── init
│   ├── locals
│   ├── pass
│   ├── reset
│   ├── restore
│   ├── setup
│   ├── teardown
│   ├── test
│   └── total
├── functions
│   ├── fishtape.fish
│   └── pyenv.fish
└── fundle
      ├── edc
      ├── joehillen
      ├── johillen
      ├── kenchan0130
      ├── oh-my-fish
      └── tuvistavie

@tuvistavie Pushed new self-contained Fishtape, improved Makefile, etc. I broke the laws of the universe and pushed --force starting afresh again. It should have been self-contained since the beginning.
Try again and let me know if you encounter any problems.

@bucaran  The self-contained version seems to be working, but the same tests are still failing. It seems that fishtape $meta does not return any result.
Running the commands executed in the test (e.g. fishtape test/fixtures/meta.fish | sed -n '3,7p' | xargs) from the terminal returns the correct result though.
» fishtape test/fixtures/meta.fish | sed -n '3,7p' | xargs
--- operator: -eq expected: 1 received: 0 ...

From my Ubuntu vm, after installing fish:
vagrant@precise32:~$ git clone https://github.com/fisherman/fishtape
Cloning into 'fishtape'...
remote: Counting objects: 62, done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 62 (delta 3), reused 0 (delta 0), pack-reused 37
Unpacking objects: 100% (62/62), done.
vagrant@precise32:~$ cd fishtape/
vagrant@precise32:~/fishtape$ make
rm -f `dirname build/fishtape.fish`/*
cat fishtape.fish > build/fishtape.fish
printf "function __fishtape@runtime\n" >> build/fishtape.fish
cat share/runtime/*.fish >> build/fishtape.fish
printf "end\n" >> build/fishtape.fish
for f in share/*.fish; do\
		printf "function __fishtape@`basename $f .fish`\n" >> build/fishtape.fish;\
		cat $f >> build/fishtape.fish;\
		printf "end\n" >> build/fishtape.fish;\
	done
sed "/# FISHTAPE #/r compiler.awk" build/fishtape.fish >> build/fishtape.fish.tmp
mv -f build/fishtape.fish.tmp build/fishtape.fish
sed -E "s/(set -l fishtape_version).*/\1 `cat VERSION`/" build/fishtape.fish > build/fishtape.fish.tmp
mv build/fishtape.fish.tmp build/fishtape.fish
mkdir -p $HOME/.config/fish/functions && cp -f build/fishtape.fish $HOME/.config/fish/functions
fish -c "fishtape test/*.fish"
TAP version 13
ok 1 arrays: ( foo ) in ( foo bar baz quux )
ok 2 arrays: ( foo bar baz quux ) != ( foo )
ok 3 arrays: ( foo bar ) in ( foo bar baz quux )
ok 4 arrays: ( foo bar baz quux ) != ( foo bar )
ok 5 arrays: ( foo bar baz ) in ( foo bar baz quux )
ok 6 arrays: ( foo bar baz quux ) != ( foo bar baz )
ok 7 arrays: ( foo bar baz quux ) in ( foo bar baz quux )
ok 8 arrays: norf does not exist in foo bar baz quux
ok 9 arrays: list contains sentence
ok 10 arrays: list contains multiple sentences
ok 11 arrays: list does not contain at least one of the given words
ok 12 bench: benchmark utilities with -t
ok 13 bench: benchmark utilities with -t and comma separated list
ok 14 bench: benchmark utilities with --time
ok 15 bench: benchmark utilities with --time and comma separated list
ok 16 meta: display program version
ok 17 meta: display failed test yaml data
ok 18 meta: display TAP version
ok 19 meta: display 1..count
ok 20 meta: allow # inline comments
ok 21 meta: ok test
ok 22 meta: display number of tests
ok 23 meta: display number of passed tests
ok 24 meta: fail test
ok 25 meta: display number of failed tests
ok 26 meta: display program help
ok 27 meta: -n argument expects argument
ok 28 methods: print a '#' TAP comment
ok 29 methods: generate a passing assertion with pass
ok 30 methods: generate a failing assertion with fail
ok 31 numbers: 1 equals 1
ok 32 numbers: 1 not equals 0
ok 33 numbers: 1 > 0
ok 34 numbers: 1 >= 1
ok 35 numbers: 1 < 2
ok 36 numbers: -1 <= 0
ok 37 sandbox: setup is called before running tests
ok 38 sandbox: teardown is called after running tests
ok 39 sandbox: setup is called once per *every* test
ok 40 sandbox: teardown is called after running tests
ok 41 scope: globals modified outside `setup` are set only once #1
ok 42 scope: globals are restored before teardown
ok 43 scope: globals modified outside `setup` are set only once #2
ok 44 scope: globals are restored before teardown
ok 45 scope: globals modified inside `setup` are set once per each test
ok 46 scope: globals are restored before teardown
ok 47 strings: = operator
ok 48 strings: != operator
ok 49 strings: -z operator
ok 50 strings: -n operator
ok 51 variables: TESTNAME var is defined
ok 52 variables: DIRNAME var is defined
ok 53 variables: FILENAME var is defined
ok 54 variables: FILENAME is the path to the running test script
ok 55 variables: DIRNAME is the directory name FILENAME
ok 56 variables: TESTNAME is the name of the running script
ok 57 variables: DIRNAME is a directory
ok 58 variables: FILENAME is a file

1..58
# tests 58
# pass  58

# ok
DONE. Run 'fishtape --help' or 'make doc' to build the man page.

@tuvistavie I wonder if the $FILENAME variable is correctly set.
/home/daniel/tmp/fishtape/test/meta.fish

@bucaran Ok, I think I was able to reproduce the issue. I have no idea why this is happening, but it seems that having
test -z "$TMUX"; and exec tmux

in my config.fish makes the tests fail as described above. If you cannot reproduce this on your machine, try with this Vagrantfile.
Vagrant.configure(2) do |config|
  config.vm.box = "ubuntu/trusty64"

  config.vm.provider "virtualbox" do |v|
    v.memory = 1024
  end

  config.vm.provision "shell", inline: <<EOF
    apt-get update
    apt-get install -y git autoconf build-essential tmux git libncurses5-dev
    git clone https://github.com/fish-shell/fish-shell.git
    su - vagrant -c 'echo "set-option -g default-shell \\"/usr/local/bin/fish\\"" > $HOME/.tmux.conf'
    su - vagrant -c 'mkdir -p $HOME/.config/fish'
    su - vagrant -c 'echo "test -z \\"\\$TMUX\\"; and exec tmux" > $HOME/.config/fish/config.fish'
    su - vagrant -c 'echo "exec fish" >> $HOME/.bashrc'
    cd fish-shell
    git checkout 2.2.0
    autoconf && ./configure && make && make install
    cd ..
    rm -rf fish-shell
    su - vagrant -c 'git clone https://github.com/fisherman/fishtape.git'
EOF
end

If you just vagrant ssh, go to the fishtape directory and run make, the tests should fail.

@tuvistavie I was able to reproduce the error. Great thanks for the find.
I think I fixed this in the last push. Would you mind giving it another shot?

@bucaran  I just tried with a fresh VM but it did not get any better. After vagrant ssh I simply run make; make install; make test in the fishtape directory. fishtape test/*.fish gives the same result. Tell me if you want the logs, but I think you should be able to reproduce it with the Vagrantfile I gave you.

@tuvistavie Alright. I think we have a winner now.

@bucaran Works perfectly now, great job!


update trail map

Deploy preview for landscape ready!
Built with commit fce43ab8a3e5590b477563e411d10530bcfd8a1b
https://deploy-preview-826--landscape.netlify.com


TSLint is deprecated

🐞 Bug report
Command (mark with an x)

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[x] add
[x] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
:+1:

 Yes, the previous version in which this bug was not present was: ....
Description
 A clear and concise description of the problem...
In release post of angular v9.1

TSLint 6.1 by default
Newly created projects will now use TSLint 6.1 by default. If you want to migrate to the latest version, make sure you are on version 9.1 first, then you can opt-in via:
ng update @angular/cli --migrate-only tslint-version-6

TSLint is deprecated and migration to ESLint is advised according to its docs

This is duplicate of https://github.com/angular/angular-cli/issues/13732.
Here is the official answer: https://github.com/angular/angular-cli/issues/13732#issuecomment-575796158

Closing as per above comment


TinCLIP training log

In my reproduction of auto_weight_inherit_100to75.sh, the imagenet-zeroshot-val-top1 is 0.0010 in Train Epoch: 0 [2501/48828]. I wonder about the situation weather is normal.

The wandb log.

It happened in Cross-Modal distillation process.

@Gumpest I observed --train-data synthetic in the training command.
Did you replace the dataloader with the one loading LAION-400M image-text pairs?

@wkcn Oh, I didn't do that. The step is not mentioned in the docs. Do you have detailed information.

Sorry for that. Regarding to the data loader, you can refer to the repo OpenCLIP (https://github.com/mlfoundations/open_clip?tab=readme-ov-file#data).

@wkcn Sorry to bother you, (https://github.com/mlfoundations/open_clip?tab=readme-ov-file#data) tells me how to download the laion-400m dataset, and "replace the dataloader with the one loading LAION-400M image-text pairs" means what😂

@wkcn or please provide the script to train with YFCC.

Sorry for late reply.

@wkcn Sorry to bother you, (https://github.com/mlfoundations/open_clip?tab=readme-ov-file#data) tells me how to download the laion-400m dataset, and "replace the dataloader with the one loading LAION-400M image-text pairs" means what😂

In our scripts, --train-data and --dataset-type are both synthetic. You need to replace it in order to load the LAION-400M or YFCC-15M datasets.

@wkcn or please provide the script to train with YFCC.

Please refer to the following hyper-parameter. Other settings are the same as the experiments (TinyCLIP/scripts/ manual_weight_inherit_100to75.sh) on LAION-400M.
On YFCC-15M, it contains 2 compression stages, where the training epochs are both 25 from 100% to 50% parameters, and 50% to 10%. We follow the hyper-parameter of CLIP except that the learning rate is set to 10^−4 when using weight inheritance.


Add security documentation to repository [skip ci]

Add information on how to contact NVIDIA in case of security issues.

build

build

build


Move to a new version of anglicangeek.markdownmailer

Gallery references the old unlisted version from 2011. There is a newer version (which is not unlisted) from 2013. We should use that one: https://www.nuget.org/packages/MarkdownMailer/

@joelverhagen @skofman1 It appears this newer version has been removed. Shall we close this issue?

Yes, I think we'd only update if we had a compelling reason. I don't recall a compelling reason since this issue was filed.


[ERR] www.smallbiz.att.com: has no nameserver record for all records, gained by _subfind.sh att.com

bash ~/scripts/_subfind.sh att.com | subzuf --format list att.com | dnstake

which is obviously wrong. MacOS 12.6.1 Any ideas?

the same issues

the same issue
any help?


python.pkgs.tensorflow:  1.15.0 -> 2.0.0

Motivation for this change
Tensorflow 2.0 was released. This is WIP. The only testing I did for now was to build the py3, non-cuda variant on aarch64 using the community builder. Things to do:

more testing
fill in cuda hash
think about whether or not we want to enable cuda by default, as upstream seems to do now. Least surprise for users, easiest to handle. But annoying since cuda is unfree, thereby "infecting" tensorflow.
somehow keep 1.14? It is problematic to mix python versions, so maybe we shouldn't do it. I think users could just use tf 2 in its compatibility mode instead.

If users need 1.14 they can take it from an older Nixpkgs.

Please keep 1.14/1.15 around for a while! Users cannot switch to TF 2.0's compat mode, they completely dropped tf.contrib, on which a lot of models depend (for instance, all our models use at least something from tf.contrib). tensorflow-addons only provides a subset of the original functionality.

A lot of users cannot switch to TF 2.0's compat mode.

Why is that? If I understand the release notes correctly (I haven't tested this yet) you should be able to just set the environment variable TF2_BEVHAVIOR=0 and have it act like tf1.
Keeping multiple versions with python is not simple, since the python interpreter will not be able to deal with different versions. Also there would need to be duplicates for all reverse deps etc.

A lot of users cannot switch to TF 2.0's compat mode.

Why is that? If I understand the release notes correctly (I haven't tested this yet) you should be able to just set the environment variable TF2_BEVHAVIOR=0 and have it act like tf1.

As I mentioned, TF 2.0 with compat does not have tf.contrib. First sentence from the TF2 migration pages:

It is still possible to run 1.X code, unmodified (except for contrib), in TensorFlow 2.0:

https://www.tensorflow.org/guide/migrate
We are currently migrating code to Tensorflow 2.0, but it will take a while before all the contrib functionality is rewritten.

Ah right, I seem to have misunderstood. So tf 1.15 can work as tf1 or tf2 while tf 2.0.0 can only work as tf2. But tf 1.15  still won't be able to execute tf 2.0 entirely without modification since you need to actively enable the tf2 features.
What a mess. So in that case its probably best to wait for 1.15 to be released (currently in rc3) and ship that first. Then maybe after a month or two, when the core infrastructure had time to adapt (for example sonnet 2.0 is still in beta) do the 2.0 update.

Yea, i would hold off on bumping this..... that data science community needs some time...

1.15.0 has been released. The update is in https://github.com/NixOS/nixpkgs/pull/71282, I'll keep this open as a WIP for the eventual 2.0 update.

tensorflow 2.0.0 works now (with bazel 1.19). So from a technical point of view this is ready. Any strong opinions on when to merge this?

When most of the downstream packages have had time to bump to tensorflow 2. I would almost be willing to make an exception to the "only 1 package version for python". This package is pretty much impossible to get without significant effort, for nixos users who need tensorflow<2, they will have a difficult time.

Also, tensorflow 1.15 contains an implementation of both v1 and v2 APIs, so I think this is the correct version to have during this transition period

Also, I think Tensorflow 2.0 does not provide a C library yet:

Note: There is no libtensorflow support for TensorFlow 2 yet. It is expected in a future release.

https://www.tensorflow.org/install/lang_c
Which means that the graphs created with Tensorflow 2.0 (in contrast to v2 compat in 1.15.0) cannot be used with many bindings yet.

When most of the downstream packages have had time to bump to tensorflow 2. I would almost be willing to make an exception to the "only 1 package version for python". This package is pretty much impossible to get without significant effort, for nixos users who need tensorflow<2, they will have a difficult time.

Well as @fridth suggested, its always possible to take it from an earlier nixpkgs. Since 1.15.0 is in the channels now, that should be as easy as
let
  tf1_pkgs = let
    nixpkgs-rev = "e89b21504f3e61e535229afa0b121defb52d2a50"; # nixos-unstable from 2019-11-20
  in import (builtins.fetchTarball {
    name = "nixpkgs-${nixpkgs-rev}";
    url = "https://github.com/nixos/nixpkgs/archive/${nixpkgs-rev}.tar.gz";
  }) {};
in
something

I'm been playing around with TensorFlow for a few days, and I'm using TensorFlow from this branch.  It has been working well so far.
I'm pretty much a beginner with Python and TensorFlow, and a lot of the tutorials on the TensorFlow website are using version 2.0, so it made sense for me to use this branch.
Aside from a long compile time, everything seems to be working well.  I've tried a few of the simple tutorials on the TensorFlow site, and I get the expected results.

 I propose that we skip 2.0.0 (since it has little benefit over 1.15.0) for now, but update to 2.1.0 as soon as it is available.

Note that 2.1.0 has now been released, may be worth at least evaluating how existing packages are affected.

not sure about individual packages, but at work I still only see people using tensforflow<2, if they use tf at all.

Well as @FRidh suggested, its always possible to take it from an earlier nixpkgs. Since 1.15.0 is in the channels now, that should be as easy as...

Still, pinning specific packages is a terrible user experience.

It would be really great to get tensorflow-2.0.0 before the 20.03 release.

it would be great if python packaging allowed us to have tensorflow_1 and tensorflow_2 to exist without it conflicting in the same closure :(

Still no libtensorflow :(. I am not sure that the situation will improve anytime soon, so perhaps it's time to move to 2.1, since some large libraries now expect >= 2 (e.g. Hugging Face transformers).

Yeah I would think it's fine to have tensorflow_1 and tensorflow_2 and a tensorflow alias, with the restriction that libraries only depend on tensorflow. Then both can be cached but there is no package coherence problem.

There are some other special cases where we do this, e.g. Django.

We should probably get this in before the feature freeze tomorrow

We should probably get this in before the feature freeze tomorrow

Agreed! I think the same counts for
https://github.com/NixOS/nixpkgs/pull/75827

For the plain update, this should be good to go IIRC. My time is pretty limited right now, so I'll not be working on this before the branchoff. Merge / fork off at your own discretion.

seems that the branch off has been delayed a bit.

Well, the current build is broken, I don't see any harm in merging this

@GrahamcOfBorg build python3Packages.tensorflow

There are current PRs that will depend on having a packaged TF 1 variant due to the sunsetting of contrib, see #61253

There are current PRs that will depend on having a packaged TF 1 variant due to the sunsetting of contrib, see #61253

Which currently does not work, because neither tensorflow and tensorflow-bin currently work. The former because it relies on Bazel 1 (#77771), so this requires keeping a Bazel 1 derivation around. Also, Tensorflow 1.15 require patches to work with the current glibc (#81035).
These things are only going to get worse as the ecosystem moves on and Google loses interest to maintain the 1.15 branch.
I think at this point, it makes most sense to switch to Tensorflow 2, since that is what most people will expect now and is required by various high-profile projects (e.g. Hugging Face transformers). Tensorflow 1.15 and projects that rely on it could always be packaged in NUR.

Ha true, but once my PR's get merged they will! I agree with you in principal (I have migrated all of my active projects to tf2) however, several libraries like Sonnet 1, Deepmind's graph library, Deeplabcut, all depend on tf1 and are unlikely to be updated. I also have a PR for adding a configurable bazel build with bazel 1 #81033, so I don't see the harm in having a legacy tensorflow implementation, we could even add a separate tensorflow_1 derivation.

we could even add a separate tensorflow_1 derivation.

That was my initial suggestion, but this is probably not a good idea as discussed upthread.

Hm, is there some workaround for applications?
The PR that @mjlbach referenced would be of high use to the scientific community. Deeplabcut has been used in dozens or more high profile papers, and popularity is only increasing.
Unfortunately the package is a PITA to install and neither conda nor docker are fully functional due to various restrictions. Nix would really shine here, and it’s a gateway to growing nix datascience community.
TF1 vs TF2 is more analogous to Python 2 vs Python 3 than a typical package update. There’s a huge ecosystem dependent on tf1 that is not switching in the foreseeable future.

I am currently rebasing this to be a new additional version rather than replacement.

related: #83518

We've landed the 2.1 change.

Can someone explain the differences and equivalences?
In TF1, I used tensorflowWIthCuda and tensorflowWithoutCuda.
Now with TF2, what is the equivalent here?
I see:

tensorflow_2
tensorflow-bin_2
tensorflow-build_2

What translates to the "CUDA" and non-CUDA variant?

be the change you want to see :)

tensorflowWithoutCuda

@CMCDragonkai
use python37Packages.tensorflow_2.override { cudaSupport = true; }


License report & automatic LICENSE content check

Adds a Gradle plugin to generate license reports, which is then used for two purposes:

Generate a license report
Verify that dependencies that have to be mentioned in LICENSE are mentioned there

The Gradle check task depends on the "dependencies to mention in LICENSE" - so CI will fail if a dependency isn't mentioned there. Those are dependencies that are not licensed as Apache and are either MIT, BSD, Go, ISC or "Universal Permissive".
The licence report is generated as HTML and packed as a ZIP file for each Gradle project that is considered a distribution (currently only :polaris-service).
A new project aggregated-license-report is there to collect the NOTICE + LICENSE files and all individual projects' license reports and add those to a single ZIP file.
This PR is a port of the same functionality that Nessie used for quite a while now.
Depends on #10 and #53

Only the last two commits actually belong to this PR:

one that adds the build code
one that updates the NOTICE file

/cc @jbonofre

@snazy There are still some Snowflake headers in there, could you please tidy them up?

Ping @RussellSpitzer

Thanks @snazy!


Create lonely node disk if does not exist already

I had already existing cloud created with mkcloud and I wanted to add one lonely node to it with command from https://github.com/SUSE-Cloud/automation/blob/master/docs/mkcloud.md#example-usage
But it failed (I added nodenumberlonelynode=1 into config file)
https://gist.github.com/matrixik/0d352db50a9e8760da49911fd88bd3cd
Looks like now this lonely node needs to be created by hand but it still need to have proper disk name that's in line with other disk naming so there is no reason to not create it automatically if it does not exist already.


refactor!: split the confidence module to a new module

When we merge this we need to include that it is a breaking change.

@fabriziodemaria I added awaitReconciliation function + an extension named awaitPutContext. I think that fixes the issue.


Better way to input triple quotes?

support ``` for markdown code block?
support """ for python block string?

https://github.com/windwp/nvim-autopairs/issues/14
Support multiple character need to rewrite something.


bailador watch api.pl6 - cannot run if there is no lib directory

In v0.0.5
$ bailador watch api.pl6
Attempting to boot up the app

After creating a either a directory called lib or a directory called bin, the above command is successful.
$ bailador easy api.pl6

works even without those directories.

Files that do not exists are getting removed from the watchlist. According to Ticket #166 the file that you are executing is now also being watched. This means there can't be an empty watchlist. so it just works ;-)


[Feat]: adding menu icon

Hi @dakshsinghrathore I want to add this menu feature that includes [mission, career, update, launches ], could you assign this to me?

assigned 🤝


ghq fails to clone or list if files or directories in the GHQ_ROOT are not accessable

This looks similar to #165, but instead of a dangling symlink, I have directories which are root owned. It's probably a little odd, but I have my GHQ_ROOT set to the root of a macOS volume. In there are several root owned directories (.Trashes, .Spotlight-V100 and .fseventsd).
In my opinion, skipping over inaccessible directories, or possibly directories starting with a dot would be a good idea. As is, after updating my ghq, no operations work anymore:
ghq get https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
     error open /Volumes/code/.Spotlight-V100: permission denied

After disabling spotlight indexing and removing that directory, the next one is .Trashes:
$ ghq list
     error failed to filter repos while walkLocalRepositories(repo): open /Volumes/code/.Trashes: permission denied

Thanks for reporting. I fixed at #176.
Instead of ignoring all dotfiles flatly, I made a check if it is a dotfile if there is no permission.

released as v0.12.3. please try it.


⚠ Bofrost.de has degraded performance

In 5fc79e5, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 849 ms

Resolved: Bofrost.de performance has improved in 8681981.


Robust GLTF Extension Support

GLTF High Level Overview
GLTF stands for Graphics Library Transmission Format, and is an industry standard file format for representing 3D scenes developed by the Khronos Group (known for OpenGL, Vulkan, etc). GLTF files can take two different forms:

.gltf which is a JSON file describing a 3D scene along with resources (.bin, images, etc) either stored externaly in binary/image/etc files, or internally in base64 encoded strings.
.glb which stores the gltf asset (JSON, .bin, images, etc) in a binary blob.

In addition to the core GLTF specification (which covers most things like textures, meshes, scenes, etc), GLTF also supports Extensions.
Extensions:
An Extension is additional data that can be appended to any JSON object in a gltf file to provide additional functionality. For example, the KHR_materials_ior extension appends a single float to a material that represents its Index of Refraction.
Extensions were designed to be an interoperable way to extend GLTF functionality without affecting the core GLTF specification, with unsupported extensions simply being ignored. However, some extensions do need to affect the core GLTF specification in a non-interoperable way. For example, EXT_meshopt_compression which appends pointers to buffers containing compressed mesh data makes the original non-compressed mesh buffer pointer optional (it may be included for interoperability, but it somewhat defeats the purpose to include both compressed and uncompressed data).
All extensions used must be listed in the root GLTF object's extensionsUsed array. If an extension produces a core GLTF specification non-compliant file, then the extension must be listed in the root GLTF object's extensionsRequired array.
GLTF Specification:
The full GLTF specification can be found here.
GLTF in Bevy
How it currently works:
Bevy currently uses gltf-rs to parse a .gltf file's bytes into a rust friendly data structure which is then used to fill out our internal GLTF representation with data.
Our internal GLTF representation covers the core GLTF specification, as well as Extras. However, Bevy does not currently support any extensions, GLTF compliant or non-compliant, and because of this we are missing out on a large number of very useful GLTF features.
Objective:
Bevy needs a flexible internal GLTF representation that can support GLTF compliant and GLTF non-compliant extensions, as well as a way for users to implement their own custom GLTF extensions.
After looking into every officially ratified GLTF extension, I found that only KHR_draco_mesh_compression, KHR_mesh_quantization, KHR_texture_basisu, KHR_texture_transform, EXT_meshopt_compression, and EXT_texture_webp can create non-compliant gltf files. These extensions fall into two categories:

KHR_draco_mesh_compression, KHR_texture_basisu, KHR_texture_transform, EXT_meshopt_compression, and EXT_texture_webp all follow the pattern of making some part of the original gltf specification optional.
KHR_mesh_quantization is unique in that it allows mesh data to be represented by other data types than a float, which the original spec requires. It is also unique in that it is not possible to specify a fallback, and so if this extension is used it must be required.

With this in mind, we can come up with some (potentially unreasonable) goals for Bevy's GLTF implementation:

The internal representation must include all features in the core GLTF specification, but must also:

Allow Extensions to mark core GLTF data as optional.
Allow Extensions to change the data type of some core GLTF data.
Allow Extensions of Extensions to mark another extension's data as optional.
Allow Extensions of Extensions to change the data type of another extension's data.

Extensions must be able to specify how their data is loaded and saved.

This supports features such as compression.
This hopefully will allow there to be a single AssetLoader and AssetSaver for any combination of GLTF extensions.
Extensions must be able to report whether or not they will create a GLTF compliant file based on save settings.

Extensions must contain a list of other extensions which they are incompatible with.
Extensions must contain a list of other extensions which are required.

This list is not set in stone and may change as I work on implementing extensions.

Relevant: https://github.com/bevyengine/bevy/pull/11138

Relevant: #11138

I like #11138 as a good short term solution, but my hope with this issue is to develop a more robust solution for GLTF extensions in bevy since it is a very important part of the GLTF ecosystem. It's a significant undertaking which may take a while though, so I think it would be a good idea to have #11138 merged first. Any extension support is better than no extension support.

any updates?

heloo?


Bug: Ray incompatibility with pydantic

Most up to date version of pydantic has conflict with Ray; pydantic has to be downgraded below version 2.  Bug in ray has been documented, but has not been fixed as of yet.
Workaround is to reinstall a lower version of pydantic with: pip3 install "pydantic<2"

When is this an issue? We havent seen this in Mac or Linux.

MacOS Ventura, 13.5.1.  Occurs directly following step 5a, removing N's from contig files.
Command ran was:  metacerberus.py --prodigal /Users/xxxx/Downloads/ATCC.fna --hmm "VOG, PHROG" --dir_out /Users/xxxx/Downloads/lambda_vir-only_dir
This bug has been documented while initializing Ray: https://github.com/ray-project/ray/issues/37019
Downgrading pydantic to below version 2 corrects this error.

This line during install will fix the Mac Issue for OSX-ARM (M1/M2) Macs.
conda install -y -c conda-forge mamba python=3.10 "pydantic<2"
Close for now. Let us know if it doesn't fix it.
thank you for using MetaCerberus!
Raw lab.


suggestions does not show up

I click the "Random Freebase item" link in the sidebar. Sometimes I end up on items with no suggestions. However one statement section looks different - like the suggestion wasn't properly expanded. Q381734 is one item where this happens.

This should have been fixed with https://github.com/google/primarysources/commit/932484bc5f769d47739c2ec34603edd3372dc23e. Please reopen if this is still an issue.


OracleLinux support

As stated on https://about.gitlab.com/downloads/ the Omnibus installer is supported on OracleLinux.
After a minor modification (adding 'OracleLinux' to the operatingsystem case in packages.pp) Gitlab CE is successfully installed using this puppet module on OracleLinux 6.5. Also updating the installed version works fine.
What is necessary to officially add OracleLinux support to this puppet module?

This should be easy to add.

add to metadata.json
update init.pp to not throw warning on oracle linux
Optional:
add a test to spec directory to test download of package (I assume it is the same package as for centos/RHEL)
update vagrant file with a oracle linux box

Feel free to make a merge request.


GEOMESA-1825 - GML Export test fails locally

This patch adds a quick namespace for GML exports.
NB: Temporarily disabling the Arrow Geometry Test.

Signed-off-by: Jim Hughes<EMAIL_ADDRESS>

@elahrvivaz Yeah...  not sure...  The tests did just recently get refactored, no?

the convert test did yeah - is that the test that's failing? some other stuff did change in there so maybe it had a ripple effect


readd building docs to ci

Coverage remained the same at 83.025% when pulling f0da2ea4ff9bc4778c4bd2339eed2da24465531e on gidden:cidocs into 6876b337912ce9a69bc406f608da91b0f81a7004 on IAMconsortium:master.

Coverage remained the same at 83.025% when pulling f0da2ea4ff9bc4778c4bd2339eed2da24465531e on gidden:cidocs into 6876b337912ce9a69bc406f608da91b0f81a7004 on IAMconsortium:master.

Coverage remained the same at 83.025% when pulling f0da2ea4ff9bc4778c4bd2339eed2da24465531e on gidden:cidocs into 6876b337912ce9a69bc406f608da91b0f81a7004 on IAMconsortium:master.

Coverage remained the same at 83.025% when pulling f0da2ea4ff9bc4778c4bd2339eed2da24465531e on gidden:cidocs into 6876b337912ce9a69bc406f608da91b0f81a7004 on IAMconsortium:master.


infusion for silent dreamwood rod gives you gives dormant livingwood rod

latest, added to beyond reality classic pack.  thus, gregtech involved.
I assume if this was specific to FM, it would have been posted already since version is almost a year out there but I have to ask if this is something known or not.
both infusions are identical but you swap the thing in the altar (livingwood vs dreamwood) but you get the livingwood version when you pull it out of the infusion.
this is on a server.

I've tested the recipe personally and it works fine even with several other mods installed.  The problem is with something in your pack.  I'm not gonna say it's definitely GregTech's fault, but I am going to give it some serious side-eye. >_>

thanks very much for prompt reply.  Appreciate it alot!


Failed to install version 0.8.3

Can't install the package on Atom 1.60.0, Mac OS Mojave 10.14.6.
Installing<EMAIL_ADDRESS>failed.

npm ERR! code E404
npm ERR! 404 Not Found - GET https://codeload.github.com/t-ishii/auto-encoding/legacy.tar.gz/v0.8.3
npm ERR! 404
npm ERR! 404  'https://www.atom.io/api/packages/auto-encoding/versions/0.8.3/tarball' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because
npm ERR! 404  1. name can only contain URL-friendly characters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR!      /Users/yozhic/.atom/.apm/_logs/2022-07-28T12_50_52_018Z-debug.log

Ok, I got it. It's just a typo in the archive name. It should be legacy.tar.gz/v0.7.3 not 0.8.3. Well, until this is fixed, the solution might be as follows:
cd ~/.atom/packages
rm -r ./auto-encoding
git clone "https://github.com/t-ishii/auto-encoding.git"
cd ./auto-encoding
apm install


[Feature Suggestion] Alternative Video Conferencing

Amazing and very practical project!
Some organizations prefer to schedule video meeting via alternative video conferencing platforms like zoom or jitsi meet. There are plugins for these for the google calendar platform. Is something like plugin discovery or alternate discovery available in the calendar API?

I don't think so. The Calendar API only allows the creation and sharing of Google Meet video conference link. There is no option to insert any other custom link in that field explicitly.
More info about the Calendar API here: http://googleapis.github.io/google-api-python-client/docs/dyn/calendar_v3.html


Warning found

Hi again !
I'm using the MetadataStaticLoader.
function createMetadataLoader() {
    return new MetadataStaticLoader({
        pageTitlePositioning: PageTitlePositioning.AppendPageTitle,
        pageTitleSeparator: '',
        applicationName: '',
        defaults: {
            title: 'Toto'
        }
    });
}

I've got this warning in my angular 2 webpack app with ng2-metadata. Do I have miss something ?
I'm in dev mod.
/src/app/app.module.ts
56:30 export 'PageTitlePositioning' was not found in 'ng2-metadata'
Error: export 'PageTitlePositioning' was not found in 'ng2-metadata'

Hi again, PageTitlePositioning should be imported together with MetadataStaticLoader, MetadataLoader and MetadataModule.
Also, can you please post your source code here (better via plunkr), so that I can have some in-depth analysis?

This has been imported.
import {MetadataModule, MetadataStaticLoader, PageTitlePositioning, MetadataLoader} from 'ng2-metadata';

In this case I need more details related to your app. Can you please tell me what is the webpack, and angular version that you're trying to compile the app with?
And also, I'll need you to provide the part your source code via plunkr.

We are using angular 2.1.0. And webpack 2.1.0-beta22.
Regards

Can you please post me your typescript version, and contents of tsconfig.json?

Sure Typescript 2.0.3.
Here is tsconfig.json:
{     "compileOnSave": false,     "buildOnSave": false,     "atom": { "rewriteTsconfig": false },     "compilerOptions": {         "declaration": false,         "emitDecoratorMetadata": true,         "experimentalDecorators": true,         "mapRoot": "/",         "module": "es2015",         "moduleResolution": "node",         "noEmitOnError": true,         "noImplicitAny": false,         "outDir": "../dist/",         "rootDir": ".",         "sourceMap": true,         "target": "es5",         "inlineSources": true,         "types": [             "core-js",             "hammerjs",             "node",             "source-map",             "uglify-js",             "webpack",             "facebook-js-sdk",             "fullcalendar",             "google-apps-script",             "google-libphonenumber",             "googlemaps",             "jquery",             "lodash",             "material-design-lite",             "moment",             "ng2-pagination"         ]     },     "exclude": [         "node_modules",         "dist"     ],     "awesomeTypescriptLoaderOptions": {         "forkChecker": true,         "useWebpackText": true     } }

Ok, thanks for your immediate feedback.
According to your environment and ts config, It's difficult to say it might happen because of environment configuration.
Here we have Visual Studio 2015 (Update 3) and use TS 2.0.10, @angular 2.2.4, webpack 2.1.0-beta27 and awesome-typescript-loader 3.0.0-beta.17; but it was even possible to get this package running with lower @angular and ts versions (and also using systemjs instead of webpack).
I double checked our development environment and was able to get see the PageTitlePositioning object on the IDE intellisense.

Also, unit tests on our development environment, travis-ci and appveyor have been passed without errors. Please keep in mind that, we use different PageTitlePositioning values to run tests.
I would suggest you to clean ng2-metadata in your node_modules folder and update the packages again. If it does not help, try to use this package on a fresh project (you can use any of seed projects such as angular-seed or angular-seed-advanced).

Thanks for your answer !
I've got as well the prediction in my IDE JetBrains. That's why, it is running basically, just got a warning in dev mode..
Maybe, updating our package will fix the issue.
I'll keep you up to date.
Thanks.


Possibility to enhance cloneOnStart to not delete directory

Hello,
We're using cloud config server with a git backend and our current setup of bitbucket cluster doesn't make it to be considered HA (because it is not clustered across multiple datacenters). So I would like to support a failover mode in cloud config.
I would ideally like to use the "cloneOnStart" feature, but since it deletes and recreates the base directory - it would mean that a config server has a hard dependency on bitbucket to even start the server. How can I enhance it to not delete the base directory and rather do a hard reset on start up, so the previous state of all my git repos will keep the application functioning?
The current implementation of the environment repository makes it very tough to enhance it due to most of the logic being in private methods.
Please advice.
Thanks!

Wanted to add - I know that clone-on-start=false and setting a basedir will allow the server to serve from cache, but there is a possibility that a node in a datacenter would not have received any traffic for some time and may not have cloned the repo yet. So best scenario would be to have clone-on-start but not delete basedir if it exists, just do a reset --hard. Does it makes sense?

Yeah, it would be very useful to have a "fetch-on-start" that works only when baseDir is set. So when the config-server is restarted for some reason, it would try to update the local repository.
I was able to replicate this with this code though:
	HttpHeaders createHeaders(String username, String password){
		return new HttpHeaders() {{
			String auth = username + ":" + password;
			byte[] encodedAuth = Base64.encodeBase64(
					auth.getBytes(Charset.forName("US-ASCII")) );
			String authHeader = "Basic " + new String( encodedAuth );
			set( "Authorization", authHeader );
		}};
	}

	@Value("${server.port}")
	String port;

	@Value("${spring.security.user.password}")
	String password;

	@EventListener
	public void refreshCache(ApplicationReadyEvent event) {
		log.info("STARTED: Fetching latest data");
		RestTemplate template = new RestTemplate();
		template.exchange("http://localhost:"+port+"/application/default", HttpMethod.GET, new HttpEntity<Map>(createHeaders("user", password)), Map.class);
		log.info("FINISHED: Fetching latest data");
	}

It just listen to application ready event, then probe itself through REST as if it were another application. Not elegant, but will do for now.

I've just oped a pr that changes this logic to:
When closeOnStart = true and .git directory already exists then do not clone remote repo and open a connection to an existing one. Otherwise, clone on start as usually
@gmcouto @tipsytopsy please take a look

@spencergibb @artemptushkin Is there any news about this issue? In case, I'd be available to help.

@spencergibb @artemptushkin Is there any news about this issue? In case, I'd be available to help.


TreeTable when deleting, the delete check icon is missing

If you do not use the edit function, but want to use the delete function, no check icon is displayed when deleting.
<TreeTable
	columns={treeColumns}
	data={treeData}
	noAdd={true}
	// onUpdate={(newData, oldData) => newTreeData(newData, oldData)}
	onDelete={(newData) => setTreeData(newData)}
/>

I think , that if you cannot Add line, so there is no use to delete line. How will you add new lines, when you delete all of them?

This is then meant in such a way that if NoAdd and noEdit is active that the table shows only things which were generated over the adapter e.g., Device which are queried.
But if you don't need a device, you should be able to delete it from the adapter.

This is then meant in such a way that if NoAdd and noEdit is active that the table shows only things which were generated over the adapter e.g., Device which are queried. But if you don't need a device, you should be able to delete it from the adapter.

But in this case, the adapter will add the device again by next start. I think you need something like "ignore" checkbox.


Add a README that explains how to build and run the tests

As a user, I would like to know how to build and execute one or more tests provided by this package. Thanks!

@zedr This project doesn't provide test cases/test suites. It provides access to test infrastructure that can be imported to any other project. Basically it's a set of shareable libraries.  We are working on README which will describe how to re-use this infra.

Understood. Thanks. I'll close this then.


ListUsers.edit() and ListUsers.remove() now also use...

self.repository_model.git.commit() instead of self.repo.git.commit()
Hey,
thanks for this great module!
I had an issue when removing users from repositories:
...
    repo.users.remove(user.username)
  File "/usr/local/lib/python2.7/dist-packages/pyolite/models/lists/users.py", line 25, in decorated
    return func(self, user, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pyolite/models/lists/users.py", line 66, in remove
    self.repository_model.commit(['conf'],
AttributeError: 'Repository' object has no attribute 'commit'

this commit fixes this.
Best regards,
morla

Bump ;)
no one?

Thank you for pr! LGTM!
Sorry for delay. I will merge you pr and publish a new version of pyolite.


MudSwitch: Add BaseColor parameter to set the color for "off" mode

Feature request type
Enhance component
Component name
MudSwitch
Is your feature request related to a problem?
Unfortunately, issue #4191 was closed.
Since our app relies heavily on MudSwitch, I eventually came up with a way to do what we need
by settings this class: .mud-switch-base {color: red;}:
Off mode:

On mode:

Because we use many different MudSwitches, it would be awesome if this could be an additional MudSwitch parameter.
Given the current class name, something like BaseColor seems fitting?
Describe the solution you'd like
An additional MudSwitch parameter, something like BaseColor so one can set the color for MudSwitch "off" mode,
instead of being able to only use the default color, white.
Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

Working on this but also for CheckBoxes and Radiobuttons

Working on this but also for CheckBoxes and Radiobuttons

AWESOME!

@Yomodo PR is up, just need to add the tests

Done deal, will be in next release, and again i am very sorry for misunderstanding.


Make a release

Hi!
Thank you for the great library.
I am interested in packaging your library for different C++ dependecy managers. But without release that's not so convinient (because in a recipe I must rely on specific commit instead of tag/release).
Can you please  prepare any release of the library (v1.0 or whatever you want) for being more dependency_managers-friendly?
Thank you a lot!

Why would using 1.0 be better than a commit hash?
The advantage with a commit hash is that it is always automatically bumped when a bug is fixed. A version tag is something that I must bump manually, i.e., it is something that I might forget to do and thus screw up. I prefer having fewer things to screw up.

Library tag/release is required for packaging. Since all normal libraries provide to end users some version (usually semver) and user can rely on them. For packaging it's also useful since nowadays we lock on versions instead of commits.
Why version is better than commit hash - with version you can easily detect, which library version is older or newer, which has breaking changes, new patches, etc (semver provides such information).
According automatic updates: that's not really good idea since user usually wants specific version and want to get a control over bumping package version. Automatic updates don't work well since user can have different caching mechanisms in his build infra.
I hope my ideas are clear. So if it's not so difficult for you - can you please prepare a release of the library? :) If you choose semver - will be awesome.
Thank you a lot!

Sorry, I barely have the time to look at issues and the occasional pull
request. The benefits you list are slim for a header-only library that
only gets the occasional bug fix and does not otherwise change. If you
want the latest version, use master. If you want a specific version, use
the commit hash (or even better the hash of the header file). I do not
have the time or will to do a release management that goes beyond that.

@zamazan4ik Quite late and maybe not exactly what you are looking for but maybe this helps: https://github.com/CodeFinder2/fast-cpp-csv-parser


[Merged by Bors] - Update linux_dependencies.md

Thanks for making Bevy. Recommend adding rust-libudev-devel as an additional dependence for Fedora.
Objective

Describe the objective or issue this PR addresses.
If you're fixing a specific issue, say "Fixes #X".

Solution

Describe the solution used to achieve the objective above.

Awesome thanks! Once we can get someone else to verify this (I'm not a Linux expert, and don't have a Fedora install to play with), I'll be happy to merge it in.

Awesome thanks! Once we can get someone else to verify this (I'm not a Linux expert, and don't have a Fedora install to play with), I'll be happy to merge it in.

Also not a linux expert, but it seems like folks using rustup to manage their rust install might not want to install this package?

Also not a linux expert, but it seems like folks using rustup to manage their rust install might not want to install this package?

@godsmith99x, do you have any thoughts on why Fedora might need this dep, but other distros don't seem to?

@godsmith99x, do you have any thoughts on why Fedora might need this dep, but other distros don't seem to?

Sorry, I wouldn't call myself an expert either. I'm new to rust. I used rustup to install my tool chain, but the bevy breakout example didn't compile, at first. I just followed the compiler errors to locate the missing packages until it worked. Just wanted to share my experience. Hope it is helpful.

Sorry, I wouldn't call myself an expert either. I'm new to rust. I used rustup to install my tool chain, but the bevy breakout example didn't compile, at first. I just followed the compiler errors to locate the missing packages until it worked. Just wanted to share my experience. Hope it is helpful.

Sounds good. I'll ask around in the broader community and see if I can find any answers. Thanks for letting us know!

Sounds good. I'll ask around in the broader community and see if I can find any answers. Thanks for letting us know!

So, summary of my investigation:

rust-libudev-devel enables FFI bindings for the Rust crate libudev-sys.
libudev-sys enables an API to access the libudev C library
libudev lists and enumerates connected devices

So this is probable getting pulled in by either winit or gilrs. Looks like gilrs.
We need an equivalent crate for Ubuntu: sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev, which makes this much less mysterious.
Okay, this makes sense to me now! Thanks for the troubleshooting, I'll merge it in :)

So, summary of my investigation:

rust-libudev-devel enables FFI bindings for the Rust crate libudev-sys.
libudev-sys enables an API to access the libudev C library
libudev lists and enumerates connected devices

So this is probable getting pulled in by either winit or gilrs. Looks like gilrs.
We need an equivalent crate for Ubuntu: sudo apt-get install g++ pkg-config libx11-dev libasound2-dev libudev-dev, which makes this much less mysterious.
Okay, this makes sense to me now! Thanks for the troubleshooting, I'll merge it in :)

bors r+

bors r+

Hi @alice-i-cecile,
As @rparrett mentions this conflicts with rust that was installed using rustup.
Rustup is probably the preferred installation method, rather than using the package manager.
For me (rustup installation inside a toolbox with the Fedora35 base image), I ran into the following build error:
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"` did not exit successfully: exit status: 1\nerror: could not find system library 'libudev' required by the 'libudev-sys' crate\n\n--- stderr\nPackage libudev was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libudev.pc'\nto the PKG_CONFIG_PATH environment variable\nPackage 'libudev', required by 'virtual:world', not found\n"', /var/home/bude/._toolbox/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/libudev-sys-0.1.4/build.rs:38:41
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

Which was resolved with just sudo dnf install systemd-devel.
Blindly following the dependencies and installing rust-libudev-devel will install rust via the package manager,
Took me a few hours to understand why rust-analyzer was no longer finding rust-src, because it now attempts to search for it in /usr/lib instead of ~/.rustup/lib.
If you do get rust from your package manager, maybe rust-libudev-devel is actually necessary.
But I dont think suggesting this by default is a good idea.
We should probably ask the user to install rust via rustup and optionally provide additional packages if you do decide to install rust via the package manager.


[Wishlist] HACS integration of the FMI-HASS component

Hi,
You have done excellent job with your component. I'm hoping that you would at some stage find time to integrate it to HACS for more streamlined handling of your component.
I do admit that it does most likely require some additional work from your side unfortunately.
https://hacs.xyz/docs/publish/start
Happy new year!
P.S. First time I'm creating issue in public github so hopefully this was good enough.

Happy New Year!!
This integration is halfway through to being part of the core.
https://github.com/home-assistant/core/projects/5#column-10283265
If it takes too long, I will try and add this HACS.

Happy New Year!!
This integration is halfway through to being part of the core.
https://github.com/home-assistant/core/projects/5#column-10283265
If it takes too long, I will try and add this HACS.

Excellent news! Thanks.

Excellent news! Thanks.


GH-40316: [Python] only allocate the ScalarMemoTable when used

Rationale for this change
Mimalloc and jemalloc can allocate a relatively large amount of memory for the ScalarMemoTable. For this reason, the ScalarMemoTable should only be allocated when it is used (when options.deduplicate_objects=True).
I tested this change, and for small tables it does improve memory allocation.
options.deduplicate_objects=False
After this change:
📦 Total memory allocated:
174.422MB
📊 Histogram of allocation size:
min: 1.000B
--------------------------------------------
< 6.000B   :  3064 ▇▇
< 36.000B  :  7533 ▇▇▇▇
< 222.000B :  9974 ▇▇▇▇▇
< 1.319KB  : 53264 ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇
< 7.999KB  :  5188 ▇▇▇
< 48.503KB :   742 ▇
< 294.066KB:   102 ▇
< 1.741MB  :    22 ▇
< 10.556MB :     1 ▇
<=64.000MB :     1 ▇
--------------------------------------------
max: 64.000MB
Before this change:
📦 Total memory allocated:
1.295GB
📊 Histogram of allocation size:
min: 1.000B
--------------------------------------------
< 6.000B   :  3064 ▇▇
< 36.000B  :  7543 ▇▇▇▇
< 222.000B : 10009 ▇▇▇▇▇
< 1.319KB  : 53269 ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇
< 7.999KB  :  5192 ▇▇▇
< 48.503KB :   761 ▇
< 294.066KB:   102 ▇
< 1.741MB  :    22 ▇
< 10.556MB :     1 ▇
<=64.000MB :    19 ▇
--------------------------------------------
max: 64.000MB
What changes are included in this PR?
The allocation of memo_table and unique_values have been moved underneath an if (options.deduplicate_objects) block. Since they are used within a lambda, they have been changed to shared pointers, so that their values exist for the lifetime needed.
Are these changes tested?
deduplicate_objects has extensive existing tests: https://github.com/apache/arrow/blob/b235f83ed10bcad174b267113479a24ca045def5/python/pyarrow/tests/test_pandas.py#L3211 and https://github.com/apache/arrow/blob/b235f83ed10bcad174b267113479a24ca045def5/python/benchmarks/convert_pandas.py#L71
Are there any user-facing changes?
Nope.

GitHub Issue: #40316

@anjakefala Can you check this still solves the memory consumption problem?

@pitrou Yes, indeed it does!
I looked at my original code that was resulting in freezing at the RETURN_NOT_OK(memo_table.GetOrInsert(value, &memo_index)); line.
18 inline Status ConvertAsPyObjects(const PandasOptions& options, const ChunkedArray& data,
  619                                  WrapFunction&& wrap_func, PyObject** out_values) {
  620   using ArrayType = typename TypeTraits<Type>::ArrayType;
  621   using Scalar = typename MemoizationTraits<Type>::Scalar;
  622   std::function<Status(const typename MemoizationTraits<Type>::Scalar&, PyObject**)> WrapFunc;
  623
  624   if (options.deduplicate_objects) {
  626     ::arrow::internal::ScalarMemoTable<Scalar> memo_table(options.pool);
  627     std::vector<PyObject*> unique_values;
  628     int32_t memo_size = 0;
  630
  631     WrapFunc = [&](const Scalar& value, PyObject** out_values) {
  633       int32_t memo_index;
  634       RETURN_NOT_OK(memo_table.GetOrInsert(value, &memo_index));
  636       if (memo_index == memo_size) {
  637         // New entry
  639         RETURN_NOT_OK(wrap_func(value, out_values));
  640         unique_values.push_back(*out_values);
  641         ++memo_size;
  642       } else {
  644         // Duplicate entry
  645         Py_INCREF(unique_values[memo_index]);
  646         *out_values = unique_values[memo_index];
  647       }
  648       return Status::OK();
  649     };
  650   } else {
  651     WrapFunc = [&](const Scalar& value, PyObject** out_values) {
  652       return wrap_func(value, out_values);
  653     };
  654   }
  655
  656   for (int c = 0; c < data.num_chunks(); c++) {
  658     const auto& arr = arrow::internal::checked_cast<const ArrayType&>(*data.chunk(c));
  660     RETURN_NOT_OK(internal::WriteArrayObjects(arr, WrapFunc, out_values));
  662     out_values += arr.length();
  663   }
  664   return Status::OK();
  665 }

It seems that the main difference is your creation of convert_chunks, and moving the for loop within it. Do you know why that helped fix the freezing?
Anyway, this works great for my needs! Thank you!

In your case, the outer variables referenced by WrapFunc (memo_table, unique_values...) are destroyed just after WrapFunc is defined and before it is actually called. So calling WrapFunc references destroyed objects, which leads to misbehaviour.

Got it, and they are not destroyed in your case, because convert_chunks is called within the if/else statement. That was the better approach to fixing my code.
Thanks @pitrou! Testing looks good on my end.


Add [Anas lobstr.co] #wallet #personal #anchor GB7UGF…QD7WCD

Address: GB7UGFSRE2HRR65AFZURBQAO2AUKYNULKWMMOYDEBALYMBWUDHQD7WCD
Tags: wallet personal anchor
Title: Anas  Domain: lobstr.co
Requested by @anas1issa

Hello @anas1issa,
As you may know already stellar.expert is just a Stellar Blockchain explorer that maintains it's own database to help better inform Stellar Expert users so they can make better informed decisions.
With over 7 million wallets it is not practical to label/tag personal wallets. I hope you understand our policy.
If you believe there is an other reason that this wallet should be labled please let us know.
Looking Towards The Future With You,
Rob

Hello @anas1issa,
Please feel free to reopen this issue with any new information.
Looking Towards The Future With You,
Rob


feat: Don't penalize Go projects for not having a "packaging" workflow

closes https://github.com/ossf/scorecard/issues/2493
Make Go project pass the packaging check automatically

Can you add a test? Would probably need a mockclient to test the go.mod/go.sum at root behavior.

Done. PTAL

2 high-level comments:

Can we generalize this to say don't penalize any project that doesn't have a packaging workflow? It seems to me that the right behavior should be - we found a known, trusted and accepted best practice packaging workflow, you get a 10. Else, -1.
Finding which ecosystem a project belongs to is a complex problem (a mono repo like https://github.com/ossf/scorecard-webapp is a good example) and we'd be creating lot of low-quality results by relying on filename and text parsing. Is there a strong reason to expose the ecosystem? If not, I'd prefer not saying anything at all.

Let me know if I misunderstood something

quick follow-up: to display the project being Go, that info needs to be in the raw result, which is why it's populated.
I'd like to also send a follow-up PR to not penalize GitHub Actions either.

ping for reviews

friendly ping


Fix chatbot-related code

Change summary:

Fix chatbot-related code (chatbot server and tools scripts)

Related issues:

https://github.com/ainblockchain/ain-blockchain/issues/1138

Thanks for the review. Now merging..


Forward pyinstaller from 3.4 to 3.5

There is a new pyinstaller release:
https://github.com/pyinstaller/pyinstaller/releases/tag/v3.5
As it includes some bugfixes I would like if the version is forwarded.
I've only forwarded the 3.4 version as I don't know, why win32 was left behind with 3.3.

Thanks!

Are the docker hub builds triggered automatically? https://hub.docker.com/r/cdrx/pyinstaller-windows/builds

Yeah, but it takes docker hub hours to build these images
Some tags are completed

All images on docker hub are updated now


Ununified model deployment default/min parameter values for odahu UI and odahu server

default and min values on UI should be unified with odahu server default values for model deployment:
model deployment:
default value of Liveness probe initial delay is 10, should be 2
default value of Readiness probe initial delay is 10, should be 2
min value of Liveness probe initial delay is 1, should be 0
min value of Readiness probe initial delay is 1, should be 0

When I try to deploy model from packaging by DEPLOY button I get (10, 10) default values for Probe initial delays.


not able to show Sensors

Hi,
I installed the plugin and all seems OK but somehow it does not show any sensors. I use a RPI4 to run the Homebridge and the Unify Controller.
for my access points I entered their MAC address.
can you please let me know if I do something wrong?
Many thanks!
below my config and log
[11/10/2022, 19:56:34] Registering platform 'homebridge-unifi-occupancy.UnifiOccupancy'
[11/10/2022, 19:56:34] [homebridge-unifi-occupancy] Loaded homebridge-unifi-occupancy v1.0.3 child bridge successfully
[11/10/2022, 19:56:34] Loaded 0 cached accessories from cachedAccessories.0E5CD578620C.
[11/10/2022, 19:56:34] Publishing bridge accessory (name: homebridge-unifi-occupancy, publishInfo: {
  username: 'secret',
  port: secret,
  pincode: '***-**-***',

       "unifi": {
                "controller": "https://<IP_ADDRESS>:8443",
                "username": "secret",
                "password": "secret",
                "site": "default",
                "secure": false,
                "unifios": false
            },
            "interval": 180,
            "accessPointAliases": [
                {
                    "accessPoint": "secret",
                    "alias": "Woonkamer"
                },
                {
                    "accessPoint": "secret",,
                    "alias": "1ste Verdieping "
                },
                {
                    "accessPoint": "secret",
                    "alias": "Zolderverdieping "
                }
            ],
            "_bridge": {
                "username": "secret",
                "port": secret
            },
            "platform": "UnifiOccupancy"

Hey Pieter,
Leuk om nog een Nederlands(talig)e gebruiker te hebben! In het Engels ter behoeve van de rest:
Your config looks good, assuming that you're indeed not running UnifiOS (and that the extra comma in "accessPoint": "secret",, for Woonkamer is just a typo).
To find out what's going wrong, we need to enable Debug Mode (Homebridge Config UI X > Homebridge Settings > Startup Options > Homebridge Debug Mode -D, then Restart). Then the logs should start showing additional things like this:
[10/11/2022, 8:05:17 PM] [UnifiOccupancy] Connecting with UniFi Controller...
[10/11/2022, 8:05:17 PM] [UnifiOccupancy] Getting access points from UniFi Controller...
[10/11/2022, 8:05:18 PM] [UnifiOccupancy] Found access point: 68:d7:9a:3e:91:a8 Living
[10/11/2022, 8:05:18 PM] [UnifiOccupancy] Found access point: e0:63:da:21:90:ad Office
[10/11/2022, 8:05:18 PM] [UnifiOccupancy] Found access point: 18:e8:29:41:9a:fe Bedroom
[10/11/2022, 8:05:18 PM] [UnifiOccupancy] Found access point: 68:d7:9a:46:49:d3 Rooftop
[10/11/2022, 8:05:18 PM] [UnifiOccupancy] Getting connected devices from UniFi Controller...
[10/11/2022, 8:05:18 PM] [UnifiOccupancy] Found connected device @ AP: Device {
  mac: '1a:11:07:54:96:9e',
  name: "Douwe's iPhone",
  hostname: '',
  deviceName: 'iPhone 12 Pro',
  vendor: 320,
  os: 24
} Living
[10/11/2022, 8:05:18 PM] [UnifiOccupancy] Registering new accessory: Douwe @ Rooftop
[10/11/2022, 8:05:18 PM] [UnifiOccupancy] Updated accessory status: Douwe @ Living connected

That's on my working installation, so it'd be interesting to see which of those message we are(n't) seeing on your side. If that doesn't help, I can add some additional debug statements to figure out exactly how far it's getting and where it's getting stuck.

@pieter-1978 Hey Pieter, did you have a chance to try my debugging suggestions above?

I have the same issue, here’s my debug log:
[05/01/2023, 02:02:38] [Unifi0ccupancy ] Getting connected devices from UniFi
Controller...
[05/01/2023, 02:03:38] [Unifi0ccupancy ] Getting connected devices from UniFi
Controller...
[05/01/2023, 02:04:32] [Unifi0ccupancy ] Device disconnected from UniFi Contr oller: User [MAC-address] disconn ected from
"Networkname"
(59m 26s con
nected, 5.30M bytes, last AP[MAC-address)
[05/01/2023,
02:04:38] [UnifiOccupancy
] Getting connected devices from UniFi
Controller...
[05/01/2023,
02:04:521 [Unifi0ccupancy
] Device connected to UniFi Controller : User[MAC-address] has connecte d to AP[MAC-address] with SSID "
Networkname" on "channel 36 (na)"
[05/01/2023, 02:04:52] [Unifi0ccupancy ] Getting connected devices from UniFi

@EasyBizz Thank you! What kind of phone are you trying this with? How does it show up in the UniFi Network UI? Is UniFi able to detect that it's a smartphone and the vendor?
I've seen this work successfully with iPhones, Samsung Galaxy's, Google Pixels, and Motorolas, but perhaps there are exceptions or other brands that just don't work.

Its an iPhone 14 Pro. The manufacturer and device type do not show in Unifi.
Not for any phone. It does for some other devices (Nintendo Switch, Mac Mini) . Perhaps a Unifi setting? I wouldnt know where to look

@EasyBizz Interesting, my UDM has always detected phones automatically, and as far as I can tell there's no way to specifically enable/disable Device Fingerprinting (and the fact that it's detecting your Switch and Mac Mini suggests it's working in other cases).
Mine shows as follows, for what it's worth:

Where it shows "Report Missing Icon" for me, does it show you some option to manually specify the device type?
I could also make the phone-detection less strict and consider everything with "iPhone" in the (host)name a phone, even if the device type isn't detected by UniFi. I assume your phone does show up as "'s iPhone"?

My Unifi setup is AP’s only. Perhaps because I dont have a USG and the modem (not Unifi) does all DHCP etc. Bacause none of my devices have an image/icon

@EasyBizz Ah, that's possible. Are you running the UniFi Controller on a separate server then?
Where my screenshot above shows "Report Missing Icon", does it show you some option to manually specify the device type?

I dont’t even have the option (in unifi ios app) to select icon. I’ve been searching the Unifi forums and I think the Dream Machine has a lot of options USG and CloudKey don’t have.
If you can have the plugin look out for a device name that would be perfect. But is it possible to let the user enter the value?
So in Homebridge-UI we can enter our own value for what to look for in the device name. And if the field is empty the plugin will work as it does now.

@DouweM unfortunately I haven’t checked further at that time as I found another solution. Just fyi my setup is a rpi4 running the UniFi controller, a USG and a few UniFi switches and AP

@EasyBizz Ah, that's possible. Are you running the UniFi Controller on a separate server then?
Where my screenshot above shows "Report Missing Icon", does it show you some option to manually specify the device type?
And I assume your phone does show up in UniFi as "[Name]'s iPhone" even though the device type is not detected? I could make the phone-detection less strict and consider everything with "iPhone" in the (host)name a phone.

Hoi @DouweM ,
I'm running into the same issue I think (Unifi APs only  - running Controller in Docker) :
iPhones also have this 'private WIFI address' feature where the MAC is changed.
to check, I forgot my phone with this feature on - after reconnecting, the device is not detected at all  , no manufacturer or model displayed.
With the private MAC feature off , manufacturer is detected , but not device type though.
However If I use the feature in Unifi to lookup the image of my device , after doing so, OS and Device type are added to the overview screen:
Manufacturer
Apple, Inc.
Model
Apple iPhone 12
OS
Apple iOS
(this happens in both cases - private mac on AND off)
Maybe you could make detection less strict like you said? or alternatively make it so that one can specify MAC addresses manually?

or alternatively make it so that one can specify MAC addresses manually?

that plugin already exists, and works great. The thing is; when you get a new phone you have to setup everything again. Or add every new device manualy.
@DouweM offers an automated creation of detected devices. I think that is the main feature of this plugin that separates it from the other Unifi-occupancy-sensors plugin.
I think it wiuld be awesome if this plugin has a specific phrase/word/term/code to look for in device names. So I can add the phrase to every client alias I would like in the Unifi app/controller. This could even be another device than a phone.
so lets say I start every client I want as a sensor with “9xyz9” the plugin automagically creates it in homebridge when it detects them.
Douwe could filter the phrase out anyway, so this could always be a unique, random string you make up.
@DouweM volgens mij is alles NL hier, maar als dit lukt ben je een baas! Ik snap dat het een vrije-tijds-klusje is. Maar hoop er wel op, succes in ieder geval!

@EasyBizz @Raka74 @pieter-1978 I just pushed version 1.0.4 that should detect anything with "phone" in the (host)name! Can you give that a try? I can also look into making the words it looks for configurable, if there's still a reason for that after this.

@DouweM
Just installed it - and now phones are detected:

Very nice!  Thanks for the update.

@Raka74 Great! If you change the device's name to "Winfried's iPhone 12" in the UniFi Network portal, it should start showing up as "Winfried @ KleineKamer".

@DouweM , I just checked today and it works! Thanks for the update!

@DouweM confirmed, works like a charm! I would love a user configured phrase though. To also add iPad or Apple Watch etc. Without having to name them “phone” in unifi.
But even without it the plugin works great! Good job!

@EasyBizz I've created a follow-up issue for your request: https://github.com/DouweM/homebridge-unifi-occupancy/issues/9


Update README.md

Add documentation for visibleTimeEnd, visibleTimeStart, canvasTimeEnd and canvasTimeStart parameters (tripped me up because the defaultTimeStart / End are moment objects but these are timestamps)

@nicocrm thank you for your PR! I'm working right now on bringing different PR's to a new version. But yours is now already merged since there is no code affected.


update eos_validate_state role to make it more scalable

Change Summary
eos_validate_state current output is verbose if we have many devices.

Moved Summary Totals Per Category above Summary Totals Devices Under Tests in the test report. So when we have many devices we can read Summary Totals Per Category from the top of the file (no need anymore to scroll down)

Introduced a new var (eos_validate_output_level) defined in the role default dir with the default value default

The default output is now less verbose as it doesn't include anymore the last section (All Test Results) which is the longest one and the less interesting.

if the var eos_validate_output_level is set to verbose, the role includes the details about successful tests (in the section All Test Results)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Code style update (formatting, renaming)
[x] Refactoring (no functional changes)
[x] Documentation content changes
[ ] Other (please describe):

Related Issue(s)
Fixes #1113
Component(s) name
eos_validate_state
Proposed changes

How to test
Execute the role, and verify the output.
ansible-playbook playbooks/playbook_validate_states.yml -i inventories/inventory.yml
should not include the section (All Test Results)
ansible-playbook playbooks/playbook_validate_states.yml -i inventories/inventory.yml --extra-vars eos_validate_output_level=default
should not include the section (All Test Results)
ansible-playbook playbooks/playbook_validate_states.yml -i inventories/inventory.yml --extra-vars eos_validate_output_level=verbose
should include the section (All Test Results)
ansible-playbook playbooks/playbook_validate_states.yml -i inventories/inventory.yml --extra-vars eos_validate_output_level=whatever_else
should not include the section (All Test Results)
Checklist:

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] I have updated molecule CI testing accordingly
[ ] All new and existing tests passed (pre-commit, make linting and make sanity-lint).

Hello @ksator
Thanks for this PR. After reviewing your change, I am wondering if you expect to support more than 1 verbisoty level ?
If not, I would go with eos_validate_output_verbose: < True | False>
Any thought?

@titom73 you right. I will update the PR with this.

Will be re-opened later


Finalize config shapes

Arrays and nested arrays never look too good, optimize before these get locked in.

[x] DNS
[ ] Injection

nicer DNS zones:
{
  "name": "app",
  "dns": {
    "something.com": {
      "something.com": {
        "type": "A",
        "ttl": 300,
        "value": ["<IP_ADDRESS>"]
      },
      "blog.something.com": {
        "type": "CNAME",
        "ttl": 300,
        "value": ["<IP_ADDRESS>"]
      },
      "api.something.com": {
        "type": "A",
        "ttl": 300,
        "value": ["<IP_ADDRESS>"]
      }
    }
  }
}


Can We generate a single novel view given rotation angles?

Hi, very impressive work! I learned that your model are capable of generating a sequence of images given an input view and camera trajactory. However what I expected is to generate a novel view at rotation angle B given an input view at angle A. This would save a lot of time as we don't need to generate intermediate frames. Could that be done finetuning this model? Thanks in advance for your reply!

Thanks! This seems like something ZeroNVS could handle, you can try their code https://github.com/kylesargent/ZeroNVS.


Deprecated API Version

Deprecated API: apiVersion: extensions/v1beta1

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

ID: df590818-cbf1-3473-b408-70b1224977fa
Version Independent ID: 6b52d0c4-03e3-358c-0828-e1afcc676708
Content: Expose an AKS service over HTTP or HTTPS using Application Gateway
Content Source: articles/application-gateway/ingress-controller-expose-service-over-http-https.md
Service: application-gateway
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

Thank you for your feedback! We have assigned this issue to the author to review further and take the next course of action.

Hi - I will update the article as I am able. I am closing this issue as duplicate because we have others saying the same thing. Thanks for bringing this up. #please-close