perf(extract-functions): Refactor for better performance

This will result in much faster flattening of arrays and function extraction to a single array.
Demo (babel repl): http://tinyurl.com/extract-fns

Awesome! I'm going  measure the performance of this and merge sometime today.
Thanks!

TODO
Explain the algorithm in comments

My perf measurements.
Run them from here: https://github.com/koresar/bench-node
These tests run the transpiled ES5 code, not the ES6 shown above.
FLATTEN 1 - the previous implementation (.min.gz file size 1.59KB)
FLATTEN 2 - the implementation from this PR (.min.gz file size 1.62KB).
LODASH FF - is this: _.filter(_.flatten(args), isFunction

If there is no recursion then both variants are similar.

> node flatten/2
v4.6.0 1 item with undefined
FLATTEN 1   107660.1  | malloc: >= 14.69  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   110704.73 | malloc: >= 16.47  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   114341.72 | malloc: >= 14.73  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF

If case the incoming arguments are complex, like array of arrays, then both implementations are identical in CPU, but the second one takes slightly more memory.

> node flatten/1
v4.6.0 10 items
FLATTEN 1   87161.47  | malloc: >= 15.67  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   87590.96  | malloc: >= 30.49  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   100668.87 | malloc: >= 14.73  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF

P.S. @abhisekp, you probably wanna apply the "loose" changes to this PR to minimize the output bundle. It might even speed things up. Feel free to run the test above yourself. :)

@abhisekp proposed a third implementation of the function.
import isFunction from './isFunction';

const concat = Array.prototype.concat;
export default function () {
  const fns = concat.apply([], arguments).filter(isFunction);
  return fns.length === 0 ? undefined : fns;
}

Here are the perf. results across all node.js versions on my laptop.
10 items array.
> ./all_nodes.sh flatten/1
v0.10.47 10 items
FLATTEN 1   65773.45  | malloc: >= 28.74  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   65356.04  | malloc: >= 28.52  MB | GC calls: >= 2   | Mem/cycle: >= ~ 0
FLATTEN 3   64799.63  | malloc: >= 21.64  MB | GC calls: >= 2   | Mem/cycle: >= ~ 0
LODASH FF   69509.9   | malloc: >= 6.84   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF

v0.12.16 10 items
FLATTEN 1   48955.46  | malloc: >= 29.71  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   47523.45  | malloc: >= 12.72  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 3   48458.25  | malloc: >= 1.97   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   53024.4   | malloc: >= 2.95   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF

v4.6.0 10 items
FLATTEN 1   88213.83  | malloc: >= 16.65  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   92537.16  | malloc: >= 16.72  MB | GC calls: >= 1   | Mem/cycle: >= ~ 0
FLATTEN 3   95071.15  | malloc: >= 6.89   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   104188.03 | malloc: >= 5.87   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF

v5.12.0 10 items
FLATTEN 1   87573.79  | malloc: >= 16.65  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   96284.76  | malloc: >= 18.68  MB | GC calls: >= 1   | Mem/cycle: >= ~ 0
FLATTEN 3   96540.67  | malloc: >= 5.91   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   104437.3  | malloc: >= 5.87   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF

v6.7.0 10 items
FLATTEN 1   62318.56  | malloc: >= 15.00  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   65788.09  | malloc: >= 22.00  MB | GC calls: >= 1   | Mem/cycle: >= ~ 0
FLATTEN 3   68186.61  | malloc: >= 6.00   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   75645.36  | malloc: >= 6.00   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF

2 items array
> ./all_nodes.sh flatten/2
v0.10.47 1 item with undefined
FLATTEN 1   76882.66  | malloc: >= 12.75  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   62167.34  | malloc: >= 38.61  MB | GC calls: >= 2   | Mem/cycle: >= ~ 0
FLATTEN 3   62201.21  | malloc: >= 16.73  MB | GC calls: >= 2   | Mem/cycle: >= ~ 0
LODASH FF   74590.92  | malloc: >= 4.87   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is FLATTEN 1

v0.12.16 1 item with undefined
FLATTEN 1   52772.96  | malloc: >= 30.69  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   49348.26  | malloc: >= 11.75  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 3   48268.43  | malloc: >= ~ 0       | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   53110.37  | malloc: >= 1.97   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF,FLATTEN 1

v4.6.0 1 item with undefined
FLATTEN 1   113933.3  | malloc: >= 14.68  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   87618.49  | malloc: >= 22.59  MB | GC calls: >= 1   | Mem/cycle: >= ~ 0
FLATTEN 3   86366.92  | malloc: >= ~ 0       | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   108488.16 | malloc: >= 5.87   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is FLATTEN 1

v5.12.0 1 item with undefined
FLATTEN 1   107333.9  | malloc: >= 16.65  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   88726.87  | malloc: >= 21.62  MB | GC calls: >= 1   | Mem/cycle: >= ~ 0
FLATTEN 3   87040.05  | malloc: >= 4.89   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   108251    | malloc: >= 5.87   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is LODASH FF,FLATTEN 1

v6.7.0 1 item with undefined
FLATTEN 1   88129.24  | malloc: >= 23.00  MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
FLATTEN 2   66571.43  | malloc: >= 18.00  MB | GC calls: >= 1   | Mem/cycle: >= ~ 0
FLATTEN 3   68384.86  | malloc: >= 6.02   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
LODASH FF   84992.47  | malloc: >= 7.00   MB | GC calls: >= 0   | Mem/cycle: >= ~ 0
Fastest is FLATTEN 1

P.S. The file size:
Current stampit impl.: Estimating dist/stampit.umd.min.js: 4.58 KB, GZIP : 1.59 KB
The code from above: Estimating dist/stampit.umd.min.js: 4.5 KB, GZIP : 1.56 KB
The new code uses much less memory than any other implementation. The perf is about the same to some extent. The file size is a bit smaller. Code is more readable. I like it in general. :)
Although, I'd rather avoid discussions about micro benchmarking.

I kinda think that we are hunting performance in wrong places here. In practice I had no need so far to use a complex structure when specifying initializers. I don't see use case why would anyone pass array of arrays down there... Perhaps it might be better to optimize by actually excluding whole flattening completely. I know, it's breaking change and should have come before V3 probably, but maybe we can think of it for V4 in a future.

Yeah. I thought of removing flattening sometime next major release. We need that flattening at least for this line to work.
Surely, none passes arrays of arrays as initializers. It won't even work in the current code base. However, the "2 items array" test is the real world test. That's exactly how the extractFunctions is called most of the times.

Yea I agree, but extracting only functions from flat array is as simple as initializers.filter(isFunction), no need for extra file with additional code for that.

Okay. @FredyC has some bright ideas. So, here what we'll do.

I'll apply the proposed code because of the single reason - it's shorter.
Than, if time allows, @FredyC will supply a new PR brining all the great ideas together.

I'll close this PR and apply @abhisekp's code separately.


fix: get Electron dependency path

[x] I have read the contribution documentation for this project.
[x] I agree to follow the code of conduct that this project follows, as appropriate.
[x] The changes are appropriately documented (if applicable).
[x] The changes have sufficient test coverage (if applicable).
[x] The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:
Fix #3611

I need some help, after I run yarn electron-forge start, I get:

Closed in favor of #3209


Implement load_replace_candidate()

This method isn't supported according to the readme, but in practice the function call seems to work if we define a dest_file. It's a one line change other than adding tests (not sure if tests are done for anything besides getters?).
Same thing as for #39 I'm trying to push my local fixes upstream.

