About URLs and Categories

Hello,
I wanted to know, does the script take into consideration the URLs from other websites and tries to download it? If not is it possible to sort of take those URLs and putting them into a txt files?
And for Categories, i tried to download a category because all the channels in it, i want to download it but when i try ddg history (Category ID) it doesn't works. Is it supported or not?
Thanks

@NimbusCloudVoid For categories you need to use "category" or "categories" in place of "channel" or "channels" in the settings.
If you're asking if the bot downloads from sources other than just Discord, yes, it'll download any direct files and attempt to fetch from particular sources like Instagram if you have the login setup for it.

So if i let the lines channel/channels in the config and that i have the lines Category/categories in it, it won't work? Because i have those lines in the config but i put nothing in it except for category and it wouldn't work. I will try again with only category and comeback to you.
Thanks


add custom useragent in go-vinyldns client

Description of the Change
Go client for VinylDNS allows to set custom UserAgent, I modified providers ConfigureFunc in this change to create client with such UserAgent. At build stage (using makefile) there is -ldflags "-X main.version=${VERSION}" passed to the compiler which sets version variable in main.go file. Afterwards version is used to generate terraform-provider-vinyldns/<version> like UserAgent. Additionaly if given version is empty, generated UserAgent will be equal to terraform-provider-vinyldns (no version postfix).
Why Should This Be In The Package?
It satisfies issue #59
Benefits
Custom UserAgent allows to easy search and aggregate.
Possible Drawbacks
If there are some services/metrics that are filtering/basing on UserAgent header, they will need a change.
Verification Process
I created some unit tests for UserAgent generator. Unfortunately I don't know how to test if version variable was set on build time. If everything will work as expected, UserAgent will be equal to terraform-provider-vinyldns/<version>. In worst case scenario UserAgent would be terraform-provider-vinyldns

@marekfilip Thank you very much -- I think this looks good! I can work on passing in version at build time.


Multiple readers - one writer?

I was wondering if it is possible to have multiple readers and one writer?
e.g. process A does all the updates and processes B, C, D use the data that A updates into the db

You cannot have multiple processes accessing the same database. However, within a process you can have one write transaction and multiple read-only transactions.


Sensu sending OK and CRITICAL status for one check issued at a time