I would be very happy to have this functionality. Any status updates on progress?

Ah. I've totally forgotten about this. I'll see if I can make time this weekend for it.

Hey Kace, have you had a chance to work on this? I’m about to do a huge OS10 rollout and this would be supremely helpful.

What's the one-line change that implements this function?


Missing DLLs in the build folder

Hey again :)
When building on Windows, several required DLLs are not copied to the exe folder:

bz2.dll
Irrlicht.dll
jpeg62.dll
libpng16.dll

Not completely sure why they are needed, I think I saw that at least Irrlicht was installed at the same time as assimp by vcpkg.

Hello again to you too!
You're using VS2019 and building for x64, right?
What are the contents of your <workspace>\data\build\glfwFlap\build\Debug folder? (Assuming you build the Debug configuration.)
Do you have your own installation of vcpkg.exe somewhere on your system? What happens when you type where vcpkg at the command prompt?

Indeed VS2019 x64. Here's the content of Debug (but the issue is the same for RelWithAsserts):
assimp-vc142-mt.dll
flapGame.lib
flapGame.pdb
glad.lib
glad.pdb
glfw3.dll
glfwFlap.exe
glfwFlap.ilk
glfwFlap.pdb
image.lib
image.pdb
math.lib
math.pdb
runtime.lib
runtime.pdb
soloud.lib
soloud.pdb
zlib1.dll