I have tried sensu and in below case it seems to be sending both OK and CRITICAL status for same sensu server request
1.configure a client and setup a check(http in my case)
2.first make the http test fail and send CRITICAL response
3.Make you server up , so that the http check are OK now.
4.sensu starts spamming by seeing the result as CRITICAL and OK for same request
5.From client the response seems to be OK , client is not sending any CRITICAL response once the http request are working.
Server logs
{"timestamp":"2016-04-04T16:23:15.037396+0000","level":"info","message":"processing event","event":{"id":"58629396-8ea5-4a41-b1ca-81c0b29e91bd","client":{"name":"c2-app01","address":"c2-app01","subscriptions":["production","app_server","node_server","node_server_health"],"version":"0.22.1","timestamp":1459787014},"check":{"command":"check-http.rb -u http://localhost:3002/health --timeout 1 -w --expiry  30","interval":30,"subscribers":["node_server_health"],"handlers":["slack","mailer","debug","sms"],"occurrences":1,"refresh":60,"name":"server_healthcheck","issued":1459786994,"executed":1459787022,"duration":0.241,"output":"CheckHttp OK: 200, 13 bytes\n{"success":1}\n","status":0,"history":["2","0","2","0","2","0","2","0","2","0","2","0","2","2","0","2","2","0","2","2","0"],"total_state_change":84},"occurrences":2,"action":"resolve","timestamp":1459786995}}
{"timestamp":"2016-04-04T16:23:15.038220+0000","level":"info","message":"handler extension output","extension":{"type":"extension","name":"debug"},"output":"{"id":"58629396-8ea5-4a41-b1ca-81c0b29e91bd","client":{"name":"c2-app01","address":"c2-app01","subscriptions":["production","app_server","node_server","node_server_health"],"version":"0.22.1","timestamp":1459787014},"check":{"command":"check-http.rb -u http://localhost:3002/health --timeout 1 -w --expiry  30","interval":30,"subscribers":["node_server_health"],"handlers":["slack","mailer","debug","sms"],"occurrences":1,"refresh":60,"name":"server_healthcheck","issued":1459786994,"executed":1459787022,"duration":0.241,"output":"CheckHttp OK: 200, 13 bytes\n{\"success\":1}\n","status":0,"history":["2","0","2","0","2","0","2","0","2","0","2","0","2","2","0","2","2","0","2","2","0"],"total_state_change":84},"occurrences":2,"action":"resolve","timestamp":1459786995}","status":0}
{"timestamp":"2016-04-04T16:23:15.052768+0000","level":"info","message":"handler output","handler":{"type":"pipe","command":"handler-twiliosms.rb","severites":["critical","unknown","CRITICAL"],"name":"sms"},"output":["sh: 1: handler-twiliosms.rb: not found\n"]}
{"timestamp":"2016-04-04T16:23:15.333083+0000","level":"info","message":"processing event","event":{"id":"8d4975f5-f2e9-480b-8d34-0b61d9a8ade1","client":{"name":"c2-app01","address":"c2-app01","subscriptions":["production","app_server","node_server","node_server_health"],"version":"0.22.1","timestamp":1459787014},"check":{"command":"check-http.rb -u http://localhost:3002/health --timeout 1 -w --expiry  30","interval":30,"subscribers":["node_server_health"],"handlers":["slack","mailer","debug","sms"],"occurrences":1,"refresh":60,"name":"server_healthcheck","issued":1459786994,"executed":1459787053,"duration":0.517,"output":"CheckHttp CRITICAL: Request error: Connection refused - connect(2) for "localhost" port 3002\n","status":2,"history":["0","2","0","2","0","2","0","2","0","2","0","2","2","0","2","2","0","2","2","0","2"],"total_state_change":84},"occurrences":1,"action":"create","timestamp":1459786995}}
{"timestamp":"2016-04-04T16:23:15.342252+0000","level":"info","message":"handler extension output","extension":{"type":"extension","name":"debug"},"output":"{"id":"8d4975f5-f2e9-480b-8d34-0b61d9a8ade1","client":{"name":"c2-app01","address":"c2-app01","subscriptions":["production","app_server","node_server","node_server_health"],"version":"0.22.1","timestamp":1459787014},"check":{"command":"check-http.rb -u http://localhost:3002/health --timeout 1 -w --expiry  30","interval":30,"subscribers":["node_server_health"],"handlers":["slack","mailer","debug","sms"],"occurrences":1,"refresh":60,"name":"server_healthcheck","issued":1459786994,"executed":1459787053,"duration":0.517,"output":"CheckHttp CRITICAL: Request error: Connection refused - connect(2) for \"localhost\" port 3002\n","status":2,"history":["0","2","0","2","0","2","0","2","0","2","0","2","2","0","2","2","0","2","2","0","2"],"total_state_change":84},"occurrences":1,"action":"create","timestamp":1459786995}","status":0}
{"timestamp":"2016-04-04T16:23:15.401469+0000","level":"info","message":"handler output","handler":{"type":"pipe","command":"handler-twiliosms.rb","severites":["critical","unknown","CRITICAL"],"name":"sms"},"output":["Unexpected error: Broken pipe"]}
{"timestamp":"2016-04-04T16:23:15.402715+0000","level":"info","message":"processing event","event":{"id":"b56f228b-8f00-4157-997a-8a526a6ce535","client":{"name":"c2-app01","address":"c2-app01","subscriptions":["production","app_server","node_server","node_server_health"],"version":"0.22.1","timestamp":1459787014},"check":{"command":"check-http.rb -u http://localhost:3002/health --timeout 1 -w --expiry  30","interval":30,"subscribers":["node_server_health"],"handlers":["slack","mailer","debug","sms"],"occurrences":1,"refresh":60,"name":"server_healthcheck","issued":1459786994,"executed":1459787052,"duration":0.572,"output":"CheckHttp CRITICAL: Request error: Connection refused - connect(2) for "localhost" port 3002\n","status":2,"history":["2","0","2","0","2","0","2","0","2","0","2","2","0","2","2","0","2","2","0","2","2"],"total_state_change":78},"occurrences":2,"action":"create","timestamp":1459786995}}
{"timestamp":"2016-04-04T16:23:15.403325+0000","level":"info","message":"handler extension output","extension":{"type":"extension","name":"debug"},"output":"{"id":"b56f228b-8f00-4157-997a-8a526a6ce535","client":{"name":"c2-app01","address":"c2-app01","subscriptions":["production","app_server","node_server","node_server_health"],"version":"0.22.1","timestamp":1459787014},"check":{"command":"check-http.rb -u http://localhost:3002/health --timeout 1 -w --expiry  30","interval":30,"subscribers":["node_server_health"],"handlers":["slack","mailer","debug","sms"],"occurrences":1,"refresh":60,"name":"server_healthcheck","issued":1459786994,"executed":1459787052,"duration":0.572,"output":"CheckHttp CRITICAL: Request error: Connection refused - connect(2) for \"localhost\" port 3002\n","status":2,"history":["2","0","2","0","2","0","2","0","2","0","2","2","0","2","2","0","2","2","0","2","2"],"total_state_change":78},"occurrences":2,"action":"create","timestamp":1459786995}","status":0}
client response :
{"timestamp":"2016-04-04T16:23:42.743078+0000","level":"info","message":"received check request","check":{"name":"server_healthcheck","issued":1459786994,"command":"check-http.rb -u http://localhost:3002/health --timeout 1 -w --expiry  30"}}
{"timestamp":"2016-04-04T16:23:42.984663+0000","level":"info","message":"publishing check result","payload":{"client":"c2-app01","check":{"name":"server_healthcheck","issued":1459786994,"command":"check-http.rb -u http://localhost:3002/health --timeout 1 -w --expiry  30","executed":1459787022,"duration":0.241,"output":"CheckHttp OK: 200, 13 bytes\n{"success":1}\n","status":0}}}

Resolved..Its not abug
our bad. there were two machines with same name.
Aa a suggestion you can show the ip or additional system details in log to identify better.


[Experiment] Improve startup time

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #issue...
Related #issue...

Details of Changes
Add details of changes here.

Defer loading non critical tasks and controls until after mainpage has loaded to prevent resource bottlenecks

Validation
How did you test these changes?

[ ] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)
Add screenshots here.

it seems to have some effect, though not much
this pr:
https://user-images.githubusercontent.com/59544401/127076423-1daf90c2-fc7d-4c64-b9c1-b0130d4f35d1.mp4
current:
https://user-images.githubusercontent.com/59544401/127076670-e4b167a9-0b49-415b-8600-b011721252ae.mp4

@winston-de took the liberty of doing some changes, let me know if you're ok with them:

Implemented @MichaelWilsonSNCDev suggestion, sidebar sections are loaded "in parallel" (but ordering is preserved)
Added back the workaround we had for duplicate sidebar sections
Fixed IsVerticalTabFlyoutEnabled setting not working after adding x:Load to HorizontalMultitaskingControl

Great, thanks!
Also, I'm working on the suggestion you had for improving the initialization of the sidebar controller.

@winston-de I've just realized you moved SidebarPinnedController.CreateInstance() to be called after main page is loaded, with this I don't think my suggestion is particularly meaningful, would be more for codestyle than performance.

My suggestion is looking worse and worse 😂 (not on the account of your implementation!). It adds quite a bit of complication, I'm curious if you've seen any benefit with this change.

In release mode, it does seem to reduce the delay between the favorites section loading and other sections. If it adds too much complexity tho it's probably not worth it.

No, that's it

LGTM, thought I saw a call to favoriteSection.ChildItems.Insert not wrapped in BlaBla.EnqueueAsync() [line 304] but it's before the section is added to the sidebar list so it should be fine, sorry.

@winston-de great work!


Remove finch-jackson

It's being extracted in its own project as per #892.

Codecov Report

Merging #920 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #920     +/-   ##
=========================================
- Coverage   82.73%   82.63%   -0.1%
=========================================
  Files          52       51      -1
  Lines         776      766     -10
  Branches       28       28
=========================================
- Hits          642      633      -9
+ Misses        134      133      -1

Impacted Files
Coverage Δ

core/src/main/scala/io/finch/package.scala
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Bussed part pins syntax broken for bus length > 9

Hello,
Loving skidl, but having an issue with creating a 16 bit wide bus.
I have a microcontroller with a series of pins named FMC_D0 through FMC_D15.
The following returns a list of length 22:
mcu['FMC_D[0:15]']

The pins 10-15 are being returned twice, and not in the proper order.
The following returns the same as above:
mcu['FMC_D[0:9]']

Modifying it to the following only returns only two exact pins:
mcu['FMC_D[0:9]\W']

Am I doing this incorrectly?
I can paste the .lib file if needed. I can confirm now that there is only one of each pin in the file. There isn't more than one pin with FMC_D11 in the name for example.

A suggestion would be to break up the numbers on either side of the colon and then modify the regex to be each number followed by a non-word character.
mcu['FMC_D[0:15]']

would search consecutively for:
mcu['FMC_D0\W']
mcu['FMC_D1\W']
...
mcu['FMC_D15\W']

Hmmm...
As I moved on I realized that the syntax works fine for another part with pin names: DQ[0:15]

Can you send me the .lib file with the MCU part that is causing the problem?

problemlib.zip
Licensing thing: the two items in there are from snapEDA which has a Creative Commons Share-Alike license.
MCU = Part(
    'GameteSnapEDA',
    'STM32F767ZGT6',
    dest=TEMPLATE,
)
mcu = MCU()

Thanks for looking at this.

You were on the right track: the matching algorithm was too aggressive. I modified it to add a regex for a non-number at the end of the matching string. That seems to have fixed the problem exposed by your library. Try it and see if it works for you:
pip install -U git+https://github.com/xesscorp/skidl

That fixes the one case. Another case in the same file is now failing:
sdram = Part(
'GameteSnapEDA',
'MT48LC16M16A2TG-6A_IT:GTR')

sdram['DQ[0:15]']

The search returns nothing. I think maybe the regex could be something like '[\D$]' so that the end of the string/line will match, too.

OK, sorry. We're playing regex whack-a-mole. I've committed a new fix and tested it with both your MCU and RAM with both increasing and decreasing bit orders. Seems to work. Give it a try and let me know.

Now this might just be me doing it wrong:
In [18]: sdram['A[0:12]']
Out[18]:
[Pin U3/23/A0/INPUT,
 Pin U3/20/BA0/INPUT,
 Pin U3/24/A1/INPUT,
 Pin U3/21/BA1/INPUT,
 Pin U3/25/A2/INPUT,
 Pin U3/26/A3/INPUT,
 Pin U3/29/A4/INPUT,
 Pin U3/30/A5/INPUT,
 Pin U3/31/A6/INPUT,
 Pin U3/32/A7/INPUT,
 Pin U3/33/A8/INPUT,
 Pin U3/34/A9/INPUT,
 Pin U3/22/A10/INPUT,
 Pin U3/35/A11/INPUT,
 Pin U3/36/A12/INPUT]

In [19]: sdram['^A[0:12]']
Out[19]:
[Pin U3/23/A0/INPUT,
 Pin U3/24/A1/INPUT,
 Pin U3/25/A2/INPUT,
 Pin U3/22/A10/INPUT,
 Pin U3/35/A11/INPUT,
 Pin U3/36/A12/INPUT]

In [20]: sdram['[^B]A[0:12]'] # no out field

In [21]: sdram['^A[0:12]$']
Out[21]: [Pin U3/23/A0/INPUT, Pin U3/24/A1/INPUT, Pin U3/25/A2/INPUT]

How do I exclude the 'BA0' and 'BA1'?

OK, more regex whack-a-mole. The problem with sdram['^A[0:12]'] is that SKiDL triggers the bus slices when it sees a bus name followed by the bracketed indices. The leading '^' prevents that trigger and SKiDL goes back to looking at it as a pure regular expression. In that case, it would look for ^A0, ^A:, ^A1 and ^A2 which is why it found A0, A1, A2, A10, A11 and A12.
I adjusted SKiDL so it triggers the bus slicing whenever bracketed indices are detected. I'm not sure it won't cause a problem later, but it works for all your examples and it passes the existing unit tests.

Thanks so much! It appears to be working for my project now.

I had to make a correction to the regex. Go ahead and re-install. It should work the same for you.


Target is removed instead of replaced when using ID generated by backend

I'm seeing unexpected behavior, and have been able to recreate the issue with a simple example. I'm using Django as a backend to generate templates, which include Alpine AJAX script tags. Most confusing to me is that I have another part of the project working just fine, and haven't been able to identify why the below setup doesn't work.
Please let me know what additional information would be helpful to help debug this! Much appreciated — this is a great tool and has otherwise helped streamline this project :)
Current Behavior
The div with ID matching the form's x-target is being removed instead of replaced after the form is submitted and the response is received from the server. This ID is being generated by the backend using the URL parameter (shown as 0 in the example below).
More specifically, if the URL param is 0, the ID would be target-0.
Inspecting the response from the server in the "Network" tab of the browser inspection tool shows the HTML is being generated as expected (shown below).
The target div is NOT removed if the ID is simply defined as target instead of target-{{ total }} without the dynamic number being added (example at the end).
Expected Behavior
Div with id target-0 (generated via backend using target-{{ total }}) is replaced with HTML from server. This would update the ID to be target-1.
Example Code
Test URL (param total is used to generate the target ID):
http://<IP_ADDRESS>:8000/test/0/

test.djhtml (Django-generated HTML template)

Current total: {{ total }}

    <form method="get"
	  action="/add/{{ total }}/"
	  x-init
	  x-target="target-{{ total }}">
	<button type="submit">+1 to total</button>
    </form>


fix crash, screen_retriever

https://github.com/leanflutter/screen_retriever/pull/15

Maybe we can consider screen_retriever: ^0.1.9.
I'll test, and push another PR.


doc: Bluetooth: Update PICS to 7.4.1

This PR updates/adds the following PICS to 7.4.1.
SM
L2CAP
GAP
GATT
MESH
This fixes #17158

Hi All reviewers,
I created PTS file from Launchstudio to check the consistency and found a few issues.
GAP > SM | 5:C.4 | If [GAP] (41/2a and 41/2b and 43/2a and 43/2b) are Not Supported then [SM] (5/5) is Excluded
Table 5:C.4 | If GAP 41/2a, GAP 41/2b, GAP 43/2a And GAP 43/2b Are Not Supported then SM 5/5 Is Excluded.

I don't think we support Link Key Conversion Function h7. I changed it to False.
16:C.3 | If [MESH] (12/5) is Not Supported then [MESH] (16/5-6) are Excluded

Could you comment on this?
SUM ICS > GAP Table 8A:C.2 | If SUM ICS 34/11 Is Not Supported then GAP 8A/3 Is Excluded.

I don't understand this one. From the GAP ICS 8A/3,

C.2: Mandatory IF (5/1 “Broadcaster, LE Only”) is supported; Optional IF SUM ICS 34/11 “CSSv7 LE Host” is supported; otherwise Excluded.

GAP 5/1 is True so it is a mandatory and SUM ICS 34/11 is No Longer Used, and our selection is valid. Missing something?

I don't think we support Link Key Conversion Function h7. I changed it to False.

We do actually support it, but it's only relevant for dual mode (LE + BR/EDR) support, and since we're doing an LE-only qualification I think the right action is to set it to False.

16:C.3 | If [MESH] (12/5) is Not Supported then [MESH] (16/5-6) are Excluded>
Could you comment on this?

Mesh 12/5 is "Proxy Client" which we don't support. Mesh 16/5-6 are Central role features, i.e. only relevant (for Mesh) if Proxy Client is supported. So for your Mesh qualification none of these should be enabled.

C.2: Mandatory IF (5/1 “Broadcaster, LE Only”) is supported; Optional IF SUM ICS 34/11 “CSSv7 LE Host” is supported; otherwise Excluded.
GAP 5/1 is True so it is a mandatory and SUM ICS 34/11 is No Longer Used, and our selection is valid. Missing something?

I don't think so, just that they failed to update this reference to SUM ICS 34/11 which doesn't exist anymore.

Mesh 12/5 is "Proxy Client" which we don't support. Mesh 16/5-6 are Central role features, i.e. only relevant (for Mesh) if Proxy Client is supported. So for our Mesh qualification none of these should be enabled.

I will mark it False.

Apart from that, GAP 8a/1-17 and GAP 20a/1-17 (except 8a/6 and 20a/6) should be set as discussed on slack with @jhedberg and @joerchan

@MariuszSkamra

(Broadcaster Link Layer Advertising Event Types)
TSPC_GAP_8_3  False ()  Non-Connectable and Non-Scannable Directed Event (C.1)
TSPC_GAP_8_4  False ()  Scannable Directed Event (C.1)
(Peripheral Link Layer Advertising Event Types)
TSPC_GAP_20_5 False ()  Connectable Undirected Event (C.3)
TSPC_GAP_20_6 False ()  Non-Connectable and Non-Scannable Directed Event (C.3)
TSPC_GAP_20_7 False (*) Scannable Directed Event (C.3)
(Peripheral Connection Modes and Procedures)
TSPC_GAP_23_2 False (*) Directed Connectable Mode (C.1)

All of the above belongs to Extended Advertising, not supported.

(Central Privacy Feature)
TSPC_GAP_36_2 False (*) Non-Resolvable Private Address Generation Procedure (C.1)
(Observer Privacy Feature)
TSPC_GAP_17_2 False (*) Non-Resolvable Private Address Generation
Procedure (C.1)
(Broadcaster Privacy Feature)
TSPC_GAP_11_3 False (*) Non-Resolvable Private Address Generation
Procedure (C.2)

Non-resolvable address generation is supported, API call bt_addr_le_create_nrpa.

Found a few misspellings, otherwise looks OK.

Thanks David, I fixed them.

Seems like the backporting of this failed because #15340 from @dbkinder was never backported, causing merge conflicts due to different beginnings to the files. I'll try to create the backport PR manually.


Add explanation on how to use HERP to the website

Currently no description is given on the website.

Layout and content have been added.


Messed up MappingFrame on CentOS

@leigh.orf
Screwed up historgram/transfer function window - speckles everywhere. Also, I can screw up the histogram by twiddling the minimum value for a volume. Best way to demonstrate this is with a screen cast! See: https://drive.google.com/open?id=1SxsMzpOoqD3AHMfMRGCCQQ3B1W7Xx2Sb (where Sam has been putting Vapor installs) - I have created a screencast directory. See orf-vaporcast-01.webm in that directory. Also, this video is a good example of a rendering issue that happens regularly on my home machine (white dots all over the transfer function panel).

No longer reproducible.


(FastlaneCore::Interface::FastlaneShellError) on travis ci build

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

My local bundle exec fastlane build is work fine. But, while I build my project on travis ci, the build just failed with error message
/Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': [!] Exit status of command 'set -o pipefail && xcodebuild -workspace "myAPP.xcworkspace" -scheme "myAPP" -configuration "Debug" build -destination "generic/platform=iOS" | tee '/Users/travis/Library/Logs/fastlane/xcbuild/2019-05-27/26176/xcodebuild.log' | xcpretty --color --simple' was 65 instead of 0. (FastlaneCore::Interface::FastlaneShellError)

Command executed

bundle exec fastlane build
Complete output when running fastlane, including the stack trace and command used

runs on travis ci

The following build commands failed:
PhaseScriptExecution Run\ Script /Users/travis/Library/Developer/Xcode/DerivedData/myAPP-cijiloxtoaolloerneooytbwzgoy/Build/Intermediates.noindex/myAPP.build/Debug-iphoneos/myAPP.build/Script-3B17AEC2228E5C0F004287F0.sh
(1 failure)
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in method_missing' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/helper/sh_helper.rb:80:in sh_control_output'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/helper/sh_helper.rb:12:in sh' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/actions/xcodebuild.rb:273:in run'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/runner.rb:256:in block (2 levels) in execute_action' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/actions/actions_helper.rb:50:in execute_action'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/runner.rb:235:in block in execute_action' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/runner.rb:227:in chdir'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/runner.rb:227:in execute_action' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/fast_file.rb:154:in method_missing' 	from Fastfile:62:in block (2 levels) in parsing_binding'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/lane.rb:33:in call' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/runner.rb:49:in block in execute'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/runner.rb:45:in chdir' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/runner.rb:45:in execute'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/lane_manager.rb:56:in cruise_lane' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/commands_generator.rb:333:in run' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/commands_generator.rb:41:in start'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/gems/fastlane-2.123.0/bin/fastlane:23:in <top (required)>'
from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/bin/fastlane:23:in load' 	from /Users/travis/build/jamfly/myAPP/vendor/bundle/ruby/2.4.0/bin/fastlane:23:in '
from /Users/travis/.rvm/gems/ruby-2.4.5/bin/ruby_executable_hooks:24:in eval' 	from /Users/travis/.rvm/gems/ruby-2.4.5/bin/ruby_executable_hooks:24:in '

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.5

Ruby
2.6.3

Bundler?
false

Git
git version 2.20.1 (Apple Git-117)

Installation Source
~/.rvm/gems/ruby-2.6.3/bin/fastlane

Host
Mac OS X 10.14.5 (18F132)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.6.3/lib

OpenSSL Version
OpenSSL 1.1.1b  26 Feb 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do

  before_all do
    clear_derived_data
    setup_travis
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Generate new localized screenshots"
  lane :screenshots do
    reset_simulators

    capture_screenshots(workspace: "myAPP.xcworkspace", scheme: "myAPP")
    frameit  # brew install imagemagick
  end

  desc "Submit a new beta build to apple TestFlight"
  lane :beta do
    build_app(
      scheme: "myAPP",
      workspace: "myAPP.xcworkspace",
      include_bitcode: true,
      xcargs: "-allowProvisioningUpdates"
      )
    pilot
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    build_app(scheme: "myAPP",
              workspace: "myAPP.xcworkspace",
              include_bitcode: true,
              xcargs: "-allowProvisioningUpdates")

    deliver
  end

  desc "Build the project"
  lane :build do |options|
    match(type: 'development')
    xcodebuild(
      workspace: "myAPP.xcworkspace",
      scheme: "myAPP",
      configuration: "Debug",
      clean: options[:clean],
      build: true,
      destination: "generic/platform=iOS"
    )
  end

end

`./fastlane/Appfile`
app_identifier("com.jamfly.myAPP") # The bundle identifier of your app
<EMAIL_ADDRESS># Your Apple email address

# For more information about the Appfile, see:

fastlane gems

Gem
Version
Update-Status

fastlane
2.123.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

terminal-table
1.8.0

CFPropertyList
3.0.0

multipart-post
2.0.0

word_wrap
1.0.0

public_suffix
2.0.5

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

gh_inspector
1.1.3

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

bundler
2.0.1

naturally
2.2.0

simctl
1.6.5

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types
3.2.2

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

digest-crc
0.4.1

google-cloud-storage
1.16.0

nanaimo
0.2.6

colored2
3.1.2

claide
1.0.2

atomos
0.1.3

xcodeproj
1.9.0

unicode-display_width
1.6.0

plist
3.5.0

addressable
2.6.0

tty-screen
0.7.0

tty-cursor
0.6.1

tty-spinner
0.9.0

excon
0.64.0

faraday
0.15.4

unf_ext
<IP_ADDRESS>

fastimage
2.1.5

json
2.2.0

rubyzip
1.2.3

dotenv
2.7.2

faraday_middleware
0.13.1

mime-types-data
3.2019.0331

jwt
2.2.1

signet
0.11.0

os
1.0.1

memoist
0.16.0

googleauth
0.6.7

emoji_regex
1.0.1

forwardable
1.2.0

logger
1.3.0

stringio
0.0.2

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

date
2.0.0

fileutils
1.1.0

etc
1.0.1

io-console
0.4.7

zlib
1.0.0

mini_portile2
2.4.0

nokogiri
1.10.3

rexml
3.1.9

psych
3.1.0

mutex_m
0.1.0

generated on: 2019-05-27

PhaseScriptExecution Run\ Script /Users/travis/Library/Developer/Xcode/DerivedData/myAPP-cijiloxtoaolloerneooytbwzgoy/Build/Intermediates.noindex/myAPP.build/Debug-iphoneos/myAPP.build/Script-3B17AEC2228E5C0F004287F0.sh

Is this possibly a custom script of your iOS project?

Hi @janpio
You save my day!
I could build my project in local with this command but I still don't understand why my CI failed with the script, currently I remove all script in my project.
Thank you again.
Jamfly

You're welcome, glad I could help.


[Bug]: System Prompt is not displayed for HF models

Describe the bug
The UI is not displaying system prompts for HF models, hence preventing editing.

The issue is if the system prompt is undefined, it will assume the model is not supporting system prompt, howerver when downloading from hf it is not true: https://github.com/a-ghorbani/pocketpal-ai/blob/54707a3dc765c45efba3f4e8a67cc39921b3feb3/src/screens/ModelsScreen/ModelSettings/ModelSettings.tsx#L179


REST API

Bitcoin Core supports a REST API, documented here: https://github.com/bitcoin/bitcoin/blob/master/doc/REST-interface.md
It would be nice to be able to use that API with Multibit-HD.  Obviously some of the API calls aren't really applicable to an SPV client, but some (e.g. headers) seem to make sense.
I'm guessing this isn't a high priority for you, so a few questions.

Is this something you would be interested in implementing?
Would you accept a pull request with such functionality if someone provided it, assuming it met your coding standards?
If someone supplied a bounty for this feature, would that encourage you to implement it?  If so, how much would the bounty have to be for?

Thanks.

Hi JeremyRand,
We wouldn't want to add this into MultiBit HD, primarily as it increases the attack surface considerably.
There is already quite a nice bitcoinj command line utility - wallettool : in the bitcoinj git repo - that could very easily be wrapped into a REST API. If you were after an api to do 'wallety' things I would start with that and then wrap it.
Regards,
Jim

Thanks for the quick response @jim618 .  Totally understandable; I'll look into wallettool.

Wallettool is pretty useful and would be easily extendable if you have custom logic you want to implement.
It uses encrypted HD wallets so it's pretty powerful.
The biggest limitation of bitcoinj in this area is that you can only really use bloom filtering and a narrow set of private keys.
There is a PrunedBlockStore in bitcoinj but it is generally thought to be for research purposes only (yet) i.e. you wouldn't want to run a business with it.


Prefs.Boolean and Prefs.File updates; added Prefs.Button.

Boolean now can allow_nan.
File now has a dedicated input.
Button added for a user push-button ==> activate set method.

@mwalsh161 Please see most recent push. Thanks!


Fails to download sourcemap file with inline mode

Hi,
It could be that my issue is related to other issues I could check before on that repo, or similar ones related to webpack itself. But I can't get it solved so I am posting it here, sorry in advance.
So I build my workers in inline mode as recommended in the documentation because I want to be able to run them when my assets are hosted onto a CDN and therefore they cannot be executed after being downloaded from there. Here is my webpack config settings for worker files:
     {         test: /\.worker\.js$/,         loader: 'worker-loader',         options: { inline: true }       }
And here is how I import a worker into the module I use it:
import MyWorker from '../workers/my.worker.js';
That is pretty much it for workers. Now everything runs fine in development mode (using HMR). But in production mode, my browser complains that it cannot download the following file (note: I am visiting the page https://localhost:8000/page/1):
https://localhost:8000/page/blob:https://localhost:8000/dec34fdec4a74f63396c.worker.js.map
I see two problems here: obviously the path is wrong, somehow it is a concatenation of the current page path, the "blob" scheme, the hostname, and the filename. In addition, when using an external domain as public path (my CDN), the path should not contain this hostname at all.
Apart from that, the code of the worker is running fine.
I am a bit confused about why this happens and where I should start to fix it. Any help would be appreciated!

Close in favor https://github.com/webpack-contrib/worker-loader/issues/245, source maps are broken we need fix it for all cases


Fix "build from source" document to clarify the bindata tag is required.

Related: #21845
I have seen many users not using bindata and asking "why my Gitea build doesn't work".
For almost 100% users, the bindata tag is required for the production build, the bindata contains not only the JS/CSS files, but also other essential backend data like templates.
Without bindata, Gitea is unlikely to run correctly in a production deployment.
If some advanced users want to fine tune the build, they should look into source code and other documents to separate bindata files carefully and manually.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@c144942). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main   #21853   +/-   ##
=======================================
  Coverage        ?   48.24%
=======================================
  Files           ?     1031
  Lines           ?   140854
  Branches        ?        0
=======================================
  Hits            ?    67961
  Misses          ?    64773
  Partials        ?     8120

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


Register the host IP address instead of domain name

Hello,
I want to register routes based on ip address instead of domain names (since i do not have access to a name-server or hosts file, I cannot tag an ip to host in /etc/hosts)
I tried something like :
proxy.register("/", "http://app-prod:3000", {
  ssl: {
    key: PATH_TO_KEY,
    cert: PATH_TO_CERT
  }
});

proxy.register("<IP_ADDRESS>", "http://app-prod:3000", {
  ssl: {
    key: PATH_TO_KEY,
    cert: PATH_TO_CERT
  }
});

proxy.register("<IP_ADDRESS>/app", "http://app-prod:3000", {
  ssl: {
    key: PATH_TO_KEY,
    cert: PATH_TO_CERT
  }
});

but they don't load anything when i try to access via https://<IP_ADDRESS>/ or  https://<IP_ADDRESS>/app
Secondly, is there a way I can register the hosting IP address itself?
Thanks.

This is almost identical to https://github.com/OptimalBits/redbird/issues/27


Bootstrap fonts loaded from /vendor instead of /public/vendor

The path for the bootstrap fonts is attempting to load directly from the /vendor folder instead of the /public/vendor folder. This is what I see in my console:
Failed to decode downloaded font: http://sitename.dev/vendor/adminlte/bootstrap/fonts/glyphicons-halflings-regular.woff2
Failed to decode downloaded font: http://sitename.dev/vendor/adminlte/bootstrap/fonts/glyphicons-halflings-regular.woff
Failed to decode downloaded font: http://sitename.dev/vendor/adminlte/bootstrap/fonts/glyphicons-halflings-regular.ttf
Failed to decode downloaded font: http://sitename.dev/vendor/adminlte/bootstrap/fonts/glyphicons-halflings-regular.woff2
Failed to decode downloaded font: http://sitename.dev/vendor/adminlte/bootstrap/fonts/glyphicons-halflings-regular.woff
Failed to decode downloaded font: http://sitename.dev/vendor/adminlte/bootstrap/fonts/glyphicons-halflings-regular.ttf

Hi @mklahorst
This is correct, the "public" folder is never shown in the URL as it's the document root of the web site.
Your error is more likely due to a misconfiguration on the server, missing or corrupt files.
You could try downloading the bootstrap glyphs again and dropping them over the top.
--
As the issue you're having is not directly Backpack related, I'll close this issue to keep the place tidy. Others are still free to try help out :)

I had this issue for a few moments as I had recently changed the URL of my development issue. Check to make sure your URL config is correct depending on if you use .env or /config/app.php

Thanks @AbbyJanke  and @OwenMelbz !
Yeah, def a noob question and realized all my paths were correct and indeed, my font files were (in the correct spot).
So, I found this thread: https://stackoverflow.com/questions/18369036/bootstrap-3-glyphicons-are-not-working  and just re-downloaded the files from Bootstrap and replaced them.
That did the trick - not really sure what caused the issue with the original files, but fresh files made the console errors go away and the icons appear.
Thanks again!


Whether or not the BERT listed in experimental results of STS tasks (p8, table 3) be fine-tuned?

@BinWang28 Thanks for your great work, it's very inspiring for me.
However, for the BERT's poor performance on STS tasks (listed in table III of the SBERT-WK paper), I wonder: if the BERT-[CLS] and Avg. BERT Embedding used there are just the pre-trained models without any fine-tuning (such as with NLI data) ?  If so, and with the fact that SBERT and SBERT-WK is fine-tuned with NLI data, is it persuasive enough when comparing them together directly? (I have read the source code but just want confirm it with you to avoid misunderstanding, thanks)

@slvher
Hi slvher,
Many thanks for asking!
(1)
The result for BERT-CLS and Avg. are directly obtained from BERT model without any finetuning.
(2)
-Our method can be viewed as a way to aggregate/fusion information across layers from BERT-based models. So, it is generally applicable to any pre-trained BERT models.
-Therefore, if you try our method directly on the original BERT model, you would able to see the improvements on STS datasets as well. However, the result is still not satisfying because the original BERT model is not trained for STS datasets. (e.g. not good for weighted averaging)
-So, we only provide results that are using SBERT as the pre-trained model because it is a stronger baseline and provides much better performance. And we suggest using the model fine-tuned with NLI if you're working on tasks like STS datasets (also for most of the sentence level tasks.).
(3)
We will consider adding the results to the original BERT model in the future as the Appendix section.
Hope it addresses your concerns. Feel free to ask if you have further questions.