I followed the build instructions for FlapHero that suggested to install vcpkg in the data folder, and where vcpkg finds it there (it's also the only one in my PATH as far as I can tell).

Looks like all the other missing DLLs are dependencies of irrlicht, and I've just seen this https://github.com/microsoft/vcpkg/issues/14015 which suggest it's possible to remove irrlicht (but I'm clueless about vcpkg/CMake so not sure if it's easy to do 😄 ).

When I developed Flap Hero, running vcpkg install assimp:x64-windows gave you version 5.0.1. Now it gives you version 5.0.1#4 which seems to bring in a bunch of additional dependencies (as reported by vcpkg depend-into assimp) that it didn't have before.
Old assimp dependencies: minizip, rapidjson, zlib
New assimp dependencies: irrlicht, kubazip, minizip, poly2tri, polyclipping, rapidjson, stb, utfcpp, zlib
Possible fixes:

See if the "assimp portfile" (mentioned in the link you shared) can be locally modified somehow before running  vcpkg install assimp:x64-windows. I'm not sure if it's possible to do something like that locally or if the portfile is centralized.
Look for ways to install older versions of vcpkg packages (to "lock in" to a specific version of assimp that is known to work). This post suggests that it can be done by checking out an older commit of vcpkg itself. Not sure if there are other ways.
Look for a way to teach PlyTool about all the .libs and .dlls used by a vcpkg package.
Just add the new required DLLs to the assimp.vcpkg extern provider in FlapHero.

I've implemented option 4 locally and it seems to work. Guess I'll submit it. This is likely to break again if the vcpkg maintainers decide to change the assimp package again. I'll explore options 1 - 3 and see if there are any viable long-term strategies to avoid issues like this in the future.

I suppose having some control over which version you want when adding an extern would be nice (at some point at least).
It is strange that vcpkg just seems to just ignore that problem.
Thanks for looking into it!

Just learned that vcpkg finally added support for installing specific versions 😀
https://devblogs.microsoft.com/cppblog/take-control-of-your-vcpkg-dependencies-with-versioning-support/


[BID-14] DN-TESTEEEEEE

let's see how it works
Introduction
Customer pain
Solution
Don't have a product
Mitigation Plan
Ask the customer to get lost
From SyncLinear.com | BID-14

bumps the bumps

kk from linear


Allow overriding the component to render the list of items

Allows you to override the list of items to do something other than a ul with items.map.
Enables the use of e.g. react-virtualized to handle much larger lists.
First step to https://github.com/moroshko/react-autosuggest/issues/330

@moroshko Any chance you can give this PR a review?

@moroshko, this feature could improve performance allot in large lists. is it possible to accept this pull request? Thanks in advance 👍

@moroshko could we expect an update on this topic?

Sorry guys, I have no plans to continue maintaining react-autowhatever since it's no longer a dependency of react-autosuggest.
If anyone is interested in taking over, please ping me on Twitter @moroshko.


Yeelight errors when using device_tracker bluetooth_tracker

Home Assistant release with the issue:

0.97.0
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io running on a Raspberry Pi 3
Component/platform:

https://www.home-assistant.io/components/yeelight/
https://www.home-assistant.io/components/bluetooth_tracker/
Description of problem:
After adding device_tracker using bluetooth_tracker, errors and delay, switching on and off my Yeelight bulbs started.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

#Yeelight
yeelight:
  devices:
    <IP_ADDRESS>:
      name: Sala A
    <IP_ADDRESS>:
      name: Corredor
    <IP_ADDRESS>:
      name: Sala B
    <IP_ADDRESS>:
      name: Quarto
    <IP_ADDRESS>:
      name: Cozinha A
    <IP_ADDRESS>:
      name: Cozinha B

device_tracker:
  - platform: bluetooth_tracker
    device_id: 0
    request_rssi: true

Traceback (if applicable):
Unable to update device <IP_ADDRESS>, Corredor: Bulb closed the connection.
7:27 PM components/yeelight/__init__.py (ERROR)
Unable to update device <IP_ADDRESS>, Sala A: Bulb closed the connection.

Additional information:
For every yeelight, there are errors. Tested removing device_tracker bluetooth_tracker, errors stopped.

Additional information can be found on this community topic: https://community.home-assistant.io/t/yeelight-unable-to-update-bulb-status-bulb-closed-the-connection/51147

More additional information in: https://community.home-assistant.io/t/hassio-addon-bluetooth-bcm43xx-bluetooth-tracker-messing-with-yeelight-bulbs-very-strange/30811/15

Hi. Thanks for this post: https://community.home-assistant.io/t/hassio-addon-bluetooth-bcm43xx-bluetooth-tracker-messing-with-yeelight-bulbs-very-strange/30811/15
I have solved the problem with Yeelight bulbs messed with bluetooth tracker.
Was using Raspberry Pi 3, on wifi. Changed to Ethernet connection, and now all error messages has gone. Switching Yeelight Bulbs (all at once, or one at a time) is fast and reliable again.
To change from wifi to Ethernet, followed this post: https://github.com/home-assistant/hassos/blob/dev/Documentation/network.md
In my case, removed SD card from Raspberry, inserted on a Windows PC, created a folder called CONFIG, with a subfolder called network CONFIG\network
Inside the folder network, created a file named my-network (yes, just named my-network  no extension, with the following content:

[connection]
id=my-network
uuid=f62bf7c2-e565-49ff-bbfc-a4cf791e6add
type=802-3-ethernet

[ipv4]
method=auto

[ipv6]
addr-gen-mode=stable-privacy
method=auto


monitor can't see any services and applications

As title
My Zookeeper and Dubbo services all in the docker,  all services have self external ip with port
Please Help , thanks

/dubbo-monitor-simple/src/main/resources/META-INF/dubbo/internal/com.alibaba.dubbo.container.Container 下修改
jetty-monitor=com.alibaba.dubbo.monitor.simple.container.JettyContainer
dubbo.properties下修改
dubbo.container=log4j,spring,registry,jetty-monitor
然后就好了

Hi @jiaopy
Thanks, it's works!


why there is no resonse for the command?

my xbox-one OS version is 10.0.14393.1065
i'm sure the ip address & live id are correct in the config file
but there is no response for the command i send in homebridge
"
[11/2/2016, 3:14:53 PM] Homebridge is running on port 51826.
[11/2/2016, 3:14:56 PM] [Xbox] Sending on command to 'Xbox'...
[11/2/2016, 3:14:58 PM] [Xbox] Sending on command to 'Xbox'...
...
"
the following  is my configuration
"accessories": [{
"accessory": "Xbox",
"name": "Xbox",
"ipAddress": "<IP_ADDRESS>",
"liveId": "FD00BDB6AD6137FD"
}
]

Is your Xbox set to instant on mode?  You also might want to set a static IP so your Xbox doesn't bounce around and stop working.

@arcreative  yes, i set  static dhcp mode in router, the ip address is stable.
and how to set instant on mode?  Even though,the xbox is poweron state, i could not powroff it via command.

Unfortunately, we can't turn it off at present due to the inability to access the proprietary control APIs. Instant on mode is set via the Xbox one power settings--it's the same setting that lets you wake it up with Kinect.

@zhang8083 Closing this, as I don't think there's anything to be done here.  If you were originally wondering about confirmation of the Xbox turning on, we're a bit limited here since the power on packet is a UDP dgram, and we don't really get a response or acknowledgement that the xbox received it.  The best we can do is send a few packets and let homebridge check the power status via ping.


Added API endpoint for creating user enrollments

Pre-Flight checklist

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
Closes #4
What's this PR do?
Creates an API endpoint to add enrollments for the logged-in user
How should this be manually tested?

Find or create a course run and note its id

Open a shell and test out the endpoint:
RUN_ID = <your run id>
USER_EMAIL = <your user email>

import json
from django.test.client import Client
from django.contrib.auth import get_user_model
User = get_user_model()
#
user = User.objects.get(email=USER_EMAIL)
client = Client()
client.force_login(user)
resp = client.post(
    "/api/enrollments/",
    data=json.dumps({"run_id": RUN_ID})
    content_type="application/json",
    follow=True,
)
resp

The request should succeed, you should have a CourseRunEnrollment record created, and an attempt should be made to create the enrollment in edX.
If you make the request with an invalid run id, you should get a 400 with an error message in the response body.

Codecov Report

Merging #63 (43ff59c) into main (d420333) will increase coverage by 6.67%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
+ Coverage   90.60%   97.28%   +6.67%
==========================================
  Files         199      116      -83
  Lines        5706     2579    -3127
  Branches      273        0     -273
==========================================
- Hits         5170     2509    -2661
+ Misses        455       70     -385
+ Partials       81        0      -81

Impacted Files
Coverage Δ

openedx/urls.py

main/utils.py

cms/factories.py

users/urls.py

users/management/commands/retire_users.py

courses/factories.py

authentication/views.py

openedx/api.py

openedx/utils.py

users/models.py

... and 69 more

Continue to review full report at Codecov.

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


fix race unit test error #1897

Issues associated with this PR
Your PR should present related issues you want to solve.
Solutions
You should show your solutions about the issues in your PR, including the overall solutions, details and the changes. At this time, Chinese is allowed to describe these.
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result.
Code Style

Make sure Goimports has run
Show Golint result

没看懂 为什么减少次数就没有race了

没看懂 为什么减少次数就没有race了

race 检测不能检测特别多的 goroutine, 所以减少 goroutine 数量就好了
#1897


Transformers should not be able to emit assets with ".." paths.

Currently a transformer can emit an asset whose path begins with "..", and "pub build" will emit that asset outside of its designated directory. This should be an error.

This issue has been moved to dart-lang/barback#34.


Crash every night on android 6.0.1, reload page, Dim screen and MQTT has some problem

Describe the bug
My device screen setting is turn off after 30s, in wall panel I set the screen dim to 0% after 15s, but when a lovelace had a live camera, the screen stay awake untill out of battery ( i request a turn off command via mqtt or http, POST {"wake": "false"} doesn't help )
If the lovelace doesn't have a live camera and stay awake in developer options is turned off, the screen will dim then turn off after 15s, and if not, the screen dim to about 5% brightness after 15s and do not turn off.
It can work normally during a day, but everytime i woke up, it crashed and i have to close then reopen again. A small box showed up "Wall panel doesnt response, close or wait?"
Reload page when disconnect seem doesn't work for me, some time the page stucks at 10% or 70% loading, when mqtt disconnected, it does not try to reconnect untill restart the app
To Reproduce
Steps to reproduce the behavior:
Smartphone (please complete the following information):

Device: Xiaomi Redmi note 3 Pro
OS: Android 6.0.1

I found that the crash is because of MQTT connection, maybe it is about traffic of mqtt message, when disable mqtt client option in the app, it work fine for 2 day ( until now ), and sometime when the app crash and i opened it again, the lux sensor value from the app on home assistant is change very quickly for about 30s


specify width of tree (tree_max_leaf_width does not work)

I am trying to print a dict using Tree. But I am unable to widen the output to the width of my terminal, what am I missing?
adict = Dict("a"=>"A very very very very very long text with description of the key spanning many columns")

import Term: theme
theme.tree_max_leaf_width = 100

julia> Trees.Tree(adict; title="Title", theme=Theme(tree_max_leaf_width = 100))
Title
  └─ a ⇒ A very very very very very long text with
         description of the key spanning many columns

Thanks for reporting this.
It appears to be a bug. Will be fixed in the next release.
using Term.Trees

adict = Dict("a"=>"A very very very very very long text with description of the key spanning many columns")

import Term: Theme

theme = Theme(tree_max_leaf_width = 200)

println(Tree(adict; theme=theme))

Will be fixed when https://github.com/JuliaRegistries/General/pull/79814 is released


Enhanced volume validation messages

If the validation of a volume failed, the validation should return a readable error message.

looking good so far, left some comments

LGTM too – please remove the extra unneeded complexity in Validation.scala and this is ready merge.

done

👍


Is Crimson Patched for V130?

The title basically explains my question

i only collect the exploits so idk


Remove deprecated setForce method from ExternalDependency

This may be incomplete, but I want to run tests on CI.
Fixes #21884

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@big-guy, @ljacomet - This PR removes the setForce method.  I think there is more cleanup necessary for internal classes since this functionality is no longer present.  For now, I'm just having isForced() in AbstractExternalModuleDependency return false, since there is no way to set it to true.
I wanted to check if this is the right approach before continuing to do this and update the docs.  Currently, I think the only tests that will still be failing are samples/snippets, some of which are no longer relevant and will be deleted anyway.
Can you please let me know if I'm missing anything here?

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@ljacomet - I still have plenty of tests to clean up, but is this what you had in mind for an internal API?

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

@blindpirate Thanks, Bo!


Question with forceShow on Android

Hi,
For some pushes I want the notification to be shown on the shader even if the app is in foreground, so I set forceShow = true for Android.
However, I have some other pushes that I don't need to be shown if the app is in foreground, instead I only want them to be shown in the shader if the app is in background.
How can I achieve this? In other words control forceShow option for specific pushes under the same app?

@mindr242 the plugin does not support that type of behaviour. You either always get the notification in the shader or only when the app is in the background. If you want the type of behaviour you describe set forceShow: false and use the local notification plugin to selectively show a notification while in the foreground.


Fix ConnectionError for gated datasets and unauthenticated users

Fix ConnectionError for gated datasets and unauthenticated users. See:

https://github.com/huggingface/dataset-viewer/issues/3025

Note that a recent change in the Hub returns dataset info for gated datasets and unauthenticated users, instead of raising a GatedRepoError as before. See:

https://github.com/huggingface/huggingface_hub/issues/2457

This PR adds an additional check (/auth-check) for gated datasets and raises DatasetNotFoundError for unauthenticated users, as it was the case before the change in the Hub.

Fix suggested by @Pierrci (thanks @Wauplin for pointing it out).

Fix #7109.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Note that the CI error is unrelated to this PR and should be addressed in another PR.

lgtm!


NSSet or NSOrderedSet properties

Hi,
I am trying to convert from JSON to CoreData model.
I have relationship between 2 models 1 to many and the property type of relation is NSOrderedSet. Is it possible to handle this situation and parse correctly?

Duplicate of #43


Added Laravel Livewire to Framework Extras and Laminas Db to Database

Added Laravel Livewire to Framework Extras and Laminas Db to Database.

@ziadoz
Removed Laminas Db from Database.

Thanks!


add eth_callBundle and flashbots_getUserStats to rpc documentation

https://github.com/flashbots/mev-relay-js#flashbots_getuserstats

addressed here https://github.com/flashbots/docs/pull/135


Can I help you with mod?

Hi I'm just wandering if I can help you to finish mod.
I'm bad at Stardew Valley modding (Anyway I know c# .-.), I can help you with art at least.
I rely want to finish this mod. (at least add everything from Issues).
For now, I did redraw the sprites. And planning to improve them for better look (add some wet-patches instead color fill. But it will affect on fullness indicator, so it will be better to add some other indication .-. or rework current)

current reworked sprites version.

Hi I'm just wandering if I can help you to finish mod. I'm bad at Stardew Valley modding (Anyway I know c# .-.), I can help you with art at least. I rely want to finish this mod. (at least add everything from Issues). For now, I did redraw the sprites. And planning to improve them for better look (add some wet-patches instead color fill. But it will affect on fullness indicator, so it will be better to add some other indication .-. or rework current)
 current reworked sprites version.

Absolutely! One of the great things about Git is that you can pull the source and modify it to your heart's content without worrying about breaking it for somebody else.
If you do make the modifications and are happy with the results, you can do a pull request to have it added to the main release.
I'm willing to help however I can, so feel free to reach out as you work.

Heh, that's really hard to read:
int num = type != null ? (!(type == "drying") ? (!(type == "messy") ? (!(type == "wet") ? LARGE_SPRITE_DIM*2 : LARGE_SPRITE_DIM) : LARGE_SPRITE_DIM*2) : LARGE_SPRITE_DIM*3) : (!c.IsDrying() ? ((double)c.messiness <= 0.0 ? ((double)c.wetness <= 0.0 ? 0 : LARGE_SPRITE_DIM) : LARGE_SPRITE_DIM*2) : LARGE_SPRITE_DIM*3);
But I suppose that's code that slices the sprite sheet?

I updated textures so they have more pleasant look when dirty. But I discovered bug with underwear icon, both sprites overlap.
Just interesting, are you need some additional sprites? (something like: toilet, or TV screens)

 I updated textures so they have more pleasant look when dirty. But I discovered bug with underwear icon, both sprites overlap. Just interesting, are you need some additional sprites? (something like: toilet, or TV screens)

Based on the current wetness/messiness indicator, the overlap is intentional. The way it currently works is that the "dry" image is always present, with the wet and messy overlaid, but only displaying a portion of the image based on percent used.
To use separate sprites is fine (I like the designs), but that code will need to be changed.

You mean more variation of fullness?

More sprites would be great, but there is currently no mechanism to use them (though they could be made for future use).

You mean more variation of fullness?

I was referencing your idea for toilet sprite etc.
I don't necessarily think the fullness indicator is necessary since you can hover over it for numbers. So going with static images like you made should work.

I was referencing your idea for toilet sprite etc.

Yes, I didn't notice.

I don't necessarily think the fullness indicator is necessary since you can hover over it for numbers. So going with static images like you made should work.

Hmm... That makes sense. I will try to dig up your code and maybe fix this issue.

I was referencing your idea for toilet sprite etc.

Yes, I didn't notice.

I don't necessarily think the fullness indicator is necessary since you can hover over it for numbers. So going with static images like you made should work.

Hmm... That makes sense. I will try to dig up your code and maybe fix this issue.

Also, a my suggestion would be, that if you go the route of static images, you'll probably want to add a row of sprites for when you're both wet and messy.

I was referencing your idea for toilet sprite etc.

Yes, I didn't notice.

I don't necessarily think the fullness indicator is necessary since you can hover over it for numbers. So going with static images like you made should work.

Hmm... That makes sense. I will try to dig up your code and maybe fix this issue.

Also, a my suggestion would be, that if you go the route of static images, you'll probably want to add a row of sprites for when you're both wet and messy.

Yes. I thought about it, but for the current system, I decided to make the possibility for them to overlap and make something like a sandwich. However, with a new system, it will make sense to do another row.

So. I did this. It looks better now and does not overlap. I also add a fifth wet end mess texture.

That's hoe it look.
I also changed the underwear change button to a left mouse.

Just wandering, did you know how to add new slot for underwear?

Just wandering, do you know how to add new slot for underwear?

As in adding an equipment slot? If so, then no, but there are other mods that do add equipment slots, so you could probably look to those for inspiration.
Also, I suggest working on one feature at a time. Doing too many things in a single pull request will make reviewing it much more difficult.


[tensorpipe] fix feature test

Fixes https://github.com/microsoft/vcpkg/issues/30933
libuv switch to use official CMakeList in PR https://github.com/microsoft/vcpkg/pull/24745, so the usage should be changed to the correct one.

[x] Changes comply with the maintainer guide
[ ] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Thanks!


Update epithelial_cell_part_of_X.yaml

added description.

looks like this was moved over to the CL repo:
https://github.com/obophenotype/cell-ontology/tree/master/src/patterns/dosdp-pattern-workshop
closing


Bugfix in pknx library

Description: Bugfix in dependency (pknx)
Related issue (if applicable): fixes dropping connections to KNX bux
Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[ ] New dependencies are only imported inside functions that use them ([example][ex-import]).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Awesome.!~


RN 0.48.4 was tagged but not released

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS:  macOS Sierra 10.12.6
Node:  8.5.0
Yarn:  Not Found
npm:  5.4.2
Watchman:  4.9.0
Xcode:  Xcode 8.3.3 Build version 8E3004b
Android Studio:  2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
react-native: 0.48.3 => 0.48.3
Steps to Reproduce

Project tests fails because of #15810, and this was fixed in 0.48-stable branch in 355eaf72b6c8775abf4edc8b8bd29e60db62af08, release tag was created in b61fe7fe80681ee23f6f6b35839d73e745cb0ec7
npm outdated in project dir to see that update available
npm info react-native | grep 0.48.4 to confirm that version 0.48.4 available

Expected Behavior
npm outdated should show something like:
Package                              Current           Wanted  Latest  Location
babel-preset-react-native              2.1.0            2.1.0   4.0.0  MyProject
react                        16.0.0-alpha.12  16.0.0-alpha.12  15.6.1  MyProject
react-native                          0.48.3           0.48.3  0.48.4  MyProject
react-test-renderer          16.0.0-alpha.12  16.0.0-alpha.12  15.6.1  MyProject

npm info react-native | grep 0.48.4 should return something like (time can be differrent):
'0.48.4': '2017-09-18T22:40:23.133Z'

Actual Behavior
npm outdated don't show react-native 0.48.4:
Package                              Current           Wanted  Latest  Location
babel-preset-react-native              2.1.0            2.1.0   4.0.0  MyProject
react                        16.0.0-alpha.12  16.0.0-alpha.12  15.6.1  MyProject
react-test-renderer          16.0.0-alpha.12  16.0.0-alpha.12  15.6.1  MyProject

npm info react-native | grep 0.48.4 don't return anything

I am going to close this issue. I've removed the tag and scheduled yet another build. Looks like it failed because of website step which means there could've been race condition between few builds.

Ok. Will wait. Just for notice. Recently I published to npm and was requested to confirm profile email. Publish to profiles with unconfirmed emails is locked...

@grabbou People opens new bugs because you close and not reopen this one. You close this issue too early without test first, not a good practice :-/
Duplicate: #16074


60 add vi helper

Initial solution to #60.
Key points:

Creates a new flowjax.train submodule, for organisational purposes. The old train utils are moved to flowjax.train.data_fit

New VI helper is in flowjax.train.variational_fit

Doesn't include a sample_and_log_prob method, which can come in separate work to keep the PRs simpler

I am currently adding some tests

Nice, I can add in the sample_and_log_prob method.

I've added the sample_and_log_prob method in https://github.com/danielward27/flowjax/pull/65, so the training script should be updated to use that.

By the way, I have no strong feelings about "train" vs "fit", but feel that we should be consistent and use one or the other and not both.

By the way, I have no strong feelings about "train" vs "fit", but feel that we should be consistent and use one or the other and not both.

How about fit_to_data and fit_to_variational_target?


replace log export module with resource

What's the issue with the module?

What's the issue with the module?

It adds no benefit to using the resource. The only benefit it has is to support org/folder from thes ame module but our templates can produce the exact resource anyway. The submodules for individual destinations are not sufficient for our use and migrating them will take time.
So in the future we can reconsider this module, but for now given we aren't using the destination submodules (the main benefit), I don't see the benefit of using the top level module either.

What's the issue with the module?

It adds no benefit to using the resource. The only benefit it has is to support org/folder from thes ame module but our templates can produce the exact resource anyway. The submodules for individual destinations are not sufficient for our use and migrating them will take time. And in order to support the logic for supporting multiple levels the logic becomes far more complicated within the module.
So in the future we can reconsider this module, but for now given we aren't using the destination submodules (the main benefit), I don't see the benefit of using the top level module either.

Thank, that makes sense. I just wanted the justification written down for posterity.

Definitely a good idea, in my rush I sometimes forget these things :)


Fix docs

Thank you for contributing to naz.
Every contribution to naz is important.
Contributor offers to license certain software (a “Contribution” or multiple
“Contributions”) to naz, and naz agrees to accept said Contributions,
under the terms of the MIT License.
Contributor understands and agrees that naz shall have the irrevocable and perpetual right to make
and distribute copies of any Contribution, as well as to create and distribute collective works and
derivative works of any Contribution, under the MIT License.
Now,
What(What have you changed?)

fix documentation styling

Why(Why did you change it?)

last merge broke docs styling

References:

Codecov Report

Merging #151 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #151   +/-   ##
=======================================
  Coverage   86.34%   86.34%
=======================================
  Files          14       14
  Lines        1318     1318
=======================================
  Hits         1138     1138
  Misses        180      180

Continue to review full report at Codecov.

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


gRPC query extension

Implementation of a gRPC query endpoint per issue #13469.
Provides a single gRPC-based endpoint for SQL queries. The query request is similar to the existing REST SqlQuery class. The response is gRPC-specific. It provides the result schema along with the results as a binary "blob". Results can be in CSV, JSON array lines or as an array of Protobuf objects. If using Protobuf, the corresponding class must be installed along with the rRPC query extension so it is available to the Broker at runtime.
The PR includes both unit and integration tests. The PR includes additional files that are also offered in other PRs. The intent is that those other PRs (#13877 and #14009) are merged first, then this one merges with master so that the other files "disappear" from this PR.
This PR also has a number of code-cleanup changes encountered while doing the implementation.
See the README.md file in the PR for details. See the query.proto file for the gRPC protocol and Protobuf messages.
he project consists of three Maven modules:

grpc-query: The actual gRPC query endpoint.
grpc-query-it: Integration tests for the extension.
grpc-shaded: Creates a shaded jar containing gRPC and our rRPC service definition.

The shaded module is needed because gRPC uses a version of Guava different than that which Druid uses. We get runtime errors if we try to combine the two. The shaded module contains the service definition because that generates code that also uses Guava.
The IT module has to be separate because it has dependencies that occur in the Maven build after the gRPC module. Specifically, it depends on it-cases which must come after distribution, but grpc-query must come before distribution.
Release note
This is a "contrib" extension. We don't seem to document such extensions in Druid itself. The README.md can serve as documentation instead.

This PR has:

[X] been self-reviewed.
[X] added documentation for new or modified features or behaviors.
[X] a release note entry in the PR description.
[X] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[X] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[X] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[X] added integration tests.
[X] been tested in a test Druid cluster.

The build is failing due to dependency:analyze being unable to find the grpc symbols. This may be due to the shaded grpc jar being unavailable. It may be unavailable because it is not in the saved Maven cache, and this particular Maven invocation did not rebuild it. A similar problem was resolved by moving from the compile to install Maven step.
Per the documentation:

Invokes the execution of the lifecycle phase test-compile prior to executing itself.

This step does a compilation, but does not trigger creation of the shaded jar, which then causes compile errors.
I've tried adding install to the analyze_dependencies_script.sh script.
At this point, I won't be available to continue the fixes. Can someone else please continue chipping away at the various build issues? It seems the shaded jar does not play well with our build scripts: I've made several changes to work around the issue: more may be needed. Or, perhaps we're doing something wrong with the shaded jar. Thanks!


Allow entering a hardcoded octoprint address, instead of relying on auto-discovery

This would let you print to a remote printer (one which is not on your local network).

I have added an external configuration file where the plugin stores it settings. In this configuration file, you can turn discovery on/off, and you can also manually add a server, so that discovery is not needed. The API Key can also not be added in the configuration file, instead of in the source code. The configuration file is reloaded when changed, so no restart of Cura is required.


feat: Server CI on push

Closes #139

#140  👈
main

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

Join @tazarov and the rest of your teammates on  Graphite


Exception loading models.

It appears that the library is unable to load the models.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at DlibDotNet.FrontalFaceDetector.Native.get_frontal_face_detector()
at FaceRecognitionDotNet.FaceRecognition..ctor(String directory)
at FaceRecognitionDotNet.FaceRecognition.Create(String directory)
at Temp.Form1.Form1_Shown(Object sender, EventArgs e) in C:\Users\Chris\Desktop\Temp\Temp\Form1.cs:line 47
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
************** Loaded Assemblies **************
mscorlib
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3163.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Temp
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/Chris/Desktop/Temp/Temp/bin/Debug/Temp.exe
System.Windows.Forms
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3151.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
System.Configuration
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
System.Core
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
System.Xml
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
FaceRecognitionDotNet
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/Chris/Desktop/Temp/Temp/bin/Debug/FaceRecognitionDotNet.DLL
netstandard
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_<IP_ADDRESS>__cc7b13ffcd2ddd51/netstandard.dll
DlibDotNet
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/Chris/Desktop/Temp/Temp/bin/Debug/DlibDotNet.DLL
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

DlibDotNet support only 64bit.
So you must specify 64bit architecture for your application uses FaceRecognitionDotNet.
Pkease checj project config.

That was it!  Thank you!!!


[fix] force<EMAIL_ADDRESS>

This resolves #230 for me - I'm now able to install dependencies. We'll see whether this breaks the preview deployment. If other folks aren't comfortable with this change, that's understandable, but it would certainly hamper my ability to contribute to this repo.

I don't love this, but at least it unblocks you, so I guess I'd say go for it. I wouldn't mind if we could actually put comments in the file so we know why it was added and could remove it later. I filed an issue for it in imagetools: https://github.com/JonasKruckenberg/imagetools/issues/294. It looks like they have some test fixtures that would need to be updated to get the tests passing with an upgrade


Is it possible to access WSL outside through ipv6?

I'm trying to access WSL like ssh remotely through ipv6 because I don't have a public ipv4 address, following configs like networkingMode=mirrored and hostAddressLoopback to enable ipv6 and expose wsl ports to windows and creating firewall rule for hyper-v to enable inbound rule for specific port (here, 22000 for SSH of WSL)1. But I still failed to establish ssh connection remotely/even locally through ipv6 address but successfully over ipv4 address. And at the same time, the ssh to windows ssh and a bridged-network virtual machine through ipv6 are all OK. While at the same time, I found it failed to access a ipv6 web server in WSL from Windows.
I'd like to know if it's possible to access WSL outside through ipv6, I haven't tried to disable networkingMode=mirrored and use netsh to create proxy v4 (WSL) to v6 (Windows) and don't know if it could work.
My current version and wsl conf is as follows,
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>-2
WSLg version: 1.0.61
MSRDC version: 1.2.5326
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26091.1-240325-1447.ge-release
Windows version: 10.0.22631.3880

wsl conf
[wsl2]
memory=180GB
networkingMode=mirrored
dnsTunneling=true

[experimental]
hostAddressLoopback=true
autoMemoryReclaim=gradual

/question


🐛 [cloud_firestore] fatal error: module map file

When I add the cloud_firestore dependency to my flutter app, the ios build is failing.
The build failure is as follows...
    fatal error: module map file
    '/Users/myUserName/src/MobileApp/ios/Pods/Headers/Private/openssl_grpc/BoringSSL-GRPC.modulemap' not found
    1 error generated.

Hi @safield
Not really sure how this could be related to firebase dependencies. It seems like https://github.com/grpc/grpc/issues/20631 is the problem.
Could you provide your flutter run -v and flutter pub deps -- --style=compact`?
Thank you


use other quant formats

Is it would be hard to use exl2 for same purpose ? Or openai compatible api ?

Hi @zba,
Thank you for your interest and support in LLMLingua. I believe there are no block issues with using the exl2 format. You can try replacing the code at LLMLingua Prompt Compressor with ExLlamaV2.
For the OpenAI format, you can use the latest API to obtain log probabilities and set max_tokens to 0. This will help you get the log probabilities for the prompt portion.


Add External IDP configuration for SAML SSO

Description:

The documentation https://apim.docs.wso2.com/en/3.0.0/learn/extensions/saml2-sso/configuring-external-idp-through-identity-server-for-sso/ has configurations for external IDP via WSO2 IS. We have to add documentation on configuring external IDP SAML SSO without involving the WSO2 IS.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
apim 3.0.0, apim 3.1.0
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

This is not applicable for API-M 3.1.0, because we have [1].
[1] https://apim.docs.wso2.com/en/3.1.0/install-and-setup/sso/okta-as-an-external-idp-using-saml/

@tgtshanika , please comment whether this Git issue is still applicable for API-M 3.0.0.

This is fixed in https://apim.docs.wso2.com/en/latest/install-and-setup/setup/sso/configuring-identity-server-as-external-idp-using-oidc/ and https://apim.docs.wso2.com/en/latest/install-and-setup/setup/sso/configuring-identity-server-as-external-idp-using-saml/


add cronjob update-gradebook-attr

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 60.237%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

catalyst_utils/models.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
509

Relevant Lines:
845

💛  - Coveralls


Rotating Issue?

First of all,its the first library which can use dynamic tab and dynamic content for each tab without need to initiate view controllers manually like other library do.You just use one controller and change data according to each index.Yeah pretty smart one.Thanks for your hard work...
But,I really do have some problem.If you have some time,can you fix it?

When rotating the device,it appear like that..

I'll check it

I will be waiting for your reply...Thanks for the check.

Ummm any help???please?do you still working on?;(


Published Releases

Hello,
I am part of Azure AI/HPC Engineering and would like to include this tool into our Azure AI/HPC marketplace image that we provide our customers to use on Azure ND/NC VM offerings. We had been using CUDA samples and some internal solutions to get BW results. However, this seems better suited for the task.
I was wondering if you could publish a release of this project. We like to control our dependencies with versioning.
Please let me know if you would be receptive to that or if you have any questions about our use case?
-Rafael Salas

Sounds good. We'll have this ready soon.

Awesome!

@rafsalas19 tags have been created here - https://github.com/NVIDIA/nvbandwidth/tags


Applicant Personal Request Alert

As an FOI applicant
I want to be able to see an alert
so that I understand how valuable it is to give all relevant personal information

Assumptions & Scope
When an applicant submits a request for personal information it is vital for them to know how important it is to provide all relevant personal contact information.
Example for Ministry of Forest wildfire requests:

What is IN scope?
What is NOT in scope?
Acceptance Criteria
Scenario 1: Selecting a Personal Request

GIVEN An applicant is making an FOI request
WHEN They select the "Personal information about yourself, a dependant child or another person" from the "What type of information are you looking for?"
Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

@m-prodan @KyEggleston Similar to #2889 for the Forest wild fire alert.


‘strcpy’ writing one too many bytes into a region of a size that depends on ‘strlen’

I trying to try out this project but I'm encountering an error when compiling the project
Info that could be helpful:
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian

$ make --version:
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

$ i686-w64-mingw32-gcc --version
i686-w64-mingw32-gcc (GCC) 10-win32 20220113
Copyright (C) 2020 Free Software Foundation, Inc.

Error:
ws_intercept-master$ make
i686-w64-mingw32-gcc -o ws.dll ./build/ws.o ./build/misc.o ./build/plugins.o -lws2_32 -liphlpapi -lpsapi -static -shared -Wl,--gc-sections -Wl,--out-implib,shared/libws.a -s
/usr/bin/i686-w64-mingw32-ld: ./build/plugins.o (symbol from plugin):(.text+0x0): multiple definition of `ws_handlers'; ./build/ws.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/i686-w64-mingw32-ld: ./build/plugins.o (symbol from plugin):(.text+0x0): multiple definition of `ws_plugins'; ./build/ws.o (symbol from plugin):(.text+0x0): first defined here
./source/ws.c: In function ‘register_handler’:
./source/ws.c:40:2: warning: ‘strcpy’ writing one too many bytes into a region of a size that depends on ‘strlen’ [-Wstringop-overflow=]
   40 |  strcpy(t->comment,comment);
      |  ^
./source/ws.c:39:22: note: at offset 0 to an object allocated by ‘malloc’ here
   39 |  t->comment = (char*)malloc(sizeof(char)*strlen(comment));
      |                      ^
collect2: error: ld returned 1 exit status
make: *** [Makefile:41: ws.dll] Error 1

Fixed, this project is dated and probably not very useful anyway. I'm not really sure how people keep finding it.


Oracle first GA

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

I have regenerated the .NET SDK on the Stable typespec here: https://github.com/Azure/azure-sdk-for-net/pull/44681
I have also added the Playback tests in that PR, please review that PR instead.


Added "Resolution" section.

Added "Resolution" section with the very first analysis step.

@LuigiBruno - It looks like there is a en-us country code in the URL, which should be left out.
https://docs.microsoft.com/**en-us**/windows-hardware/drivers/debugger/-analyze)
Can you update this PR to remove the en-us country code? This allows for a better international experience.

Hi @DOMARS. I've noticed that error after submitting the PR: I've already submitted another PR without the "en-us" local code in the URL.
Thank you.

Closing this PR as there is another PR that does not have the en-us in the URL.


regroup log entry fields

@danielnorberg Does this make sense?
I removed those @Nullable, not sure how they could be null.

@ulzha PTAL as well.

@honnix Yeah, those fields can no longer be null (at least not as produced by this code, things might be different if we try to parse some log messages from the future etc).

It that ever happens, we can change it safely I think. So far just to get rid of those IntelliJ warnings about potential NPE, which are annoying.

yolo!


Removing unneeded secret

Description
During investigation some issue with Patrick Martin in https://coreos.slack.com/archives/C02CMTM9GG1/p1655137077271099 we noticed that this secret is actually not needed because in app-interface saas file there is:
managedResourceTypes:
- ClowdApp

Type of change

[x] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I run make pre-commit to check fmt/vet/lint/test-no-fdo

We also discussed with Patrick Martin this bit might be used in non-standard deployments, like ephemeral cluster?

/retest

@jhutar testing failed

Ah, so looks like it is needed by bonfire deployment. Sorry for the mess.

Hello @bennyturns . Looks like this mergify bot did not noticed this is closed. Can it be silenced somehow?


Initial token auth scope end-to-end tests

Requires: https://github.com/signalfx/splunk-otel-collector/pull/363
Adds initial end-to-end test to verify that postgres SA monitor and SFx event exporters work w/ specific token auth scopes.  Gist is that API-only auth scope is not compatible w/ metric and metadata-producing clients like the Collector and triggers 401s without producing any data, but any Ingest auth scope provided token should work without 401s.
These changes also add a uuid to each test case, add SPLUNK_ env var support for testcase Collector instances, and include an unrelated flake fix.

Nice! Do we plan to run the tests in Gitlab?

Yes, this would be ideal.  Will sync with you and @jcheng-splunk for help w/ this.


Shape error

i keep getting this error "cannot copy from a tensorflowlite tensor (identity) with shape [1, 16128, 4] to a java object with shape [1, 5]"
and i was using android i had to change the input but when it comes to flutter i cant do any thing.

I had a similar problem. First you need to know if your model is Image Classification or an Object Detection Model. Than you need to ensure the model is compatible with this library and if you are using the right settings.
You can get more information about your model here: https://netron.app/
You can train your custom Image Classification here:  https://teachablemachine.withgoogle.com/
You can train your custom Object Detection here:  https://github.com/IfProgrammingIsMagicImaWizard/Train-Your-Own-Custom-Object-Detection-Model-for-Flutter-with-Tiny-Yolov2


Guide on Compiling Third Party UMD Modules

Is there a a guide for compiling third party libraries using browserify that are written in ES6 for use with the Angular CLI?
Currently any modules that I am trying to bundle can not be found by the cli when bundling them like this:
"dist:lib-es6": "rollup --format cjs src/foo.js --output dist/foo.rollup.js && browserify dist/foo.rollup.js --standalone Foo > dist/foo.es6.js"

I am not aware of any documentation about that, no. In case it helps, SystemJS is what ultimately loads the modules. Perhaps the configuration issue is there.


[OAuth] Finalize client libraries

Including cross window messaging for the end of the flow

They need to be written entirely as of now. The idea to use something like https://www.npmjs.com/package/node-cache to cache tokens until they reach expiry in memory. Call refresh once they expire. Quite straightforward


Cannot open a desktop instance in RHEL 7.9

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
Recently moved from Windows to RHEL 7.9 and started to try pyaedt in my new os. Afaik, Red Hat maintains its Python distro and i really don't know wheather is it Cpython implementation or not. That's why i use Python3.7 that shipped with Ansys HFSS installation. However i get
"AssertionError: Specified version 2022.1 is not known".
when i try to open new desktop session. My Linux machine already has licensed 2022.R1 up and running. Nothing wrong about it.
Steps To Reproduce
$ mkdir somedir && cd somedir
$ /opt/AnsysEM/v221/Linux64/commonfiles/CPython/3_7/linx64/Release/python/bin/python -m venv .venv
$ source .venv/bin/activate
$ git clone https://github.com/pyansys/pyaedt.git
$ cd pyaedt
$ python -m pip install .
$ python
>>> from pyaedt import Desktop
>>> d=Desktop("2022.1",non_graphical=False,new_desktop=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: Desktop() got an unexpected keyword argument 'new_desktop'
>>> d=Desktop("2022.1",non_graphical=False,new_desktop_session=True)
pyaedt INFO: using existing logger.
/home/nuri/sil/pyaedt/pyaedt/misc/misc.py:15: UserWarning: No installed versions of AEDT are found in the system environment variables ``ANSYSEM_ROOTxxx``.
  "No installed versions of AEDT are found in the system environment variables ``ANSYSEM_ROOTxxx``."
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/nuri/sil/pyaedt/pyaedt/generic/design_types.py", line 487, in Desktop
    aedt_process_id=aedt_process_id,
  File "/home/nuri/sil/pyaedt/pyaedt/desktop.py", line 401, in __init__
    self._main.student_version, version_key, version = self._set_version(specified_version, student_version)
  File "/home/nuri/sil/pyaedt/pyaedt/desktop.py", line 567, in _set_version
    assert specified_version in self.version_keys, "Specified version {} is not known".format(specified_version)
AssertionError: Specified version 2022.1 is not known

Which Operating System are you using?
Linux
Which Python version are you using?
3.7
Installed packages
aiohttp==3.8.3
aiosignal==1.3.1
appdirs==1.4.4
async-timeout==4.0.2
asynctest==0.13.0
attrs==22.1.0
certifi==2021.10.8
cffi==1.15.0
chardet==3.0.4
charset-normalizer==2.1.1
clr-loader==0.2.4
cycler==0.10.0
distro==1.8.0
dotnetcore2==3.1.23
frozenlist==1.3.3
future==0.16.0
grpcio==1.26.0
idna==2.7
imageio==2.22.4
kiwisolver==1.3.2
matplotlib==3.1.1
multidict==6.0.3
numpy==1.21.2
packaging==21.3
pandas==1.3.5
Pillow==9.3.0
plumbum==1.8.0
pooch==1.6.0
protobuf==3.18.1
psutil==5.8.0
pyaedt==0.7.dev0
pycparser==2.21
pyparsing==2.4.7
python-dateutil==2.8.1
pythonnet==3.0.1
pytz==2019.3
pyvista==0.37.0
requests==2.20.1
rpyc==5.0.1
scipy==1.7.0
SCons==4.0.1
scooby==0.7.0
sip==4.19.17
six==1.11.0
typing-extensions==4.4.0
urllib3==1.24.3
vtk==9.2.2
wslink==1.9.1
yarl==1.8.2

Hi @huseyinuri,
was this suggestion helpful?
In case it was, please do let us know so we can close the issue.
Thanks!


SIRT documentation example

Description

This example either has to have A in the equation or set A to be the identity in the code
Environment

import cil, sys
print(cil.version.version, cil.version.commit_hash, sys.version, sys.platform)

Also one of these should be transpose


TypeError: _FontAwesome.default.getImageSource is not a function.

Environment
macOS Monterey Version 12.4
react-native:  0.68.2
react-native-vector-icons:  ^9.2.0
expo:  ~45.0.0
Issue
When trying to use getImageSource I get the following error:
TypeError: _FontAwesome.default.getImageSource is not a function. (In '_FontAwesome.default.getImageSource('circle', 15, '#fff')', '_FontAwesome.default.getImageSource' is undefined)

Code
import Icon from 'react-native-vector-icons/FontAwesome';

const [icon, setIcon] = useState();

useEffect(() => {
    Icon.getImageSource('circle', 15, '#fff').then(setIcon)
}, []);

Notes
I'm not sure if using functional components instead of classes could be the issue, but I'm not sure why that would matter.
Also, here's the link to the docs showing it's usage:
https://github.com/oblador/react-native-vector-icons#usage-as-png-imagesource-object

Getting the same bug/error. Happens with getImageSourceSync, too.

hey - did you ever resolve this? having the same issue

We’ve just released a major new version with significant changes and improvements. If you’re still experiencing this issue after upgrading, please open a new issue with updated details. We're closing all the very old issues to get on top of things. Thanks for your patience!


Train and evaluate without image, calib files

It work well with kitti dataset Thank you!
but i want to train with my own dataset. so i changed my dataset to kitti format.
The dataset i have is including only point cloud data not images, calib.
Can i train and evaluate my dataset without calib and image files?
If possible, let me know how can i train that on simple way.

사진은 시각화를 위해 존재하지 학습을 하기 위해 존재하지 않습니다. 그래서 키티 데이터셋의 사진을 넣고 학습을 진행해도 상관이 없을 것 같습니다..
If you cannot read korean, tell me

학습을 성공하셨나요??

Thank you for replying.
I am still trying. but When i use my pointcloud with kitti image and calib, i guess there are some of problem on that.
Firstly, Couldn't the points be removed because of remove_outside parts in the code create_data.py?
Next, it is just a question. If I use any images and calib for eval, is there no problem with accuracy at all?

haha... I have a mistake when I tag different issue.
You can refer to https://github.com/traveller59/second.pytorch/issues/340
In here you can read  "the camera data will only be used for indexing and visualization in the viewer"
I think "the camera data" means image and calib
and calib data also use when measure aos(one of indicator)

I think you need to fill image coordinates in label file even if it is not exactly. I copied image coordinates with kitti label file even if it is not exactly.
After change, when it still be an error, let me know what error did you have

It has been proved that the image and image coordinates have no effect on training result.

@young147
Hi, I want to train with my own datasets without image and calib . But I met an error which is: "invalid configuration argument"
Did you succeed train the model without image and calib ?
Looking forward to your reply! Thanks a lot!

@young147
Hi, I want to train with my own datasets without image and calib . But I met an error which is: "invalid configuration argument"
Did you succeed train the model without image and calib ?
Looking forward to your reply! Thanks a lot!

Hi,as for me,I only train succeed without "correct" image info,which means adequate quantity of "fake" image and correct calib files are essential for a training.

@young147
Hi, I want to train with my own datasets without image and calib . But I met an error which is: "invalid configuration argument"
Did you succeed train the model without image and calib ?
Looking forward to your reply! Thanks a lot!

Hi,as for me,I only train succeed without "correct" image info,which means adequate quantity of "fake" image and correct calib files are essential for a training.

Thanks for your reply!!  Did you use the calib data of KITTI or the calib make by yourself? If you use your own calib ,could you tell me how do you get it? Thanks agan!

@young147
Hi, I want to train with my own datasets without image and calib . But I met an error which is: "invalid configuration argument"
Did you succeed train the model without image and calib ?
Looking forward to your reply! Thanks a lot!

Hi,as for me,I only train succeed without "correct" image info,which means adequate quantity of "fake" image and correct calib files are essential for a training.

Thanks for your reply!! Did you use the calib data of KITTI or the calib make by yourself? If you use your own calib ,could you tell me how do you get it? Thanks agan!

Not at all.It is better for you to make your own calib file according to the official kitti dataset documentation,firstly,you should get the intrinsic parameters of your camera,and get the transformation matrix of Trv2c，and fill the R0_rect with identity matrix if you only used one camera,and P1,P2 as well.That what I've done to train my own dataset,hope you make it.

@young147
Hi, I want to train with my own datasets without image and calib . But I met an error which is: "invalid configuration argument"
Did you succeed train the model without image and calib ?
Looking forward to your reply! Thanks a lot!

Hi,as for me,I only train succeed without "correct" image info,which means adequate quantity of "fake" image and correct calib files are essential for a training.

Thanks for your reply!! Did you use the calib data of KITTI or the calib make by yourself? If you use your own calib ,could you tell me how do you get it? Thanks agan!

Not at all.It is better for you to make your own calib file according to the official kitti dataset documentation,firstly,you should get the intrinsic parameters of your camera,and get the transformation matrix of Trv2c，and fill the R0_rect with identity matrix if you only used one camera,and P1,P2 as well.That what I've done to train my own dataset,hope you make it.

您好，我最近研究如何训练自己的数据集，遇到一些问题，想请教一下可以吗？方便的话，可以加我的qq<PHONE_NUMBER>


[SPARK-7857][MLLIB] Prevent IDFModel from returning zeros in SparseVe…

…ctors
When the IDF model's minDocFreq parameter is set to a non-zero threshold, the
IDF for any feature below that threshold is set to zero. When the model is used
to transform a set of SparseVectors containing that feature, the resulting
SparseVectors contain entries whose values are explicitly zero. The zero entries
should be omitted in order to simplify downstream processing.

Can one of the admins verify this patch?

Updated to use an ArrayBuffer instead of toSparse to omit explicit zeros in returned SparseVectors.

With minDocFreq, the idf vector will result lots of zeros, which means looping through each of elements in idf vector is not efficient. Also, with lots of zeros in idf vector, even the input vector is dense, the transformed result will be sparse. This PR doesn't address this issue. Let's make thing right in one PR.

I understand the issue you're pointing out, but it hasn't been a practical problem, even with hundreds of thousands of terms. The inclusion of explicit zeros in the output SparseVectors has been a practical problem, which is what led me to submit this JIRA and PR.
This is my first contribution to Spark, and I'm trying to adhere to the contribution guidelines. The guidelines suggest that "simple, targeted" changes are more likely to be accepted than "big bang" changes. It sounds like you're telling me this PR won't be accepted without making an additional optimization which adds ~100 lines of code, requires additional tests, and fixes an issue that was already present in the code before my changes. Is that what you're saying?

Your PR will impact the performance when idf vector is dense, but the input vector is sparse which is my concern. Of course, we would like to have patch as simple as possible, but we can not have impact on existing behavior. (also, this PR is not as simple as the original description sounds).  We definitely can help you to walk through the process.


Add README to project

Now that you have a GitHub repository, it would be great for it to have a README.md that gives a short summary of what people would need to know to get started using it. You can also link to your IRIS-HEP Fellow page in it.
As an exercise, make a new branch and then open up a PR that will address this Issue. :+1:

PR has been created.