@BinWang28  It's make sense to me. Thank you very much~


New App: Notepad++

Evergreen supports Notepad++, is it possible to create a config for it?

Added in https://github.com/aaronparker/packagefactory/commit/48df970bf8127276e0a8e60797de2e98588f0e7f


Update API key for RawPixel

Description

We're missing an API key for the RawPixel provider DAG. This causes the pull_data task to fail.
Reproduction

Attempt to run the RawPixel provider DAG in Airflow. Observe that the pull_data task fails and no data is ingested.
Resolution

We need to:

Obtain a new API key
Configure the key in Airflow
Re-run the DAG to make sure it's working

[ ] 🙋 I would be interested in resolving this bug.

@AetherUnbound Yes, partially. I got a response from them on March 20, saying they will discuss the situation with their team and get back to us as soon as possible. No more communication since then so I sent a follow-up email today as a reminder.

This is blocked pending a response from the provider.

I wonder if anyone from @rawpixel1 is active on GitHub?

Closing, as we successfully received the API key for Rawpixel. The http://api.rawpixel.com sub-domain has been shut down so the endpoint to use now is https://www.rawpixel.com/api/v1.


Redefine Errors interface

We would like to keep the size of Error as small as possible (currently, it's 48 bytes already).
So it needs to be defined as a struct with Boxed inner error, in the same manner as it's done in serde_json or reqwest:
https://github.com/serde-rs/json/blob/master/src/error.rs
https://github.com/seanmonstar/reqwest/blob/master/src/error.rs

@torymur but with this change, we will have to update code at all places which uses Error::IndexError for example.
Should it then be handled in this way ??
// Convert from ErrorImpl to Error
impl From<ErrorImpl> for Error {
    fn from(err_impl: ErrorImpl) -> Self {
        Error(Box::new(err_impl))
    }
}

And replacing this:
Err(Error::IndexError)

with this:
Err(ErrorImpl::IndexError.into())

Another option is to use constructor methods, I am not sure which design pattern would be better, lmk your thoughts on this.

Hey @sky-2002
Apologies, I now assigned myself to this issue and I will figure out a better way to communicate issues like this, which is more of a note to not forget, rather than anything actionable (even for a better thought than in description). This part of the project is in the middle of heavy refactoring and is not stabilized yet enough to answer here right now.

@torymur ahh right, thanks for clearing, thought as much, it did look like a note to not to forget, my bad 🙌🏻 .
Anyways, apologies for the interruption.
Actually I keep looking for issues to get hands on with rust (as I come from python) and also with outlines, and so found this one.

@sky-2002 There are some unassigned issues with json schema, for example, recently outlines added support for objects in enum fields, but we didn't have it here: https://github.com/dottxt-ai/outlines-core/issues/100

Cool, will check out those.


stange quick info for python functions

VSCode Version: Code 1.6.0 (e52fb0bc87e6f5c8f144e172639891d8d8c9aa55, 2016-10-10T18:37:40.189Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions: donjayamanne.python-0.4.0, robertohuertasm.vscode-icons-3.0.1, spywhere.guides-0.5.1

Steps to Reproduce:
1.type a function name, and then you type a '('.
2.you can see the stange quickinfo...

This is coming from a pyhton extension - can you please file this issue against donjayamanne.python extension.
fyi @DonJayamanne

@isidorn , isn't this an upstream issue (issue with VS Code), not displaying the tooltip correctly?
All the extension is doing is displaying a tooltip. It feels like the new scrolling behaviour added into the tooltips isn't working here.

add some settings only disable docstring display, and keep the  function and class parameters display??

@largezhou, the tooltip content is provided by the python extension. If you would like changes to the content displayed, them please discuss that in the python git repo.

@isidorn , found the issue, the contents of the label was too large. VS Code expects it to be one liner text.


Compile PInvoke

Hello,
I've run into issues compiling PInvoke:

(probably) no project can reference their CodeGenerationAttributes or WIndows.Core

Warning		The project 'CodeGenerationAttributes' cannot be referenced.
Warning		The project 'CodeGenerationAttributes.Profile111' cannot be referenced.
Warning		The referenced component 'Windows.Core' could not be found.

Therefore, it cannot generate code and I get errors like

Error	CS1615	Argument 4 may not be passed with the 'ref' keyword	Kernel32.Profile111	C:\Temp\PInvoke\pinvoke\src\Kernel32.Shared\Kernel32.Helpers.cs	207
Error	CS1061	'DbgHelp.LOADED_IMAGE' does not contain a definition for 'FileHeader_IntPtr' and no extension method 'FileHeader_IntPtr' accepting a first argument of type 'DbgHelp.LOADED_IMAGE' could be found (are you missing a using directive or an assembly reference?)	DbgHelp.Tests	C:\Temp\PInvoke\pinvoke\src\DbgHelp.Tests\DbgHelpFacts.cs	15

If I try to open "Properties" of CodeGenerationAttributes or Windows.Core I get a JSON error:

An error occurred trying to load the page.
Additional text found in JSON string after finishing deserializing object.

Please add into Contribution.md that you need the Nuproj extension :-)

I am using Visual Studio 2015 on Win10 having Resharper suspended
MFG (Sincerly)

The JSON error you see in the project designer is a bug in the project system. Nothing we can do about that except ignore it.
The project system is also responsible for the mistaken warning about the project references. The references are fine. Please ignore the warnings in the error list.
NuProj is only required for building packages within VS. You can build the whole thing from the command line using build.ps1 without NuProj installed.

Thanks for your report.

Thank you for the fast respond and adding the hint.
Ok, I will ignore the warnings and Json error. :-)
But why does the code generation not work or at least the project not compile for me?
Starting the build.ps1, I get the same errors:
[...]

CodeGeneration.Debugging -> C:\Temp\BeckyPluginTest\PInvoke\pinvoke\src\CodeGeneration.Debugging\bin\Debug\CodeGeneration.Debugging.exe
Windows.Core -> C:\Temp\BeckyPluginTest\PInvoke\pinvoke\bin\Debug\Profile92\PInvoke.Windows.Core.dll
Shared\Kernel32.Helpers.cs(150,72): error CS1615: Argument 4 may not be passed with the 'ref' keyword [C:\Temp\BeckyPluginTest\PInvoke\pinvoke\src\Kernel32\Kernel32.csproj]
[...]

If you need anything, please give me a hint what to look at. :-)
MFG (sincerly)

@HeikoStudt do you have this file on your computer?
"%ProgramFiles(x86)%\MSBuild\14.0\Imports\Microsoft.Common.Props\ImportBefore\Microsoft.NuGet.ImportBefore.props"

10.03.2016  21:12               873 Microsoft.NuGet.ImportBefore.props
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <NuGetProps Condition="'$(NuGetProps)'==''">$(MSBuildExtensionsPath)\Microsoft\NuGet\Microsoft.NuGet.props</NuGetProps>
  </PropertyGroup>
  <Import Condition="Exists('$(NuGetProps)')" Project="$(NuGetProps)" />
</Project>

MFG (Sincerly)

Then I'm out of ideas. We have the CI machine and many others saying there's no problem with build here. I'm not sure if you're missing some subtle dependency that the rest of us have or not -- but I don't think I can help you at this point.

Yeah, I have got the first layer of the problem! :-)
Several Project.json files lack the dependency to "CodeGeneration.Roslyn":
BCrypt, BCrypt.Profile111, DbgHelp, DbgHelp.Profile111, Kernel32, Kernel32.Profile111
Currently, I have those Project.json files with open changes, adding the 0.1.48-alpha-gaa3f482974 Version and everything but one test Project is building.
As I do not understand the process of the code generation build completely, you could help out to tell me, whether these dependencies would be added automatically somehow or why they are missing here only.
MFG (sincerly)

CodeGeneration.Roslyn is brought into these projects via transitive dependency propagation. In the project.json world, all dependencies of a project become the dependencies of projects that reference that project. You can see this after running .\build.ps1 -restore and inspecting the project.lock.json file of BCrypt, for example. You'll see CodeGeneration.Roslyn is in fact listed.
My guess is you're not using this script to restore packages (and/or you haven't disabled automatic package restore on build in VS) such that the nuget restore you're running doesn't properly propagate these dependencies.

The visual Studio is practically plain vanilla now; I have installed anew. In Nuget/General both downloading and auto-check are enabled.
The BCyrpt Project.lock.json is the following (after build.cmd -restore):
{
"locked": false,
"version": 1,
"targets": {
".NETPortable,Version=v4.0,Profile=Profile92": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"": [],
".NETPortable,Version=v4.0,Profile=Profile92": []
}
}
Probably, I will look into the Project.json stuff next, which I did not play with before.
Thank you very much so far,
MFG

The auto restore on build should be disabled or else VS build will break what build.ps1 -restore does.
Also,  your project.lock.json file should be much larger than that.

As I see it now, it is much larger after build.cmd -restore. :-)
Yes, you are right. It was VS restore.
If you are so kind to add those two facts into contribution.md?
a) Switch off Visual Studio/Nuget Package Manager/General/Automatically check for missing packages during build
b) Call the command from "Developer Command Line": "build.cmd -restore" or the powershell equivalent
Thanks a lot,
MFG
PS: If I find some time, I try to add some APIs I probably will use in my current pet project. Is there any license concern to copy over pinvoke.net APIs/Docs after having tested them?

Good suggestion. I've added a section to contrib

Thank you very much. Now the issue is really closed. :-)
MFG

Regarding your pinvoke.net licensing question, I know it has come up before and I had done some research on it. I just forgot the result. Does anyone else know? Otherwise I can dig it back up.

It looks like anything on pinvoke.net is fair game to use in this project, per its license.

I've added a note about the pinvoke.net license to our contrib doc


fix IPAM for StatefulSet

What type of this PR

Bug fixes

Consider the following scenario:

A StatefulSet Pod with random IP address allocation is deleted and soon kube-ovn-contrller is restarted;
kube-ovn-controller initailizes IPAM on startup and no IPAM record for the deleted StatefuleSet Pod is created;
A new StatefulSet Pod with the same name is created and kube-ovn-controller assigns a new IP address to it.

If StatefulSet Pod IP not initialized in IPAM, this IP might be acquired by another Pod, before the StatefulSet Pod acquires this IP


AFM Feedback 20 Jul 20

SD,
-You don’t have to mess with the Events Logs Reviewers, there will only be 2/AMOM and AFM.
-Can you add the Aircraft Arresting System Status (AAS) to the Brief Tab. They can just be dropdown boxes like the current one. UP colored Green and Down colored Red.
-The Inspection Tab doesn’t seem to work.
-We were having issues putting transients Inbounds on the Log.
If I can think of more, I’ll let you know.
Eugene "FISH" Fisher Jr, GS-12, DAFC
Airfield Manager

Addressed all with 9aba22a9ac2d3be996a2332a68e2ae4f58b83f5f


update visibility query to use Visible

latest bevy version moved is_visible property from Draw to Visible

Looks like CI didn't run, would you mind sending another commit to re-trigger the github actions? Not seeing a way to start it manually.

Thank you! It's hard to keep up with the changes in bevy master, appreciate the contribution. 😃


Error: write after end

I am getting a sporadic error:
Error: write after end
at writeAfterEnd (_stream_writable.js:236:12)
at PassThrough.Writable.write (_stream_writable.js:287:5)
at IncomingMessage.ondata (_stream_readable.js:639:20)
at emitOne (events.js:116:13)
at IncomingMessage.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at IncomingMessage.Readable.push (_stream_readable.js:208:10)
at HTTPParser.parserOnBody (_http_common.js:130:22)
at TLSSocket.socketOnData (_http_client.js:440:20)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at TLSSocket.Readable.push (_stream_readable.js:208:10)
at TLSWrap.onread (net.js:597:20)
It seems like if I introduce a wait of some kind of the code by putting a break point it works, but if I don't have the break point the error will occur.
The website I am getting this on is:
https://www.lexhelper.com
And the method in typescript is:
async function get_site_data(scanReport: ScanReport, url: string) {
let result = await unfurl(url);
log.info("Got unfurl data " + result);
scanReport.unfurlData = JSON.stringify(result);
await scanReport.save()
return scanReport;
};
It dies on the very first line and I was using 1.18.beta2 but it still happens with beta3 as well.
Thanks!

Good catch!
I think i worked it out. I've gone a head and published 1.1.8-beta.4.
Also I'm working on 2.0 at the moment which will be much better in terms of schema.

Looks like it worked, awesome job man!


remove some entries from json file

i had deleted some templates from the repo that's why its not showing on website
so delete those entries from json

I want to work in  this under gssoc22

@Aritra777


Add attention mechanism into seq2seq example

Add a feature of attention mechanism into the current seq2seq example.
https://github.com/chainer/chainer/issues/3799

working on this PR in #4123


Update and fix serve_ui and serve_index_html

The goal here is to allow the server to serve multiple routes for the UI, so that the UI can use browser routing.
How this works:

The server responds to a specified route like /users with the UI
The UI routes the user to the correct page/view within the web app

Please rebase to dr/make-http-lib-good in PR #42, then we can merge both

Please rebase to dr/make-http-lib-good in PR #42, then we can merge both

done


Multiple User

hi can i have multiple user/password for http/socks listening in same port?

https://docs.ginuerzh.xyz/gost/en/configuration/
search for "secrets parameter"


[fr] Allow to customize jimmer aggregate functions return type

In complex cases I want to be able to customize aggregate functions return type.
For example, sum(table.intProp) can easily exceed int limit, so I want to define this expression type as long.
It would be great if I could define some reusable aggregate functions by myself.
Currently aggregate expression classes are internal.

Try sumAsLong


Expunge allauth

This is the first part of reworking the alert signup process.
There are a handful of user-facing changes in this PR:

Users are no longer signed in when they manage their bookmarks.  Since that was the only way to sign in, we have removed everything where behaviour depends on the user being signed in.  Most users will not notice a difference.
Alerts will start to be sent to users who have not verified their email addresses.  (This used to be a requirement but was dropped in January 2019.)  Before merging, we must decide what to do about bookmarks that haven't been approved.  There are about 1000 such bookmarks, created between December 2016 and January 2019.  I would suggest dropping these from the database.
Email messages confirming alert signup are now tagged with "alert_signup" rather than "allauth".  This is presumably something that we can (but don't?) use in the Mailgun interface.

Closing this, as more to follow soon once I've added alert signups for PCNs.


Get DEC APP status timeout error not passed correctly

Describe the bug
App-manager get DEC APP  status timeout ,The APPs status  is always Starting. Should modify the APPs status RunExpectation in this scenario?
To Reproduce

Install dec-app-command-wait2min cyfs://5r4MYfFJ7ktzBzSi1sWmU7BJLgpEEdp8ukbWemsFuQc1/9tGpLNndpfRjUF59SsZidVaPuPd8QNFJusQKH8genY3Q
This DEC APP I set node service.js --status return after 2 min ,It maybe run timeout
Then my APP`s status  is always Starting

[2023-04-13 20:39:19.639437 +08:00] INFO [ThreadId(34)] [service\app-manager\src\dapp.rs:194] run cmd node service/service.js --status in C:\cyfs\app\9tGpLNndpfRjUF59SsZidVaPuPd8QNFJusQKH8genY3Q
[2023-04-13 20:39:19.640994 +08:00] INFO [ThreadId(34)] [service\app-manager\src\dapp.rs:196] program full path: C:\Program Files\nodejs\node.exe
[2023-04-13 20:39:34.644448 +08:00] ERROR [ThreadId(34)] [service\app-manager\src\dapp.rs:324] process not exit after timeout, app:dec-app-service, cmd:node service/service.js --status

Expected behavior
If app-manager get DEC APPs staus timeout ,This DEC APP may be run expection, Should modify the APPs status RunExpectation
app-manager_get_status_timout.zip

Unlike the install command, the status command should be controllable. This is the basic requirement of AppManager for DecApp developers.
If the status command does not return after a period of time (the current logic is 15 seconds, and this value may change later), AppManager will consider the command as an error.
At this time, the status of App is unknown and waiting for the next check to determine the status of App
Important: If the status command is wrong, it does not necessarily mean that the dec service is wrong, and it should not enter the RunException state at this time, because this state indicates the running state of the dec service.
If the status keeps on being wrong, which causes AppManager not to correctly respond to the state of the dec service, the developer has the obligation to fix the problem.

In this scenario, app-manager run CmdCOde::Status has caught the exception, and app-manager should pass the error to the developer through the external interface. Currently, it is normal for app-manager to return the external status, which can only be passed through the log of app-manager to find abnormalities. It is impossible to ask the developer to check the app-manager log to locate the problem.

First of all, there is no such operation request as CmdCode::Status. the App's status command is only called by the AppManager to determine the status internally. This status is not returned to the user directly, but only used for AppManager's internal logic.
Secondly, we believe that a normal DecApp developer should do some basic tests locally before the App hits the shelves. And these tests should ensure whether the basic commands of start, status, stop are running as required.
Currently, AppManager is focused on providing the right and appropriate functions to run DecApp. There are no plans to optimize the DecApp development experience.
Finally, AppManager is not obligated to help unqualified DecApp developers ensure that their DecApps run as well as possible. The 15-second timeout for the status command is just an internal insurance measure for AppManager to ensure that unqualified DecApps do not bring down the normal functionality of AppManager.

This idea can be compared to the Windows "window unresponsiveness" feature, where windows does not tell the developer under what conditions a program stuck in the main thread will be judged as "unresponsive"


numerical instability under different shapes in jnp.linalg.norm when ord="fro"

I am getting this weird behaviour in jnp.linalg.norm where in when I set ord="fro", I get different values when I pass input array x having shape as [1,1] instead of [2, 1, 1]. However, it is only the case for fro.
For other values of ord, I get consistent values.

[x] Check for duplicate issues.
[x] Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:

import jax.numpy as jnp

x = jnp.zeros([2, 1, 1])
x = x.at[0, 0, 0].set(3.4346476e-38)
x
# DeviceArray([[[3.4346476e-38]],
#
#             [[0.0000000e+00]]], dtype=float32)

y = jnp.zeros([1, 1])
y = y.at[0, 0].set(3.4346476e-38)
y
# DeviceArray([[3.4346476e-38]], dtype=float32)

print(jnp.linalg.norm(x, "fro", (-2, -1)))
print(jnp.linalg.norm(y, "fro", (-2, -1)))
# [3.4346476e-38 0.0000000e+00]
# 0.0 -------> why is this zero ? and not 3.4346476e-38 ?

print(jnp.linalg.norm(x, 1, (-2, -1)))
print(jnp.linalg.norm(y, 1, (-2, -1)))
# [3.4346476e-38 0.0000000e+00]
# 3.4346476e-38

print(jnp.linalg.norm(x, 2, (-2, -1)))
print(jnp.linalg.norm(y, 2, (-2, -1)))
# [3.4346476e-38 0.0000000e+00]
# 3.4346476e-38

[x] If applicable, include full error messages/tracebacks.

This behavior is related to JIT(jnp.linalg.norm is wrapped by jit)
In the [2, 1, 1] case
jnp.sqrt(jnp.sum(jnp.real(x * jnp.conj(x)), axis=axis, keepdims=keepdims))

is optimized to
%fused_computation (param_0.1: f32[2,1,1]) -> f32[2] {
  %param_0.1 = f32[2,1,1]{2,1,0} parameter(0)
  %abs.1 = f32[2,1,1]{2,1,0} abs(f32[2,1,1]{2,1,0} %param_0.1), metadata={op_name="jit(norm)/jit(main)/sqrt"}
  ROOT %bitcast.1 = f32[2]{0} bitcast(f32[2,1,1]{2,1,0} %abs.1), metadata={op_name="jit(norm)/jit(main)/sqrt"}
}

sqrt(sum(x * x)) is optimized to abs(x).
While in the [1, 1] case it is only optimized to sqrt(x * x)
%fused_computation (param_0.2: f32[1,1]) -> f32[] {
  %param_0.2 = f32[1,1]{1,0} parameter(0)
  %multiply.0 = f32[1,1]{1,0} multiply(f32[1,1]{1,0} %param_0.2, f32[1,1]{1,0} %param_0.2), metadata={op_name="jit(norm)/jit(main)/mul"}
  %bitcast.1 = f32[] bitcast(f32[1,1]{1,0} %multiply.0), metadata={op_name="jit(norm)/jit(main)/reduce_sum[axes=(0, 1)]"}
  ROOT %sqrt.0 = f32[] sqrt(f32[] %bitcast.1), metadata={op_name="jit(norm)/jit(main)/sqrt"}
}

@hawkinsp could you please have a look?

Closing as duplicate of #5816

@hawkinsp I think the point of this issue is:
For an array of size [2, 1, 1] XLA DOES optimize to abs(x) since sum is over axis=(-2, -1).
BUT for an array of size [1, 1] XLA does NOT optimize to abs(x), but sqrt(x * x) instead.

Well, perhaps XLA is missing an optimization here. However, you should not be relying on it happening: XLA may make that optimization, but it might not for any number of reasons. The real fix is to use a numerically stable formulation of norm.


Change the mdl custom build cdn link to something easily copy-able?

The cutom build cdn link is much hard to copy as it need mouse drag,
double click selects more content than the needed link,
can you guys make it a copy-able text field or some thing that functions as seen on http://www.bootstrapcdn.com or as click to copy as on http://cdnjs.com/libraries/font-awesome ?

I never thought about people just wanting to copy the URL. We’ll try and come up with something :)

There ain't any download button there and yes, its said

CSS hosted on our CDN (17.6kB gzipped):

some one has to assume thats a cdn link? or whats that link is for??
http://www.getmdl.io/customize/index.html

PS. There is a download button in the middle, discovered accidentally.

We definitely do have a download button :smile:

But you are right, the link should be easily selectable.


Column names in cursor.description contain unnecessary characters

Driver version

2.0.876
Redshift version

Redshift 1.0.23412
Client Operating System

Mac OS 10.15.7
Python version

3.9.1
Table schema

bookname varchar
author varchar
Problem description

Expected behaviour:
When the table has columns bookname and author, column names in cursor.description are also available as bookname and author.

Actual behaviour:
What I got from cursor.description were b'bookname' and b'author\xe2\x80\x8e' .

Error message/stack trace:
No error message for this issue.

Any other details that can be helpful:
See the reproduction code.

Python Driver trace logs

No trace for this issue.
Reproduction code

Code
# This is the same as the sample code on README
cursor: redshift_connector.Cursor = conn.cursor()
cursor.execute("create Temp table book(bookname varchar,author varchar)")
cursor.executemany("insert into book (bookname, author) values (%s, %s)",
                    [
                      ('One Hundred Years of Solitude', 'Gabriel García Márquez'),
                      ('A Brief History of Time', 'Stephen Hawking')
                    ]
                  )
cursor.execute("select * from book")

result: tuple = cursor.fetchall()
print(result)

#  This is the piece of code that I added:
for field in cursor.description:
  print(field)

Output
(['A Brief History of Time', 'Stephen Hawking'], ['One Hundred Years of Solitude', 'Gabriel García Márquez'])
(b'bookname', 1043, None, None, None, None, None)
(b'author\xe2\x80\x8e', 1043, None, None, None, None, None)

Hi @meih ,
Thanks for reaching out regarding this issue. The team will investigate this behavior and get back to you with our findings :)

Great, thank you!

@Brooke-white
Hi, is this reproduced on your end?  I would like to know if this could be an issue on my end

Hi @meih ,
Yes I have been able to consistently reproduce this issue on my end. From what I see, the second column name is always impacted, even when a table with more than two columns is used.
We are investigating this issue internally, I'll provide an update here with our findings.
The issue seems related to the parsing of the row description. redshift_connector's implementation depends on a null terminator byte occurring after the column name, which is present in the byte stream after these "extra" bytes \xe2\x80\x8e, causing them to be included in the column name.

Hi @meih ,
I was playing around with this issue a bit and pasted the queries in question into the Redshift query editor, which showed there is a "hidden" unicode character \u200e present after author. This is the cause of this issue. I've included a screenshot below which highlights this character.
If you try executing the statements pasted below, which do not contain this character, you should see no issue:
 with redshift_connector.connect(**db_kwargs) as conn:
        cursor: redshift_connector.Cursor = conn.cursor()
        cursor.execute("create Temp table book(bookname varchar, author varchar)");
        cursor.executemany("insert into book(bookname, author) values (%s, %s)",
                           [
                               ('One Hundred Years of Solitude', 'Gabriel García Márquez'),
                               ('A Brief History of Time', 'Stephen Hawking')
                           ]
                           )
        cursor.execute("select * from book")
        result: tuple = cursor.fetchall()
        print(result)

        #  This is the piece of code that I added:
        for field in cursor.description:
            print(field)

(['A Brief History of Time', 'Stephen Hawking'], ['One Hundred Years of Solitude', 'Gabriel García Márquez'])
(b'bookname', 1043, None, None, None, None, None)
(b'author', 1043, None, None, None, None, None)

I will update the project README with the corrected queries.

Hi @Brooke-white ,
Thanks for your investigation, it was nice to find out a code-specific issue and not a driver's.
And I've just figured out that the type of the column names was bytes and I needed to decode() them before using them as strings.
Problem solved. Thank you so much for your help!


[FEATURE REQUEST] Shorten die chatgames questions

In the chatgames.yml, there are 77 lines needed for one single question.
Please make most of the options "defaultable". That means, under the keyword "games:" there should not only be "game1:" to "game1000:", but also all of the options and effects as defaults. So that in the "games1:" section, you only have these keywords:
  game1:
    enabled: true
    messages:
      - "%center%&#44d742&lQuizz Zeit!"
      - "%center%&7In welchem Gebirge liegt der Mount Everest?"
    keywords:
      - "Himalaya"
      - "himalaya"

All other options should we able to make them as default for all questions.
(Sorry for my bad english)

I will add it in the next update, thanks for the suggestion!


Separate drift network from drift package.

we will create our own repo and call 'his' drift while maintaining the drift_network.


Term of Use

@sinkovit , i can't remember if we reviewed the default Term of Use on the gateway so I wanted to created an issue for future references.  The default Term of Use / User Agreement can be viewed here; can you take a look and see if we want any changes?

Hi Mona, I reviewed the terms of use. Everything seems reasonable and I'm sure the HubZero lawyers gave this a lot more thought than I did. Just check one thing (see below) before you close this issue.
MyInstitution appears seven times throughout the document. For example,
MyInstitution and https://uccommunityhub.hubzero.org sponsors regularly request https://uccommunityhub.hubzero.org usages statistics and other information.
Does that need to be updated to UCSD, with University of California, San Diego spelled out the first time.

@sinkovit, looks like there are quite a few legal-related stuff currently showing on the gateway.  Can you take a look @ https://uccommunityhub.hubzero.org/legal and see which ones we don't need?  i think i can hide those.  If we want to have the main "Legal" page @ https://uccommunityhub.hubzero.org/legal, what contact information should be provided for the legal contact?


[Add] Image Resource

Site URL
https://www.dreamstime.com/
Description of the above provided site
Dreamstime is the world's largest community for royalty-free photos and stock photography.
Category
Frontend
Sub Category
images
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

You may work on it now


Only run code coverage reporting on Jenkins

Running code coverage reporting in development can slow down running
tests, especially as the reporting runs on even single tests (as well
as the whole suite).
This change checks for the presence of the BUILD_NUMBER environment
variable, which will be available on Jenkins, but not on our development
environments. Code coverage reporting is only run if that environment
variable is truthy.

 Rspec tests are taking longer because of test coverage. Run only in integration

I think it would be better to explicitly set an environmental variable that can also be optionally set locally if you so wish.

@andrewgarner yeah I was thinking about doing that; I can add one if we think it'll actually get used?

Possibly/possibly not. Something like ENV['COVERAGE'] is environment agnostic though which I think is a good thing.


This does not work for PDF's

This does not work for PDF's.

It would be amazing if PDFs are also supported


Remove weave launch-dns and weave stop-dns

Remove weave launch-dns and weave stop-dns
Add --dns <cidr> option to weave launch that starts weaveDNS if specified

Requires changes to script, tests, docs.

One challenge here is what to do with all the DNS options; the script needs to somehow recognise them so it can pass them to weavedns and not weaver.
Suggestion: prefix all DNS options with dns-. The prefix would be stripped by the script, so weavedns would see its current, non-prefixed options.
And perhaps the CIDR should be supplied with dns-net <cidr>.
Another thing to figure out is error handling...

What should happen when one (but not the other) of weave or weavedns is already running? This normally shouldn't happen, in this new scheme, since both should be started and stopped together. But of course one of them may have died, or the user started one of them in some exotic way. I reckon we should not start the other, report "already running" and exit with an error. Other options: a) start the other but still exit with an error (weird), b) start the other but don't exit with an error (dangerous since the supplied options may be completely different to what is running, and imo success should mean 'launched with the supplied options'), c) kill the running one and then start both (surprising, imo, to kill something in 'launch').

Similar considerations apply to stop. We should stop whichever isn't running, report a "not running" for the other, and exit successfully (stop is idempotent).

What should happen when starting one fails? I reckon we should kill the other and exit with an error.

Replaced by #962.


Retrieving key from public key server times out

In your Dockerfiles, you have the following two lines:

gpg --keyserver ha.pool.sks-keyservers.net ..., and
apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys "$key";

This will time out in typical corporate environment since the default port is being blocked. Instead, the commands should use the fully qualified URL on port 80. So the keyserver should be specified as follows:
ha.pool.sks-keyservers.net --> hkp://ha.pool.sks-keyservers.net:80

What's the use case for building from source versus consuming the prebuilt
images?

@uromahn, same problem here.
But to stablish a connection to the key server I replaced the address from:
hkp://ha.pool.sks-keyservers.net:80
to:
hkp://p80.pool.sks-keyservers.net:80

@tianon, in my case, I need to customize the Dockerfile to suit my needs. If the use of port 80 is not a security concern, maybe should be fine to update Dockerfile with those changes.
Thanks for help

Closing old issue.  Related comment in https://github.com/docker-library/postgres/issues/262#issuecomment-279570514. Feel free to comment if you feel this was closed in error.


[bug] tauri 2.0 android init failed due to path issues on Windows

Describe the bug
cargo tauri android init fails when the path is linked.
I am not sure what is the correct way to describe it, but basically it is a dir under path A but actually linked to path B, just like a symlink created by the command ln -s B A/dir on linux.
I found a working way but the problem is still there.
I have my repos in E:\para\Repos, and linked it to C:\Users\para\Repos:
$ ls -l C:\Users\para\Repos
lrwxrwxrwx    8 para     para            14 Nov 06 21:17 C:\Users\para\Repos -> E:/para/Repos/

First, I cd into C:\Users\para\Repos\tapp, and executing tauri android init gives me such error:
thread 'main' panicked at C:\Users\para\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-cli-2.0.0-alpha.21\src\mobile\mod.rs:317:6:
called `Result::unwrap()` on an `Err` value: AssetDirOutsideOfAppRoot { asset_dir: "assets", root_dir: "C:\\Users\\para\\Repos\\tapp\\src-tauri" }

I looked into the mentioned file, and found a function takes the linked path C:\Users\para\Repos\tapp correctly at start, but translates it to the original path E:\para\Repos\tapp when actually comparing, which introduces inconsistency.
Then I tried to execute tauri android init from E:\para\Repos, which is the original path with no symlink, but got a different error:
thread 'main' panicked at C:\Users\para\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cargo-mobile2-0.8.0\src\util\path.rs:136:13:
internal error: entered unreachable code: `abs_src` and `abs_dest` have no common root

Looked into the code again, I guess it is using C:\ as abs_src and E:\ as abs_dest (or vice versa, they are different anyway), results in the no common root error.
Finally, I moved the project folder to a directory under  C:\, and it works.
Reproduction
As described above.
Issue 1:

On windows, create a symlink and use it as the parent folder.
cd into the symlinked path, and create a tauri 2.0 app cargo create-tauri-app --alpha here, run cargo tauri android init

Issue 2:

On windows, create a tauri 2.0 app cargo create-tauri-app --alpha on non-C drive (I am not very sure about this, maybe system drive? or the drive rust/cargo is installed?)
run cargo tauri android init

Expected behavior
        Info "C:\\Users\\para\\.cargo\\bin\\cargo-tauri.exe" relative to "C:\\Users\\para\\Documents\\tapp\\src-tauri" is "..\\..\\..\\.cargo\\bin\\cargo-tauri.exe"
Generating Android Studio project...
        Info "C:\\Users\\para\\Documents\\tapp\\src-tauri" relative to "C:\\Users\\para\\Documents\\tapp\\src-tauri\\gen/android\\app" is "..\\..\\..\\"
victory: Project generated successfully!
    Make cool apps! 🌻 🐕 🎉

Full tauri info output
[✔] Environment
    - OS: Windows 10.0.19045 X64
    ✔ WebView2: 120.0.2210.144
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.77.0-nightly (5518eaa94 2024-01-29)
    ✔ cargo: 1.77.0-nightly (7bb7b5395 2024-01-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: nightly-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 18.19.0
    - npm: 10.2.3

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.21
    - tauri-build [RUST]: 2.0.0-alpha.14
    - wry [RUST]: 0.35.2
    - tao [RUST]: 0.24.1
    - tauri-cli [RUST]: 2.0.0-alpha.21
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.21

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:3000/
    - framework: React (Next.js)
    - bundler: Webpack

Stack trace

thread 'main' panicked at C:\Users\para\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tauri-cli-2.0.0-alpha.21\src\mobile\mod.rs:317:6:
called `Result::unwrap()` on an `Err` value: AssetDirOutsideOfAppRoot { asset_dir: "assets", root_dir: "C:\\Users\\para\\Repos\\tapp\\src-tauri" }
stack backtrace:
   0:     0x7ff648ffeae2 - <unknown>
   1:     0x7ff649028f4d - <unknown>
   2:     0x7ff648ff7ea1 - <unknown>
   3:     0x7ff648ffe90a - <unknown>
   4:     0x7ff649001ac9 - <unknown>
   5:     0x7ff649001785 - <unknown>
   6:     0x7ff649001fe4 - <unknown>
   7:     0x7ff649001eb9 - <unknown>
   8:     0x7ff648fff3e9 - <unknown>
   9:     0x7ff649001b86 - <unknown>
  10:     0x7ff64908a3c7 - <unknown>
  11:     0x7ff64908a903 - <unknown>
  12:     0x7ff6480f8af1 - <unknown>
  13:     0x7ff6482ab710 - <unknown>
  14:     0x7ff6480f17b4 - <unknown>
  15:     0x7ff6480baf90 - <unknown>
  16:     0x7ff6480b7827 - <unknown>
  17:     0x7ff6480bc6f6 - <unknown>
  18:     0x7ff6480b703c - <unknown>
  19:     0x7ff648fee8a2 - <unknown>
  20:     0x7ff6480b79ec - <unknown>
  21:     0x7ff64903c1b0 - <unknown>
  22:     0x7fff8f5e7344 - BaseThreadInitThunk
  23:     0x7fff911a26b1 - RtlUserThreadStart

thread 'main' panicked at C:\Users\para\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cargo-mobile2-0.8.0\src\util\path.rs:136:13:
internal error: entered unreachable code: `abs_src` and `abs_dest` have no common root
stack backtrace:
   0:     0x7ff648ffeae2 - <unknown>
   1:     0x7ff649028f4d - <unknown>
   2:     0x7ff648ff7ea1 - <unknown>
   3:     0x7ff648ffe90a - <unknown>
   4:     0x7ff649001ac9 - <unknown>
   5:     0x7ff649001785 - <unknown>
   6:     0x7ff649001fe4 - <unknown>
   7:     0x7ff649001e7b - <unknown>
   8:     0x7ff648fff3e9 - <unknown>
   9:     0x7ff649001b86 - <unknown>
  10:     0x7ff64908a3c7 - <unknown>
  11:     0x7ff64876de65 - <unknown>
  12:     0x7ff64832b855 - <unknown>
  13:     0x7ff6482ac520 - <unknown>
  14:     0x7ff6480f17b4 - <unknown>
  15:     0x7ff6480baf90 - <unknown>
  16:     0x7ff6480b7827 - <unknown>
  17:     0x7ff6480bc6f6 - <unknown>
  18:     0x7ff6480b703c - <unknown>
  19:     0x7ff648fee8a2 - <unknown>
  20:     0x7ff6480b79ec - <unknown>
  21:     0x7ff64903c1b0 - <unknown>
  22:     0x7fff8f5e7344 - BaseThreadInitThunk
  23:     0x7fff911a26b1 - RtlUserThreadStart

Additional context
I am not sure if I should combine these together or create two separate issues.
Please let me know if I did anything wrong. Thank you!

Closing as duplicate of https://github.com/tauri-apps/tauri/issues/8531


Allow infinite loop on counterclockwise rotateZ

In the same way a value of 360 reset to 0 rather than step backwards, so should a value of -360; allowing for counterclockwise infinite rotate.

Just realised the github editor messed up somewhere (guessing tabs/spaces or line endings).
The actual change is around line 3705 with this:
} else if (/^rotate/.test(propertyName) && parseFloat(tweenContainer.endValue) === -360) {
  tweenContainer.endValue = 0;
  tweenContainer.startValue = -360;
}

If you want a new request without every line being touched, let be me know.

yes please

Sent new pull request without every line changed


Registry API: DeleteApiDeploymentRevision can delete the only remaining revision of a deployment

Same as #257 but for deployments

Fixed by #718 - thanks @seaneganx for pre-writing the tests!


Initial PR-validation github action

Description

A initial PR-validation using github action that will trigger on each PR
Relevant issues/tickets

N/A
Type of change

[X] Devops
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] This change requires a documentation update
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added a test case that will be used to verify my changes
[ ] Verified independently on a cluster by reviewer

Verification steps

See a example of the PR run here: https://github.com/NissesSenap/grafana-operator/actions/runs/900398268

overriding ci


My solution aren't upload in repository.

use the older leetcode UI. Click on your profile and click "revert to old version"

Yeah, i found it. Thank you
On Sun, 9 Oct, 2022, 3:24 pm AAKASH R, @.***> wrote:

But that revert option is not available in my account
On Sun, 9 Oct, 2022, 3:22 pm Qasim Wani, @.***> wrote:

use the older leetcode UI. Click on your profile and click "revert to old
version"
[image: image]
https://user-images.githubusercontent.com/43754306/194750097-b2588ec1-7485-4f50-8f93-542fb5028417.png
—
Reply to this email directly, view it on GitHub
https://github.com/QasimWani/LeetHub/issues/368#issuecomment-1272503576,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANIFQ3JXJFQYSWRAEGGMPKLWCKIVBANCNFSM6AAAAAAQ6G5OZY
.
You are receiving this because you authored the thread.Message ID:
@.***>

But that revert option is not available in my account
On Sun, 9 Oct, 2022, 3:22 pm Qasim Wani, @.***> wrote:

use the older leetcode UI. Click on your profile and click "revert to old
version"
[image: image]
https://user-images.githubusercontent.com/43754306/194750097-b2588ec1-7485-4f50-8f93-542fb5028417.png
—
Reply to this email directly, view it on GitHub
https://github.com/QasimWani/LeetHub/issues/368#issuecomment-1272503576,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANIFQ3JXJFQYSWRAEGGMPKLWCKIVBANCNFSM6AAAAAAQ6G5OZY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Fixes for bugs encoutered when proof-reading Romain's blog post

Remove reference to FamixTParameterizedType
Deal with invocations that do not have a source anchor. Please review this before merging, I am not sure this fix is right.

After re looking at this issue. It is more a problem of version between Moose11 and Moose12. Ok to start a v6 with Moose 12 support

Oo. I tested and it also works with Moose 11... I'm completely puzzled... tests are the most important stuff
go for it


Add detection for sme on aarch64.

This is based on the ARM ComputeLibrary implementation here.
Not quite sure how to implement tests for this though.

Not quite sure how to implement tests for this though.

Can we do it through CPUINFO_MOCK?


Delete the "does the manuscript justify the deviation?" follow-up question

Replace with:
Is the deviation reasonable?
Yes: "OK. Not grounds for rejection"
No: "Explain in your review why the deviation is unreasonable and suggest possible fixes. Reject the paper unless fixes are trivial.
Tooltip on "is the deviation reasonable": If the manuscript justifies the deviation, consider the justification offered.

Still not working.

Updating server (wasn't updated that's why you couldn't see changes)

Fixed!


Customize the context menu

v0.6.1 of the monaco editor doesn't surface the ability to customize the context menu. The team is working on bringing back that functionality.

[ ] remove unused menu items
[ ] add save
[ ] add run simulator
[ ] hook our own formatting function into Format text
[ ] rename Command Palette to "Show Commands"

Microsoft/monaco-editor#199


Update landing page

Proposed changes:

...

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

@eliseboyd updated content: http://397350815d94.ngrok.io/docs/rasa/next/
How do you feel about the fact that the title wraps? should it just be Rasa Open Source?

actually i think hiding the TOC fixes this and is ideal for the landing pages (especially since we're using the headers as ways to emphasize info and not necessarily as traditional headers, esp on the rasa x intro)


More v2 improvements

Update of various tutorial aspects:
DataFrames:

Add explanation of row selector with a boolean mask
Reduce the dataset size again, but removing all of the derived and Kaggle specific columns (keeping EventID, PRI*, Label)
Add an explicit link to the Higgs dataset CSV
Add some clarifications as to why certain things are done or points of note (better for the "standalone" version on the web).
Reduce the size of the datatset used, by dropping derived data columns
Note that column selectors are generally used with select
Add example to select rows from a derived vector of bool
Introduce also transform
Give a table summary to understand the differences between select, transform, filter and combine
Explain how missing values work: types + multiple dispatch

Operators and Variables:

Explain === as object comparison (as opposed to in-memory object, as pointed out by Uwe and Anton)

Control and Conditional:

Make more explicit use of ∈ and explain that = is disfavoured in for loops

General:

Drop Julia Survival Syntax from the titles of some sections
Many minor formatting fixes

Closes #33
Closes #30

If we're fixing typos, then in dataframes intro, "manegable" -> "manageable".
(Thanks for spotting my "exponentation" in return!)

Thanks! For some reason my code spell checked doesn't run in markdown cells.

Yah, the point is that Jupyterbook moans as it compiles all the ipynb files and then the solutions notebook crashes as Zygote isn't there.

Idk if we need Zygote related content. Zygote may phase into "not recommend" in a couple of years

Idk if we need Zygote related content. Zygote may phase into "not recommend" in a couple of years

Well, it's just the "very advanced optional" bit of the exercise, as an excuse to flag the very advanced auto differentiation ecosystem in Julia. Do you have a suggested replacement out of the many alternatives? ReverseDiff/ForwardDiff? Enzyme (which I would have used over Zygote, but my impression was that there's still issues with Enzyme?)

Unless we have some specific HEP AD thing, I'd suggest not go too deep into something just for the sake of it

To clarify, I mean "very advanced" as in "it's at a state of mature development", not "I think it's super complicated to understand".
The exercise literally just touches on it at the end so people know that autodiff stuff exists (and where to find it) in Julia, and it only uses Zygote because it's both easy to use in this case, and I can guarantee it will work in 1.9.3 (unlike Enzyme!)

What if we make clear Zygote is just an example and encourage readers to explore https://juliadiff.org/ for example?

I would argue the text already does that! ("There are many automatic differentiation packages available for Julia - such as Zygote - listed at Julia Diff, which we could use to find f′ directly and efficiently.")

I was just thinking not making Zygote sounds like the go-to flagship because to some people it's beyond salvation but I guess this is fine!


chore: add aries vc status pkg

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@7dfc45b). Click here to learn what that means.
 Consider uploading reports for the commit 09d88f9 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage        ?   85.28%
=======================================
  Files           ?       86
  Lines           ?    10386
  Branches        ?        0
=======================================
  Hits            ?     8858
  Misses          ?     1211
  Partials        ?      317

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


sort bounding boxes

Bounding boxes should be sorted line by line at the end of pipeline.
I can contribute to the project.

Can you please help me in sorting the bounding box to get the correct text by joining them?
It will be a great help for me.


Remove debug logs

Codecov Report

Merging #333 (80eac1c) into main (9e6f447) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #333      +/-   ##
==========================================
+ Coverage   95.38%   95.39%   +0.01%
==========================================
  Files          73       73
  Lines        6021     6020       -1
==========================================
  Hits         5743     5743
+ Misses        210      209       -1
  Partials       68       68

Impacted Files
Coverage Δ

internal/promapi/prometheus.go
89.10% <ø> (+0.87%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.


No connection could be made because the target machine actively refused it

hi, im new here : what can i do to fix that error ?

i'm facing the same error

how you fix it?

how you fix it?

Did you open Tor first? Make sure it's bootstrapped 100%.

thanks, i will try it


Harmony function export randomly conflicts with var injection (ProvidePlugin)

It seems that the order the harmony export and the WEBPACK VAR INJECTION entries get emitted in the output file is undefined, which causes webpack (2.1.0-beta.4) to emit incorrect syntax some of the time.
I am injecting the whatwg-fetch polyfill using ProvidePlugin as suggested in whatwg-fetch's README:
new webpack.ProvidePlugin({
  'fetch': 'imports?this=>global!exports?global.fetch!whatwg-fetch'
}),

With a sample file like:
export async function theExport (param) {
  const req = await fetch('/resource')
  return await req.body()
}

The code is normally emitted somewhat like:
/* WEBPACK VAR INJECTION */(function(fetch) {
   ... transpiled code (babel-loader) ...
/* harmony export */ Object.defineProperty(exports, "a", {configurable: false, enumerable: true, get: function() { return theExport; }});
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! imports?this=>global!exports?global.fetch!whatwg-fetch */ 401)))

The code at the end, however, is occasionally invalid javascript:
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! imports?this=>global!exports?global.fetch!whatwg-fetch */ 401)))/* harmony export */ Object.defineProperty(exports, "a", {configurable: false, enumerable: true, get: function() { return theExport; }});

The Object identifier comes right after an unterminated statement, which is a syntax error. Even adding a ; or newline doesn't help, as theExport is not available outside of the WEBPACK VAR INJECTION block. However, rerunning webpack build, or even just adding / removing random statements while webpack watch is running has a high chance of generating correct code.

fixed by https://github.com/webpack/webpack/commit/d483ed287865e81d4b3ac68d13c510b2d6801175


Does't work on my Wifi

Wpa2 PSK

It is connected because i see it on the wifi but if i connect to the repeater there is no internet connection.

Any output on the serial port? This might help to identfy the problem.
What do "show" and "show stats" print?


Ignore broken but excluded file during traversing

What does this PR try to resolve?
Fixes #10917
Walkdir's filter_entry() won't call the predicate if the entry
is essentially an Err from its underyling IntoIter. That means
Cargo hasn't had a chance to call filter on an entry that should be
excluded but eventually return an Err and cause the loop to stop.
For instance, a broken symlink which should bee excluded by filter
will generate an error since filter closure is not called with it.
The solution is calling filter if an error occurs with a path
(because it has yet been called with that path).
If it's exactly excluded, ignore the error.
How should we test and review this PR?
Follow the reproducible steps in #10917
Additional information

r? @ehuss
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit c0110c63820b5322ac42e23a73b3ccaf8e3cf1a9 has been approved by epage
It is now in the queue for this repository.

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 1ac83ba69614eb67c5255f36fd385f711b81e9e4 to master...

Nice!


RFC 1

Don't you mind if I'll add this function?
https://gist.github.com/e-oz/62fed6d626df5fab5e34402b5f6ec06e
It's a standalone port of ComponentStore.effect() method, with 1 modification: it re-subscribes on errors.
Or you could add it yourself (it would be faster, I think), because the original function is not mine anyway so I'm not looking for any credit for that small modification :)

Go for it!

I was suggesting the same function from your article @e-oz :wink:


imiev CAN logging with Linux

This is how CAN logging with for example a obdlink sx cable is possible on the imiev:
sudo ldattach --debug --speed 2000000 --eightbits --noparity --onestopbit --iflag -ICRNL,INLCR,-IXOFF 30 /dev/ttyUSB0
sudo ip link set can0 type can bitrate 500000
sudo ip link set can0 up
cansniffer can0 -t 0
candump can0 -f $(date +%Y%m%d-%H%M%S).log
Maybe this tool here is a upcoming gui replacement for this task: https://github.com/jakka351/GenericDiagnosticTool

I think I will delete this repo because I am using WiCAN now.
Using WiCAN avoids having to do CAN → Serial → Bluetooth → MQTT.
Instead I can just do CAN → MQTT.
I was not using Linux native CAN support. I was using ELM based command-set with a bluetooth adapter:
Setting Up
Install
sudo apt install bluetooth pi-bluetooth bluez blueman libbluetooth-dev python3-bluetooth

Reset Bluetooth Adaptor
sudo hciconfig hci0 reset

Restart Bluetooth Service
sudo invoke-rc.d bluetooth restart

List Bluetooth Adaptors
hciconfig

Scan for Bluetooth devices
hcitool scan

bluetoothctl info 00:04:3E:5E:E0:7A

Ping Device
Logical link control and adaptation protocol (L2CAP)
sudo l2ping -c 1 00:04:3E:5E:E0:7A

sudo rfcomm release rfcomm0 00:04:3E:5E:E0:7A
sudo rfcomm bind rfcomm0 00:04:3E:5E:E0:7A

rfcomm show 00:04:3E:5E:E0:7A
rfcomm0: 00:04:3E:5E:E0:7A channel 1 clean

minicom --baud 115200 --8bit --device /dev/rfcomm0

sudo vi /etc/bluetooth/rfcomm.conf

rfcomm0 {
    # Automatically bind the device at startup
    bind yes;

    # Bluetooth address of the device
    device 00:04:3E:5E:E0:7A;

    # RFCOMM channel for the connection
    channel 1;

    # Description of the connection
    comment “OBDLink MX+";
}

ELM Commands
>AT I
ELM327 v1.4b

>AT @1
OBD SOLUTIONS LLC

>STDI
OBDLink MX+ r3.1.3

>STI
STN2255 v5.9.4

>AT RV
14.4V

# Turn on echo (for use in terminal)
ATE1

# Turn on Linefeed
ATL1

# Turn on headers
ATH1

# Turn on spaces between hex values
ATS1

# Disable packet formatting
ATCAF0

# Set Protocol 6 - ISO 15765-4 (CAN 11/500)
ATSP6

# Get State of Charge
>AT CRA 374

>AT MA