Add missing errno constants

That's mostly a POC to improve the error handling around Errno, as pointed by @bararchy on Gitter.
Content of this PR

Reordering the LibC Errno constants to facilitate their read.
Add missing Errno constants (which also make the language compiling for the next commit).
Add the Error::Errno exception class.

Goal
Having different error class for each Errno allows to rescue them, instead of having to compare their integer values with ==.
The end user would also be able to figure out what's the error name instead of having the Errno class with #errno as an integer.
What's next
There are still places where the Errno::Error is exposed directly instead of a subclass.
This is an important breaking change, we have to weigh carefully the pros/cons before any action.

Having different classes for Errno was rejected years ago. It creates lots of classes and increased compilation by a non negligible factor.
All I see here is noise (don't mess with libc please) and confusion around Errno::Error vs the Errno Enum for the time being.

This topic should be discussed in an issue, not a PR.
And we're certainly not going to map each errno value to a separate error type.
But we could replace Errno with a number of more specific error classes, which would essentially group related errnos into one type. This has been proposed before, but never really discussed. Related discussions are in #1124 and #4835. Please open an issue for this.

See #445 (quite a small number).

@ysbaddaden #445 was duplicating each errno constant as a distinct type (same as this PR). That's not going to work, yes. But an alternative approach as described in https://github.com/crystal-lang/crystal/issues/1124#issuecomment-300585907 would be worth looking at.

Errno needs to go. No other language apart from ruby couples their exception hierarchy to a decades old hack around C not being able to return tuples like this.
My vision for exceptions at 1.0 is that they not only are well-named and not platform-specific, but they contain accessible fields relating to the error. For example, a DNS lookup failure would have a getter for the name which was being resolved. A network connection failure would have the IPAddress attached. errno would still exist, for the few people who need it, but it'd largely be ignored because it's just not necessary.


audio jack headphone broken sound after sleep

Sonoma 14.7 with EFI - Heliport folder but update using latest itlwm from github repo (https://github.com/OpenIntelWireless/itlwm)
(what else information do i need to put in this ticket? )
having issue with sound (very low volume and crackling sound) with headphone/headset on audio jack (it's just normal when on built in speaker) after resume from sleep (more than 15minute).
use google meet on chrome or zoom apps.
any solution for this ?
sorry if there is already same issue on here, i just cant find it on open / closed
thank you

hmm, after doing some searching, from : https://github.com/EETagent/T480-OpenCore-Hackintosh/issues/10
the solution is (weird tho) :
open System Settings > Sounds > go to Input, then just select anything, switching between Internal Microphone and Line In.
and then the sound back normal on headset.

you can try my patch https://github.com/lolipuru/Thinkpad-T480-Opencore/commit/4981a8d11ad0fea6045578353d62514bf7f637de (tested it myself, it completely fixed audio after sleep)

hoah, thanks for the feedback, will try it!


Multiple instances of .NET host, hogging more than 95% memory and CPU

Issue Description
Multiple instances of .NET process. We have 42 csproj in our microservices-based solution. And every time I build the solution, the multiple .NET process gets spawned hogging up 95% of the CPU. And after building the instances do not get disposed of or close, they just sit there on RAM without any reason hogging up RAM as well.
I would suggest please find a better way to reuse the instances of the .NET host to build the solution and to keep some data between the builds so that we can stop building unchanged projects just like Visual Studio. Because spinning up the process every time does not look viable solution in the long run. Below are the screenshots.

When building.

After the build is done.

Steps to Reproduce
Expected Behavior
.NET instances should be reused to build projects and should get closed once done.
Actual Behavior
Multiple instances are spawned and does not get disposed.
Logs

C# log
Post the output from Output-->C# here
C# LSP Trace Logs
Post the output from Output-->C# LSP Trace Logs here.  Requires `dotnet.server.trace` to be set to `Trace`
Environment information
VSCode version: 1.82.0
C# Extension: 2.1.2
Using OmniSharp: false
Dotnet Information
Error running dotnet --info: Error: Command failed: C:\Program Files\dotnet\dotnet.exe --info
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Visual Studio Code Extensions

Extension
Author
Version
Folder Name

csdevkit
ms-dotnettools
0.4.10
ms-dotnettools.csdevkit-0.4.10-win32-x64

csharp
ms-dotnettools
2.1.2
ms-dotnettools.csharp-2.1.2-win32-x64

darker-dark
XavierNaves
1.0.0
xaviernaves.darker-dark-1.0.0

EditorConfig
EditorConfig
0.16.4
editorconfig.editorconfig-0.16.4

errorlens
usernamehw
3.13.0
usernamehw.errorlens-3.13.0

gitlens
eamodio
14.3.0
eamodio.gitlens-14.3.0

powershell
ms-vscode
2023.9.1
ms-vscode.powershell-2023.9.1

sonarlint-vscode
SonarSource
3.21.0
sonarsource.sonarlint-vscode-3.21.0-win32-x64

vim
vscodevim
1.26.0
vscodevim.vim-1.26.0

vscode-autohotkey2-lsp
thqby
2.1.5
thqby.vscode-autohotkey2-lsp-2.1.5

vscode-conventional-commits
vivaxy
1.25.0
vivaxy.vscode-conventional-commits-1.25.0

vscode-dotnet-runtime
ms-dotnettools
1.7.2
ms-dotnettools.vscode-dotnet-runtime-1.7.2

vscode-eslint
dbaeumer
2.4.2
dbaeumer.vscode-eslint-2.4.2

vscode-jest
Orta
5.2.3
orta.vscode-jest-5.2.3

vscodeintellicode-csharp
ms-dotnettools
0.1.26
ms-dotnettools.vscodeintellicode-csharp-0.1.26-win32-x64

All the build commands are handled by devkit when its installed, transferring over to https://github.com/microsoft/vscode-dotnettools/issues/518

@ShreyasJejurkar Not all the dotnet processes that are created by the C# DevKit extension are related to the build operation.
For example, by launching the C# Dev Kit extension (no build) I see on my machine:

dotnet process that runs the project system inside the C# devkit extension, that process usually uses significant more memory comparing to the other ones. Most likely, that is the one that uses 1.6 Gb of memory in the screenshot above (which seems in line with the current patterns based on the size of the solution)
dotnet process that represents the vstest component
dotnet process that represents the build host component that is responsible with running design time builds that are needed for intellisense. This process will spawn a few additional dotnet processes that use MSbuild to run the design time builds

So, it is expected that some of these processes will not disappear after the build completes as they represent the C# Dev Kit extension implementation that keeps running while the extension is used.
Unfortunately, the task manager tool doesn't provide enough information to distinguish between those processes. You could use Process Explorer instead, which provides more details about these processes, including their hierarchy:
https://learn.microsoft.com/en-us/sysinternals/downloads/process-explorer
Hope this helps,
Adrian


add svg sprite builder

where do i add to the webpack an svg sprite builder (code would be helpful)

I'm not positive as I haven't done it myself but I'd imagine the webpack docs would could have some more information on setting that up!


Error with "get_bgp_neighbors"

Description of Issue/Question
When running the NAPALM getter 'get_bgp_neighbors()' I get an IndexError: list index out of range error.
Did you follow the steps from https://github.com/napalm-automation/napalm#faq
[X] Yes
[ ] No
Setup
napalm-junos version
(Paste verbatim output from pip freeze | grep napalm-junos between quotes below)
$ pip list | grep napalm-junos
napalm-junos      0.10.3

JunOS version
(Paste verbatim output from show version and haiku between quotes below)
bl839s@pok-vsc-b> show version and haiku
Hostname: pok-vsc-b
Model: mx480
Junos: 14.2R6.5
JUNOS Base OS boot [14.2R6.5]
JUNOS Base OS Software Suite [14.2R6.5]
JUNOS platform Software Suite [14.2R6.5]
JUNOS Web Management [14.2R6.5]
JUNOS Runtime Software Suite [14.2R6.5]
JUNOS Online Documentation [14.2R6.5]
JUNOS Services AACL Container package [14.2R6.5]
JUNOS Services Application Level Gateways [14.2R6.5]
JUNOS AppId Services [14.2R6.5]
JUNOS Services Captive Portal and Content Delivery Container package [14.2R6.5]
JUNOS Border Gateway Function package [14.2R6.5]
JUNOS Services HTTP Content Management package [14.2R6.5]
JUNOS IDP Services [14.2R6.5]
JUNOS Services LL-PDF Container package [14.2R6.5]
JUNOS Services Jflow Container package [14.2R6.5]
JUNOS Services MobileNext Software package [14.2R6.5]
JUNOS Services Mobile Subscriber Service Container package [14.2R6.5]
JUNOS Services NAT [14.2R6.5]
JUNOS Services RPM [14.2R6.5]
JUNOS Services PTSP Container package [14.2R6.5]
JUNOS Services Stateful Firewall [14.2R6.5]
JUNOS Voice Services Container package [14.2R6.5]
JUNOS Macsec Software Suite [14.2R6.5]
JUNOS Services Crypto [14.2R6.5]
JUNOS Services SSL [14.2R6.5]
JUNOS Services IPSec [14.2R6.5]
JUNOS py-base-i386 [14.2R6.5]
JUNOS Kernel Software Suite [14.2R6.5]
JUNOS Crypto Software Suite [14.2R6.5]
JUNOS Packet Forwarding Engine Support (M/T/EX Common) [14.2R6.5]
JUNOS Packet Forwarding Engine Support (MX Common) [14.2R6.5]
JUNOS Routing Software Suite [14.2R6.5]

        Holiday spirit
        Christmas comes but once a year
        Keep it shining bright

Steps to Reproduce the Issue
Run the following code:
#!/usr/bin/env python

from getpass import getpass
from pprint import pprint as pp

from napalm_base import get_network_driver

hostname = 'pok-vsc-b'
username = 'ansible'
optional_args = {}
password = getpass()

driver = get_network_driver('junos')
device = driver(hostname, username, password, optional_args=optional_args)

print(">>>Test device open")
device.open()

print(">>>Test get facts")
output = device.get_bgp_neighbors()
pp(output)

Error Traceback
Provides the following error:
>>>Test device open
>>>Test get facts
Traceback (most recent call last):
  File "./testing_junos_bgp_neighbors.py", line 20, in <module>
    output = device.get_bgp_neighbors()
  File "/home/bl839s/.virtualenvs/napalm/local/lib/python2.7/site-packages/napalm_junos/junos.py", line 571, in get_bgp_neighbors
    uptime_table_items=uptime_table_items)
  File "/home/bl839s/.virtualenvs/napalm/local/lib/python2.7/site-packages/napalm_junos/junos.py", line 546, in _get_bgp_neighbors_core
    peer['address_family'] = self._parse_route_stats(neighbor_details)
  File "/home/bl839s/.virtualenvs/napalm/local/lib/python2.7/site-packages/napalm_junos/junos.py", line 464, in _parse_route_stats
    data[family]['sent_prefixes'] = neighbor['sent_prefixes'][idx]
IndexError: list index out of range

@mirceaulinic Any updates on resolving this issue?

@bdlamprecht We probably need the output of the following to help us debug the information. Should be able to get this by using | display xml and | display xml rpc.
https://github.com/napalm-automation/napalm-junos/blob/develop/test/unit/mocked_data/test_get_bgp_neighbors/normal/get-bgp-neighbor-information.xml

As discussed  in the NetworkToCode Slack channel, here is the XML file for the peer that is crashing the get_bgp_neighbors.  I've done a search and replace for the IPs and replaced the first 3 octets with RFC1918 addressing.  The last octet was not changed at all.
xml for junos_bgp_getter issue.txt
Let me know if you need other information.
Thanks!

The #209 should fix that as the error is exactly the same. However I cannot see the problem based on the xml file provided (ie: all ribs have the advertised-prefix-count node).
@bdlamprecht is it possible that get_bgp_neighbors is crashing because of a different peer than the one you provided ? would it be possible to get the full output of show bgp neighbors | display xml ?

@ckishimo Yes, #209 did fix the error for get_bgp_neigbors_detail for this device (thanks!)
However, but when I checked the napalm get_bgp_neighbors (no _detail), the same error as posted above occurred.
I've done what you asked and posted the show bgp neighbors | display xml into this gist:
https://gist.github.com/bdlamprecht/0a2742ef0a649164b7b85783af9cbebb
Hope that provides you with enough information to troubleshoot the problem.
Note, I did change the addressing of the first two octets of the BGP peers to RFC1918 addresses.
FYI, I can't guarantee that it is the same as before as these are lab devices and multiple people may have changed the configuration since the previous information was posted.

@bdlamprecht thanks for the outputs! I was able to see an error while using get_bgp_neighbors however the error is not exactly the same as before, so not sure if it's the same as you saw or a new one...:
Traceback (most recent call last):
  File "client_junos_bgp.py", line 21, in <module>
    res = dev.get_bgp_neighbors()
  File "/home/ckishimo/python/devel/git/devel-bgp/napalm-junos/napalm_junos/junos.py", line 597, in get_bgp_neighbors
    uptime_table_items=uptime_table_items)
  File "/home/ckishimo/python/devel/git/devel-bgp/napalm-junos/napalm_junos/junos.py", line 563, in _get_bgp_neighbors_core
    peer['address_family'] = self._parse_route_stats(neighbor_details)
  File "/home/ckishimo/python/devel/git/devel-bgp/napalm-junos/napalm_junos/junos.py", line 478, in _parse_route_stats
    data[family]['sent_prefixes'] = neighbor['sent_prefixes'].pop(0)
AttributeError: 'int' object has no attribute 'pop'

Based on the data provided, sent_prefixes is of type int when a list was expected:
'send-state': ['in sync', 'not advertising', 'not advertising', 'not advertising', 'not advertising', 'not advertising', 'not advertising', 'not advertising', 'not advertising', 'not advertising', 'not advertising', 'not advertising'], u'is_up': True, 'sent_prefixes': 5439, 'peer_as': 65143, 'accepted_prefixes': [622, 9, 0, 61, 41, 117, 121, 40, 36, 127, 6, 2]

I just pushed the change converting sent_prefixes into a list.
@bdlamprecht could you please confirm the error was the same I just posted ? and also please report if all errors are fixed now. Thanks!

@ckishimo Yes, that fixed the issue I was having.  I now get the expected values back correctly.  Please submit this fix as PR so it can be merged into the main driver.
Thanks again for investigating this and revolving it so quickly.

Closed via https://github.com/napalm-automation/napalm-junos/commit/0fbda09ae7321bd7f9185877a8bb04150a199f33


Feat: Add OLLAMA_LOAD_TIMEOUT env variable

Closes #3940
For certain hardware setups and models, the offloading to the GPU can take a lot of time and the user can hit a timeout. This PR makes the timeout configurable via the OLLAMA_LOAD_TIMEOUT env variable, to be provided in seconds.
@dhiltgen I added a subsection in the FAQ, since I was not sure where to document the env variable. Let me know if this is the right place.

This is a killer feature for users who try to build things using only low end cheap GPUs. Please review and merge this for the next release, for the sake of common people.

Thinking about this one more... the large timeout, and making it configurable is really more of a workaround.  What we really should do is detect progress during model load and detect stalling more quickly.  As long as we're making forward progress, we should let it proceed, perhaps indefinitely, but if we stall, then we should fail faster than 10m.
I've started to lay some initial foundation in #4547 which I think will help us get to a better user experience overall.

Thanks for putting this together.
I think we can close this now that I've merged #4157.
Please give it a shot and if you see any flakiness we can adjust the stall duration.

Thanks for the heads-up, will definitely give it a try.


Ok

Hotspot Name
Ancient infrared meerkat
Hotspot b58 Address
11y166feqHxxBuoH3FxHiWUaXn5SPnoA4MEuXwzFhEa1rvvZK6M
Discord Handle
Teder26
Hotspot Manufacturer
Heltec
Removal Reason
not known to me
Modifications
No
Extra forwarders
Yes
Extra antennas
Yes
Additional Information
Maybe I didn't realize I have several hotspots in the area on the same wallet but I'm in the Eilat Israel area and my friends and I are the only ones in that area

Our hot spots 4 members divided in good places after many calculations and doubts with expensive antennas and a lot of installation time
—-
Here are all the names of our hotspots. I am writing here for all of us the names of the hotspots you have blocked for us. I would be happy to explain what I need to do in order to serve my purpose and yours.
Here is the list
Ancient infrared meerkat
cool pickle skunk
sleep cerulean beetle
radiant malachite puma
gigantic peach mammoth
hot vermilion guppy
Immense pewter peacock
Skinny Jetblack Duck
Oblong Charcoal Jellyfish
Silly Crepe Sloth
Amateur Pearl Starfish
Delightful Spruce Scallop
Precise Lava Lynx
Acidic Berry Kestrel
Spare Tiger Trout
Hot Vermilion Guppy
Gigantic Peach Mammoth
Festive Linen Aphid
Wild Burlap Okapi
Tangy Raspberry Otter
Please take me off this list, everything is invested here for the benefit of the network, I believe in the network for the long haul and we have invested a lot of money

Help

helium://hotspot/11y166feqHxxBuoH3FxHiWUaXn5SPnoA4MEuXwzFhEa1rvvZK6M

hi, please provide for 3 of the hotspots listed above:
a) the name/b58
b) a photo showing the view from the actual location of that hotspot
c) a satellite photo map showing the GPS location (the blue dot on google maps or whichever mapping app you want)
then this can be compared to the asserted locations to see if there is a match

Thank you very much, first of all you answer and there is someone to talk to
Write down for me in detail the names that I will raise to the roofs
I will deliver one by one because I won't have time to go through all of them on the same day. Thanks in advance

You can also give me an email and I will take a photo of one in order and send everything in one email

You can also give me an email and I will take a photo of one in order and send everything in one email

Any 3 from the above will do. Have to post the photos here, it's an open process.

1 miner -Ancient infrared meerkat

Please tell me if I understood you correctly

It is back
If it's good
I sand all hot spot like this

In the meantime, the devices are blocked and we have invested a lot of money in this project, we do not want to end up with a class action lawsuit, we are supposed to produce coins while you are not answering us, I would like to comment

It doesn't make sense that one day someone decides to stop. We didn't even return a profit on one miner out of 21 units and we invested a lot of time and antennas, all of this happened over many months and slowly

We expect you to open the block that is not good for you and us for marketing the product because we are losing a lot of money, we are 4 partners

????

Ancient infrared meerkat

The photo provided does match the satellite image for the GPS point you've given. It's slightly off from the asserted location, but not far so that's fine.

https://www.google.com/maps/place/Eilat,+Israel/@29.5537005,34.9584745,1388m/data=!3m1!1e3!4m5!3m4!1s0x150071e324795e0b:0xfe1d95f85577f6db!8m2!3d29.557669!4d34.951925
So this suggests that hotspot is really located there.
Could you please provide similar for 2 more of the denied hotspots.
Don't make threats.

OK about threats we are under simple pressure

I will go to the other points and take pictures

Amateur pearl starfish

Please what I prove open a pity for our losses thanks in advance

3 --- cool pickle peacock
![Uploading 197549372...]

4 ---oblong charcoal jellyfish

I don't have much time, open it and I'll provide you with all the points in this way, meanwhile it's still blocked and it's not okay

@Teder26
Ok, these photos all match the satellite and your asserted locations, suggesting you really have access to these locations. As such I'll recommend these be undenied and added to the next new PR. Not sure when that will be but they are regular these days. You have some great locations there.
Sorry for the mistaken denial, but your set of Heltecs looked exactly like a spoofed cluster would do - in that they are:

Isolated from the 'main' network
All one maker
A small number of wallets

Clusters fitting those descriptions (but spoofed ones) are added in large numbers every day and steal HNT from the rest of the network:

We bought the hotspots last year, we learned a lot about the subject and we believe in the project and we look forward to continuing to support this genius network

And we will continue to develop as more cities in our country consider buying 5g soon

Yes, I took care of the best places in my city. In addition, we are a tourist city (Eilat) located in the south, therefore we are relatively isolated from the rest of the country and we expect to bring the entire south closer by choosing locations towards the north of the entire country.

Sir it's all miner
We are 4 partners. I am the representative. If you want more photos, locations, etc., I will make sure to tell everyone to take photos.
Thank you in advance and have a nice day🙏😃

If you want more photos, locations, etc., I will make sure to tell everyone to take photos.

What you have provided is fine - all the hotspots see each other so I'll recommend all to be un-denied. They will hopefully go in the next PR.

Thank you very much ❤

@Teder26
https://github.com/helium/denylist/pull/8196
They are in there
thanks @6CornerDefender

I have a question if I'm already talking to someone on the inside like you
Can I withdraw HNT coins from the dedicated wallet for staking to the stock exchanges?

@Teder26
https://github.com/helium/denylist/pull/8196
They are in there
thanks @6CornerDefender

How long does it take to update?
Do I need to turn off and on or reset?

I think the current PR might only be for the one hotspot - I've added a new removal request #8205 for the others - so they would have to wait until the next PR - you won't have to do anything, they will just get undenied.

I don't understand so much, I ask if there is an audience?
Everything is blocked at my place and we are losing money

Process has started now, they will all be undenied - your single one is just about to be merged (i.e. undenied) but the others will go in the next PR I assume.


Isort fails with paranthesis in comment

isort this code:
from sys  # (

def test():
    print("Test print")

and it outputs this:
@@ -1,4 +1 @@
-from sys  # (
-
-def test():
-    print("Test print")
+from sys import "Testprint", :, deftest, print  # (

Presumably duplicate of #491

Thanks for reporting this issue! It is now fixed in develop and will be in the next release.


[BREAKING] Move positioning classes from _main.scss to _positioning.scss

Positioning classes will no longer be available in the "basic" packages, but will be available in "standard" and "all" packages.

Completed.


Profile page

There should be a profile page to let you change your name, email, and other things.

This goes back to #28. Closing because it is the same thing.


E2e ci localserver

Adds functionality to bundle code in docker container and serve the code locally to run the e2e tests against.
Have one bank sub account per worker to act as bank for tests run by that worker. This helps sidestep nonce retries exceeded errors.
Pass each worker bankAccount through a fixture scoped by worker.
Add functionality to keep track of amount spent by each worker.
Adds a custom logger that outputs amount spent by each worker, total amount spent and difference in bankAccount.
Integrates Pagerduty for alerts when a test run fails.
Extend JsonRpcProvider to catch NotEnoughBalance errors and use near-contract-helper to create a new account and reload on testnet.

This is ready to rock -- but it looks like we've got some changes in this changeset that shouldn't be there.

Rebased and the changes are no longer on this changeset! 👍


Function to validate column names for upload files

During the upload phase, we need to check that the column names are correct between the metadata given and those in the CSV file.
Validation check between ColumnMetadata and the columns in the csv.

I think closed by #238


Understanding Mongo, JWT & CLoud

Hello,
This is not an issue, but more a question regarding the ID for the env file. Where am I to find the mongo uri, google client id, google client secret and JWT Tokens? Is this all for setting up separate servers where the data is stored?
Sorry if this is a very beginner question.

Hi,
For the mongo URI, you can refer this

Actually, the mongo URI is a connection string required to connect with the database.
For eg. it looks like this:

For setting up Google Oauth refer to this artical
JWT token secret can be anything until it is private. So you can use any random string.


[Communication] Add iOS Calling GA May release notes

@vcolin7 , @czubair , @azure-sdk.  can you please take a look?

#sign-off

Thanks @tjprescott  👍

No problem. Generally speaking @jorgegarchirota, our team will handle the release notes, compiling them from the CHANGELOG. So you should only need to verify that they get published.


Problem running action: "Received event from workflow_dispatch, but received no inputs" error message

I'm trying to run the action as part of a test pipeline (to see if it helps with a project) but the problem is that, following the readme examples, I cannot make it run correctly. The test pipeline code is:
name: "xml-lint-TEST"

on:
  pull_request:
    branches:
      - master
      - dev
  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Detect changed xml files
      uses<EMAIL_ADDRESS>      with:
        githubToken: ${{ secrets.GITHUB_TOKEN }}
        plaintext: true
    - name: Echo file changes
      run: |
        echo Changed files: ${{ steps.get_file_changes.outputs.files }}

Problem is, it fails with the following error:
Warning: Unexpected input(s) 'plaintext', valid inputs are ['githubRepo', 'githubToken', 'pushBefore', 'pushAfter', 'prNumber', 'output', 'fileOutput']
Run<EMAIL_ADDRESS>(node:2611) UnhandledPromiseRejectionWarning: Error: {"error":"500/inferInput Error","from":"inferInput","message":"Received event from workflow_dispatch, but received no inputs. {event_name:workflow_dispatch, pr: NaN, before:false, after:false}","payload":""}
    at run (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:19989)
    at Object.198 (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:20067)
    at __webpack_require__ (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:154)
    at startup (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:291)
    at module.exports.0 (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:323)
    at Object.<anonymous> (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:333)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
(node:2611) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2611) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error: There was an issue inferring inputs to the action.
Exception: {
  "error": "500/inferInput Error",
  "from": "inferInput",
  "message": "Received event from workflow_dispatch, but received no inputs. {event_name:workflow_dispatch, pr: NaN, before:false, after:false}",
  "payload": ""
}

I do not understand fully the error, but fearing it might have something to do with the plaintext: true statement, I removed it along with githubToken: ${{ secrets.GITHUB_TOKEN }} (all under the with: really) and reran it, still got an error about input (this time about infering input)
  with:
    githubToken: ***
    output: json
    fileOutput: json
Error: There was an issue inferring inputs to the action.
Exception: {
  "error": "500/inferInput Error",
  "from": "inferInput",
  "message": "Received event from workflow_dispatch, but received no inputs. {event_name:workflow_dispatch, pr: NaN, before:false, after:false}",
  "payload": ""
}
(node:2570) UnhandledPromiseRejectionWarning: Error: {"error":"500/inferInput Error","from":"inferInput","message":"Received event from workflow_dispatch, but received no inputs. {event_name:workflow_dispatch, pr: NaN, before:false, after:false}","payload":""}
    at run (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:19989)
    at Object.198 (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:20067)
    at __webpack_require__ (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:154)
    at startup (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:291)
    at module.exports.0 (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:323)
    at Object.<anonymous> (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:333)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
(node:2570) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2570) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I am not sure of where should I start, as the pipeline is extremely simple at this point and based on the documentation. Any help will be welcome.

Seems to be a bug if workflow_dispatch used to trigger this? I have same problem.

I was able to overcome this issue by passing the PR manually using https://github.com/marketplace/actions/find-pull-request .
I think it is because workflow_dispatch is set on branches not PRs (I ended up abandoning this approach anyways since workflow dispatch could not update the PR of its test status anyways :( )
      - name: Find Pull Request
        uses: juliangruber/find-pull-request-action@v1
        id: find-pull-request
        with:
          branch: ${{github.ref_name}}

      - name: Get changed files
        id: get_file_changes
        uses<EMAIL_ADDRESS>        with:
          output: ' '
          prNumber: ${{ steps.find-pull-request.outputs.number }}


pymongo has no master_slave_connection

from mongokit import Connection

File "/data/pyenv/dev_env/local/lib/python2.7/site-packages/mongokit-0.9.1dev_20150411-py2.7.egg/mongokit/init.py", line 43, in
from mongokit.master_slave_connection import MasterSlaveConnection
File "/data/pyenv/dev_env/local/lib/python2.7/site-packages/mongokit-0.9.1dev_20150411-py2.7.egg/mongokit/master_slave_connection.py", line 7, in
from pymongo.master_slave_connection import MasterSlaveConnection as PymongoMasterSlaveConnection
ImportError: No module named master_slave_connection

I got this too. Since pymongo updated to version 3, mongokit has not be used at all.
Sorry for bad english.

The same problem

We faced the same issue and felt that MongoKit wasn't going to be able to update to pymongo 3.0 soon, so we started this: https://github.com/pricingassistant/mongokat

to resolve this issue for now, you need to downgrade to 2.8.1 :-/

Are there any plans for mongokit to be compatible with latest pymongo?

hope someone can update mongokit to support python3 and lastest pymongo(3.2)


Schema validation is not working properly

I am using Quarkus CXF 3.10.0

The schema validation is only working, if it is enabled AND the WSDL location is set in the application.properties file: quarkus.cxf.endpoint."/endpoint-path".wsdl=my.wsdl Which is not mentioned in the specification.
The schema validation is only working, if the WSDL location is set in the application.properties file. If the WSDL location is set via annotation @WebService(wsdlLocation = "my.wsdl") the schema validation is not working.

Thanks for the report, @Inithron, this sounds similar to https://github.com/quarkiverse/quarkus-cxf/issues/557

Which is not mentioned in the specification.

You mean the JAX-WS spec? Do you happen to have the relevant reference at hand?

Yes, it sounds similar, but #557 has the focus not on the schema validation. But if it also solved the problem with the schema validation, you can close this issue.
With the specification I mean the following two configuration properties:

quarkus.cxf.endpoint."/endpoint-path".schema-validation.enabled-for
quarkus.cxf.client."client-name".schema-validation.enabled-for

They mention only how to enable the schema validation, but if the WSDL location is not set, it will not work. And this is from my point of view missing in the specification.

To be more precise I have only testest the schema validation on the endpoint and I am only assuming it will be the same behavior for the client.

Thanks for the clarification.


Bad dependencies installation order

While installing dependencies for mysql, I get:
brew install mysql
==> Installing dependencies for mysql: makedepend, zlib, openssl, pkg-config, curl, cmake, libedit
==> Installing mysql dependency: makedepend
Error: /home/ghigt/.linuxbrew/opt/pkg-config not present or broken

Yes, this bug is known and unresolved. brew install pkg-config && brew install mysql should work.
See https://github.com/Homebrew/linuxbrew/pull/264


Removed space before logical negation operator

It's not included in https://github.com/doctrine/coding-standard and also a bad practice.

:+1:


Feature Request: Status Page Site

As a operator
I would like to have a single status page site that can be referenced
So that I can automatically know what actionables I need to perform within our CICD system
Acceptance Criteria:

[x] Should show status from Travis-CI jobs
[x] Should live at https://status.dapla.net/
[x] Should be publically accessable
[x] Should not expose internal systems to security issues
[x] Should automatically be updated
[x] Could have rss feed

Feature Implemented and committed as v0.0.1


119 prem section card

@yishain11 Following our conversation, waiting for your cue before reviewing this

SectionCard.tsx should be directly under components directory


add ability to register and call colon functions

Is this a fine API for the moment @epilk?
In your config you would call registerColonFunction("fmt", &clangFormat) and then type :fmt.

LGTM


Add meme 4.11.1

@gregvonkuster have you used tabs?

Sorry - editor screwed thing up.  Should be fixed!


Toolbar wrapping fix & create trail dialog positioning

Two sets of fixes on this ticket.  The first was to prevent the toggle button section from unnaturally wrapping when reducing window size.  The second was to maintain position of the trail text area and button locations when entering "create trail" mode.

There are still problems with the spacing. There is unused space on the left side of the toolbar yet you can have the toolbar aligned properly before login then loose the buttons after login and the domain/trail names get truncated.

In this image, the window is just below fully maximized and the logout button isn't visible.

Hmm.  That's very odd.  I don't have that button issue on my vm or local box when hitting that page.  Can you try rebuilding and installing the Firefox plugin again?   I will look at this again Monday and we can chat about it.  As for the space on the left, we have plans for adding buttons to get directly to forensic and things to come that will go there like a real toolbar.

I was able to repro what Brandon showed in the screenshot.  There was also some strange things happening with the Domain and Trail labels when resizing.  I've adjusted styling to reactively resize down to a certain point using a min-width for the entire form along with the column sizes.  The buttons and controls no longer wrap to a second line where they cannot be used, instead they simply flow off the right margin of the toolbar when you've sized the window beyond a minimum size value.  This seemed the cleanest way of dealing with stuff not fitting short of putting scrollbars in the toolbar which would cause other visibility issues when it popped up.
I'd like to visit better styling overall in the toolbar at a later date, but wanted this fixed at a minimum before SUG testing.

This is better visually but still causes the problem where if you have your window at 1/2 the screen width, you can not log in or start trailing. I think the solution will be to replace the left-side wave icon with a menu button that has all of the actions available. I will merge this once I finish testing and create a new issue for improving the design.

@bmcdougald you need to treat the logout button the same as the login button, it still goes underneath the start button.

I am not seeing the logout button behavior you are.  Please check your environment, and make sure you rebuilt your toolbar and reinstalled it.  I'm looking at two separate computers here and neither instance of firefox wraps the logout button.  The change involved setting minimum widths on problem columns and a min width on the toolbar as a whole.  The button will scroll off the screen now rather than wrap.  This has to be something in your environment I think.
As for the comments regarding 1/2 window size...it's unrealistic to think a user would be using our tool and a browser at such a narrow width.  At those widths, toggling the side panel would obscure the entire web page.  So I don't believe the minimum size setting is an issue.  Putting all of the toolbar's functionality into a dropdown menu, not only would require major changes we don't have time for at this moment, but would defeat the concept of a "tool bar".  What you're suggesting may as well be accomplished via a floating button on the page rather than a toolbar, and that's not the direction the team chose when the toolbar work started months ago.

The behavior you were seeing seems to occur when the username for the logged in user is very long.  This causes the button to resize and that extends it potentially beyond the min-width setting for the div it's contained it.  This causes the wrapping to occur again.
Mike and I talked this morning about removing the username from the logout button because it caused button resizing which isn't ideal anyway for a toolbar.  I killed two birds with one stone, implemented the change Mike and I discussed and fixed your issue at the same time.


sh: ffmpeg: command not found

Hello
I opened the issue Segmentation Fault 11 on One of Two Macs #429 below.  Now, contrary to what I said on it, suddenly rawcooked stopped working on my iMac Pro too.  I have no idea why.
rawcooked --check

Track 1:
  27292_ChA_RAW_%08d.dpx
 (00086400 --> 00093398)
  DPX/Raw/RGB/10bit/U/BE/FilledA

sh: ffmpeg: command not found

ffmpeg version N-110544-g57f264e78c-tessus is fully operational.
rawcooked v23.09
iMac Pro - Mojave v10.14.6
Any suggestions will be appreciated.

We rely on the installed ffmpeg, it must be reacheable on your system. try ffmpeg with your command line, if the behavior is "command not found", you need to install ffmpeg (with homebrew, a binary from FFmpeg website, or our own build).
If you don't want that FFmpeg is reachable everywhere, you can specify a path for reaching ffmpeg with  -b /path/to/ffmpeg.

(Only in case @JeromeMartinez answer should not fix the issue: Did you update Homebrew? It has been messing up a few macOS-related things lately.)

I reinstalled FFMPEG and rawcooked and updated Homebrew and other terminal-related apps.  That fixed the problem on the iMac Pro.


[pixman] Update to 0.43.2

Fixes #36685.

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

Bumping pixman might or might not affect #36444 , as cairo is the primary consumer of this port.


Questions on method py_sigmoid_focal_loss.

Here is the code I am confused about:
focal_weight = (alpha * target + (1 - alpha) *                     (1 - target)) * pt.pow(gamma)
I think alpha is always the same on both target and non-target places. Is there a reason doing this or this piece of code is simply for debugging and is not used anywhere.

This is the standard definition in the Focal Loss paper, you may refer to it.

Yes you are right, thanks.


[Suggestion] SEO

I dunno, all search results and articles forward to http://backgroundchecks.org/justdeleteme/ and not http://justdeleteme.xyz Maybe we can some some SEO? I'm no expert, but I think the second one should be a little more promoted.

http://justdeleteme.xyz has only recently been created, and will likely take a long time to reach greater prominence as the original http://justdelete.me (which now redirects to the first link you posted) is older and more well-known.


Remove autocomplete

Describe the bug
My brother in christ, the sentence autocomplete is annoying
Expected behavior
he should just chill
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Screenshots
If applicable, add screenshots / animated gifs / loom video links to help explain your problem.
Known user types the reported issue is affecting

[x] User
[ ] Admin
[ ] Other

Account the issue is affecting
URL where bug can be viewed (if applicable)
Severity of bug:

[ ] Critical: this issue affects critical functionality or data. It does not have a workaround. Example: complete failure of a feature
[ ] Major: this issue affects major functionality or major data. It has a workaround but is not obvious and is difficult. Example: A feature is not functional but the task at hand can be accomplished with complicated or tedious workarounds
[x] Minor: this issue affects minor functionality or non-critical data. It has an easy workaround. Example: A minor feature is not functioning as expected, but does not prevent someone from doing their job
[ ] Trivial: this issue does not affect functionality or data. It does not even need a workaround. Example: Layout discrepancies, text changes

Priority of bug:

[ ] High: Must be fixed immediately.
[x] Medium: Must be fixed in the current or next release.
[ ] Low: May be fixed next release.
[ ] Await Prioritization: Can be fixed when priority allows.

Additional context
Add any other context about the problem here.

I made the api call configuration options available to the chat. Adjusting those should allow users to find the combo that avoids repeats. Likely has something to do with the "temperature" setting.


Checkboxes with collection syntax

This commit resolves #1125 .
I placed a check to see if the array item is an active record
asset. If it is I get it's id, this properly creates an
array of id numbers to check against.
Warning, I could not get the tests to run on my computer.

@gwincr11 thanks! We'll need to work up a test case before this is merged. What issues were you having with the specs?

Just so you are aware, I added the requested tests.

Merging, thanks!

Awesome, thank you :)


Event sold out status information

The app is missing information about sold out events. Se getWebSellingStatusAttribute-method in Event-model.
This should probably either be cached in a cache-storage or persisted in the event-model itself.

Hva er forskjellen på denne og #71?


Robots.txt and Sitemap

This PR accomplishes a couple of important tasks:

Adds whenever gem (for running cronjobs)
Adds a robots.txt file
Adds the sitemap_generator gem

See the config/schedule.rb file for cron task configuration.
Fixes https://github.com/UWM-Libraries/GeoDiscovery/issues/24

Starting a get a pile of PRs here, so I'm going to merge them to keep things easy on myself.


[Feature Request] Associate SQL editor with different project.

Problem
I want to use a SQL connection present in different project. However those db connections are not available as options
Probable cause
It seems when a text editor is opened. It is linked with currently active project.
When we try to change datasource of a text editor, DBeaver only search for connectiosn present in associated project.
Hence, Active connections in other projects are ignored.
I am not sure why this is the default behavior. However an option to change active project, would be very helpful.

There is a an option to change active project (in Project Explorer view). However it won't let you to set script conenction from another project.
This feature will be added in the next version:


Start evm_bots refactors, add HALT_ON_ERROR option for running evm_bots

This PR does two things
Start the process of splitting up evm_bots.
Adds a halt_on_error option so that a failed transaction will not stop the bots from running.
Cleanups were made along the way while moving functions out of evm bots.

Codecov Report
Patch coverage: 82.50% and project coverage change: -0.04 :warning:

Comparison is base (d41b03b) 78.73% compared to head (dced37e) 78.69%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #528      +/-   ##
==========================================
- Coverage   78.73%   78.69%   -0.04%
==========================================
  Files          55       56       +1
  Lines        3381     3403      +22
==========================================
+ Hits         2662     2678      +16
- Misses        719      725       +6

Flag
Coverage Δ

unittests
78.69% <82.50%> (-0.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

elfpy/bots/get_env_args.py
80.64% <80.64%> (ø)

elfpy/utils/outputs.py
32.81% <88.88%> (-2.29%)
:arrow_down:

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


More simplifications for List.take and List.drop

More simplifications for List.take and List.drop
Some suggestions for List.take and List.drop simplifications.
I think take and map are functions that are used a lot, so new rules would probably be applied in many codebases 🚀
(n is refering to the Int argument , as in List.take n list)
List.drop with negative n
List.drop -1 list
--> list

Literal lists with size <= n
List.take 5 [a,b,c]
--> [a,b,c]

List.drop 5 [a,b,c]
--> []

List.take 1 (List.singleton x)
--> List.singleton x

List.drop 1 (List.singleton x)
--> []

List.repeat with non-negative n <= repeat arg
List.take 3 (List.repeat 5 x)
--> List.repeat 3 x

List.drop 3 (List.repeat 5 x)
--> List.drop 2 x

List.range with size >= n
List.take 3 (List.range 0 10)
--> List.range 0 2

List.drop 3 (List.range 0 10)
--> List.range 3 10

Generalization question
Some of these can be generalized more, f.ex.
-- n > 0
List.drop n (List.repeat m x)
--> List.repeat (m - Basics.max 0 n) x

But I am not sure about the clarity of the resulting code and also about how it will impact further simplifications.
So I went with the simpler one. Open for suggestions

Feedback and tips welcome! And of course more suggestions and corrections.
I can probably look into implementing most of these myself.

Nice.

List.length (List.take 10 list)
--> 10

doesn't work because list can have less than 10 elements.

The take and drop ones are already tracked in https://github.com/jfmengels/elm-review-simplify/issues/2

List.take 3 (List.repeat 5 x)
--> List.repeat 2 x

should be repeat 3

Other than those nitpicks, looks good

List.length (List.take 10 list)
--> 10

doesn't work because list can have less than 10 elements.

Yes, of course. My bad. This was a bit of a hasty late suggestion. Removed

The take and drop ones are already tracked in Simplifications to add #2
The take and drop after map are already tracked in Simplify to more optimized mapping operations #112
Ah. Makes sense. I removed them from this issue

List.take 3 (List.repeat 5 x)
--> List.repeat 2 x

should be repeat 3

Fixed! Thanks

Nice suggestions :+1:
Other things we could do:
List.drop 2 (x :: y :: z :: list)
--> z :: list

List.drop 2 (x :: list)
--> List.drop 1 list

List.take 2 (x :: list)
--> x :: List.take 1 list

@morteako Would you like to work on these simplifications? Asking before @lue-bird snatches them away :sweat_smile:

@jfmengels
I will at least take a look at the first one , and try to include
List.drop 2 ([x,y,z] ++ list)
--> z :: list

I am not personally sure about
List.take 2 (x :: list)
--> x :: List.take 1 list

It should be better for performance, but i think maybe the resulting code is a bit more unclear.


fix: fix casing for list tokens, reactors, proxies responses

Description

Adds proper casing support if response is list for Tokens, Reactors, Proxies

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This PR is included in version 1.77.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Replacing CAP for CSDP

Hey @kostis-codefresh ,
I didn't know if changing the file's name would have consequences. Will it?

[CI] Staging environment is at http://cap-staging-docs.codefresh.io.s3-website.us-east-1.amazonaws.com/francisco-codefresh-replacing-cap/docs/


Entity Relationship Diagram

https://editor.ponyorm.com/user/Philippoes/slow_food_sinatra_nov

@AmberWilkie can u pls check our first ER model? we made it with MVP in mind, we just want to be able to create an order

One of the requirements of the project is that users must register before they can check out. I don’t see that represented on the ERD

@AmberWilkie That's true, we figured that in order to make the minimum product that actually works we would prioritize what would get us there, so we will included in later versions

Your MVP should include all the requirements we have given you. That is what the "client" has requested.

Ok, does it mean that we should prioritize some stuff over others when building the code then? Or at what point in our process do you say we should make this sort of priorities?

@AmberWilkie I am asking because @tochman encouraged us to think even more MVP when prioritizing. Perhaps we understood him wrong?

You need to prioritize as soon as you start work. That is how you know what to build next. Your backlog should be ordered by what needs to come first in order to complete the assignment. But eventually you will be able to choose - should I work on categories or user registration? And you can prioritize based on whatever you like.

Hm, I'm a little confused now – phaps we can address this in the next scrum? :)

Your design sprint should include everything you want to get done during this week (this sprint, or period of coding). You may not complete everything, and that's ok, but you want to plan out next steps now, while you're thinking big-picture.
You are working towards an MVP. You won't have one until you complete all the requirements we've given you. But you also want to build your project so that you are making the changes that will be most important to the customer first. So if we ask to see a demo tomorrow, you will have something to show. Then more on Thursday, more on Friday, etc. That's what Thomas means by working towards an MVP. You do the most important thing first so you can show the client as early as possible. That does not mean you have an MVP yet.


The Ministry of Bending Reality and Michael Stephens

Submission Type
New listing
Merchant Listing Code
JTVCJTIyY2lsN0hjdFAlMjIlMkMlMjJUaGUlMjBNaW5pc3RyeSUyMG9mJTIwQmVuZGluZyUyMFJlYWxpdHklMjIlMkMlMjJUaGUlMjBNaW5pc3RyeSUyMG9mJTIwQmVuZGluZyUyMFJlYWxpdHklMjBmb2xsb3dzJTIwQnVzaW5lc3MlMjBEZXZlbG9wZXIlMkMlMjBBY3RpdmlzdCUyQyUyMEF1dGhvciUyQyUyMEludHVpdGl2ZSUyMENvbnN1bHRhbnQlRTIlODQlQTIlMkMlMjBIaXN0b3JpYW4lMjBhbmQlMjBOYW1lJTIwUmVhZGVyJUUyJTg0JUEyJTIwTWljaGFlbCUyMFN0ZXBoZW5zLiUyMiUyQyUyMkJlbmRpbmctUmVhbGl0eS1Mb2dvLTMoMTM1VykuanBnJTIyJTJDJTIyaHR0cHMlM0ElMkYlMkZ3d3cuYmVuZGluZ3JlYWxpdHkuaXMlMkYlMjIlMkMlNUIlMjIzJTIyJTJDJTIyNyUyMiUyQyUyMjU2JTIyJTJDJTIyMTYlMjIlMkMlMjIyNyUyMiU1RCU1RA==
Merchant Listing Image

Comments for listing reviewer (optional)
Thank you!

Hello @BendingRealityTV thanks for submitting your application. We will review shortly.
I took only a quick look, and I did not see ARRR was accepted on your website, but to be honest I couldn't find a cart or products. Could you provide a link to what services or products you offer and where users pay?

Hello @BendingRealityTV thanks for submitting your application. We will review shortly.
I took only a quick look, and I did not see ARRR was accepted on your website, but to be honest I couldn't find a cart or products. Could you provide a link to what services or products you offer and where users pay?

He is using the donation button:
https://bendingreality.is/DONATE/

Ahoy @BendingRealityTV!
Welcome to the fleet of the ARRRmada.
If you have any questions or suggestions, you can find us in the official Discord.
https://twitter.com/PirateARRRmada/status/1721970892685680727
https://discord.com/channels/512188534111862784/836330876312354836/1171529687994990752
Best RegARRRds

Welcome to ARRRmada @BendingRealityTV! Thanks for listing your website


Can't manage to write a correct config file

Hi,
I've just found your repo today and it looks like it's exactly what I was looking for.
Unfortunately, as I'm not very comfortable with JS (and doesn't know anything about TS), I didn't manage to write a correct config file to override the default exportPresets.
I only need to add some breakpoints and change the names of the presets.
I'm using the CLI tool.
What would be a correct js or json config file for this ?
And can I simply remove the max height key to only resize based on the images width ?
Thanks in advance.
Best regards

Hi willdante,
The script will pick up any of the valid config file names. If you're launching in CLI mode from the terminal, having a .ribrc.json file in your current working directory (or in theory, any parent directories) will allow you to override config options. No JS or TS required. There's an example below.
Omitting the height property will pass undefined to sharp, which from their documentation will have the desired effect. Good luck!
.ribrc.json
{
  "in": "./ingest",
  "out": "./assets",
  "exportPresets": [
    {
      "name": "thumbnail",
      "height": 16,
      "width": 16,
      "force": true
    },
    {
      "name": "small",
      "width": 1280,
      "force": true
    }
  ]
}

Thanks a lot!
I managed to make it work with some adjustments in .ribrc.json:

width and height expect a string, so "width": 1280 should be "width": "1280" for example
height is required so I added "height": "auto" instead of removing the line to have the desired effect

Now I have another question, I'm using the width value as name for my presets but the default ones (small, normal, etc) are still exported.
How can I disable these default presets without using the same names ?

:tada: This issue has been resolved in version 3.1.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

I have no idea how those two issues escaped me.
As of v3.1.3, width and height should now expect numbers (and not strings) and are now optional, and providing new presets will now also override the default ones by correctly merging the user's configuration.
Have a great day!

Wow, that's great news, thanks !


Non Matching Multipatch

I think this PR is ready for reviews now. I think it's best to discuss most of the open questions below when working on the unification of the single-patch - multi-patch interface. And maybe create a more sustained and documented example gallery.
List of changes

add non matching conforming projection operators w/ homogeneous bc for V0 and V1
update multipatch examples to newer psydac version
add __init__.py to tests
add non matching examples from previous branch
add more tests
change in naming convention: primal Hodge operator corresponds to mass matrix

TO DO (future work)
Work for other PRs

Include some new features from the maxwell_ssc branch at least for matching domains
Make sure that other branches follow new naming convention
When merging single- and multi-patch interfaces, merge examples based on the equation solved and unify the interface
Take out obsolete feec/multipatch(/examples) folder
Move projections to DiscreteDeRham class
Unify the syntax of the creation of multipatch domains

Open questions:

what to do with the old not working conforming projections?
naming conventions "non_matching_" or "_nc"?

Notes:

Needs https://github.com/pyccel/sympde/pull/137 -> fixed in #ec10dfd
Saids DG code is not working, apparently issues in https://github.com/pyccel/psydac/blob/e84552a3241cd50db498d8b4c6d679e565280473/psydac/api/fem.py#L793 coming from the non-conforming multipatch merge request -> fixed in #324

I'm not done with my review but I answered several points. I'll continue on Friday


Update react-adal.js

Change in "adalFetch" function: replace directly adding "Authorization" header by Header() append method.

why ?

Because I met a case when this part of code didn’t work properly.
I can’t get my source code at this moment to show You, but I will try explain.
When I initialize options (for fetch() method) as a plain object and pass to it a  headers property which is an instance of Headers() interface. I believe it’s a correct approach. So, passing this options with appended headers to adalFetch function I got the result of headers with only „Authotization” header. All headers appended earlier are lost.
With my solution we can save earlier headers and also append „Authorization” header in a clean and consistent way.
As I’m looking on this lib code now, I think that will be good to change also code in 41 line:
from:
if (!o.headers) o.headers = {};
to:
if (!o.headers) o.headers = new Headers();
That’s all.
What You think?
Mateusz Boroch
+48 608 548 508
<EMAIL_ADDRESS>
Wiadomość napisana przez Salvatore Ravidà<EMAIL_ADDRESS>w dniu 24.10.2018, o godz. 16:22:
why ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/salvoravida/react-adal/pull/40#issuecomment-432678326, or mute the thread https://github.com/notifications/unsubscribe-auth/AXs3bsJHnveuAmaungijQf_Trxql_OBwks5uoHfBgaJpZM4X37jW.


regularly remove orphaned photos

We support photos that aren't attached to anything via the uploader and the API. Let's set up a monthly job to clear these out.

Updated schedule.rb and added bfde462295f5586b378b493f6036ebcad224cb7d. Still need to deploy.


[bug] WebviewWindowBuilder::inner_size doesn't set the correct size

Describe the bug
my scale factor is 200%, when i try to create a new window with 800x600 size, it actually is 1600x1200.
tauri::Builder::default()
    .setup(move |app| {
        let url = "http://localhost:1420/".to_string().parse::<Url>().unwrap();
        WebviewWindowBuilder::new(app, "main".to_string(), WebviewUrl::External(url))
            .inner_size(800., 600.)
            .build()?;
        Ok(())
    })
    .run(tauri::generate_context!())
    .expect("error while running tauri application");

Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.19045 x86_64 (X64)
    ✔ WebView2: 130.0.2849.56
    ✔ MSVC:
        - Visual Studio 15 生成工具 2017
        - Visual Studio Community 2019
        - Visual Studio Community 2022
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 18.18.2
    - yarn: 4.5.0
    - npm: 9.8.1

[-] Packages
    - tauri 🦀: 2.0.4
    - tauri-build 🦀: 2.0.1
    - wry 🦀: 0.46.2
    - tao 🦀: 0.30.3
    - cargo-tauri 🦀: 1.0.5
    - @tauri-apps/api : 2.0.2 (outdated, latest: 2.0.3)
    - @tauri-apps/cli : 2.0.2 (outdated, latest: 2.0.4)

[-] Plugins

[-] App
    - build-type: build
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - bundler: Vite

Stack trace
No response
Additional context
No response

inner_size sets the logical size so this is expected behavior

inner_size sets the logical size so this is expected behavior

so how can we set the actual size, inner_size is the only method to set the size.

There's no good way of doing it right now, there's a feature request issue #5228 though, a work around for now would be getting the monitor's scale factor and calculate the logical size/position based on it

ok, i will keep an eye on it.


emit a warning/error if enabling boundscheck=True together with parallel=True (raising exceptions from within threads has unspecified behaviour)

CC @abulenok

Is there somewhere in the docs you've seen that it's stated that raising exceptions from within threads has unspecified behaviour? I'm not clear about whether this should be a bug report or feature request.

Is there somewhere in the docs you've seen that it's stated that raising exceptions from within threads has unspecified behaviour? I'm not clear about whether this should be a bug report or feature request.

Indirectly, this is commented upon here: https://numba.pydata.org/numba-doc/latest/developer/threading_implementation.html#caveats
See also here: https://github.com/numba/numba/issues/2811

Many thanks for the info! I'll mention this at the triage meeting on Jan 16th.

Thanks!
Here's a minimal example:
$ cat test.py
import numba, numpy, os

@numba.njit(parallel='PARFORS' in os.environ, boundscheck=True)
def test(n):
    arr = numpy.empty(n)
    for i in numba.prange(n+1):
        arr[i] += 1

test(100)

$ python3 test.py
Traceback (most recent call last):
  File "/home/user/Downloads/test.py", line 9, in <module>
    test(100)
IndexError: index is out of bounds

$ PARFORS= ~/devel/venv/bin/python3 test.py
$ echo $?
0

would this be a good place to issue such warning: https://github.com/numba/numba/blob/e15cd6870042125ff025e459f5f7558449b22cf8/numba/core/typed_passes.py#L338
(just after the logic for issuing warning for parallel=True with no parallelizable loops)


OpenJS Foundation Bootstrap Team Meeting 2019-04-29

Time
UTC Mon 29-Apr-2019 13:00 (01:00 PM):

Timezone
Date/Time

US / Pacific
Mon 29-Apr-2019 06:00 (06:00 AM)

US / Mountain
Mon 29-Apr-2019 07:00 (07:00 AM)

US / Central
Mon 29-Apr-2019 08:00 (08:00 AM)

US / Eastern
Mon 29-Apr-2019 09:00 (09:00 AM)

London
Mon 29-Apr-2019 14:00 (02:00 PM)

Amsterdam
Mon 29-Apr-2019 15:00 (03:00 PM)

Moscow
Mon 29-Apr-2019 16:00 (04:00 PM)

Chennai
Mon 29-Apr-2019 18:30 (06:30 PM)

Hangzhou
Mon 29-Apr-2019 21:00 (09:00 PM)

Tokyo
Mon 29-Apr-2019 22:00 (10:00 PM)

Sydney
Mon 29-Apr-2019 23:00 (11:00 PM)

Or in your local time:

http://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Bootstrap Team+Meeting+2019-04-29&iso=20190429T13
or http://www.wolframalpha.com/input/?i=01PM+UTC%2C+Apr+29%2C+2019+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1Rj5UJYuJxv6tL_n-cZozwujJHYcp2Mids9pF2RXQ6qk/edit

Agenda
Extracted from bootstrap-agenda labelled issues and pull requests from the openjs-foundation org prior to the meeting.
openjs-foundation/bootstrap

Review new project board + Milestone for Bootstrapping the CPC #164
proposal: new project application process #158
Voting CPC Representatives from Projects #152
Create process for new projects joining foundation #130
Review meeting times #129
Steps to bootstrap CPC and new Foundation #115

Invited

OpenJS Foundation Project Maintainers
OpenJS Foundation Board of Directors

Observers/Guests
Notes
The agenda comes from issues labelled with bootstrap-agenda across all of the repositories in the openjs-foundation org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting

link for participants: Zoom link: https://zoom.us/j/779273015
For those who just want to watch: https://www.youtube.com/c/nodejs+foundation/live

Invitees
Please use the following emoji reactions in this post to indicate your
availability.

:+1: - Attending
:-1: - Not attending
:confused: - Not sure yet

We ran a very quick meeting this morning, ran only 10 minutes, already wrapped


2 conflicting icons page-add and page--add

In apps/es there are 2 different implementations of sth that sounds like the same icon.

compare if it is really the same icon - if no: contact design on why we have 2 icons with a similar, nearly identical name but different appearance.
Assuming they are the same, remove one of the icons
This will introduce a breaking change if removed. Consider alternatives for backwards compatibility prior introducing a breaking change.


Point Applications at main.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.43%. Comparing base (4d7cf54) to head (482464b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   65.43%   65.43%
=======================================
  Files           7        7
  Lines         324      324
=======================================
  Hits          212      212
  Misses        112      112

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


question

i'm tweaking the basic shields to be hidden in the shielddisruptor's config file, what are the adequate strings for each one?
is it something like "basicshields:wooden_shield"? (btw sorry, i don't know how to tag these to just "question/fqa" or if there's a better place to ask lmao, great mod!

nvm, i searched around the .jar mod file and found the names haha


Touch up TMC Test Results panel, show validation results

Before:

After:

The title colors are lighter than the border when using the dark theme in order to make the text easier to read.

:+1:


a question for cuda env

There is reset in the python environment, but in cuda they do not, suppose I want each environment agent to be able to set a different initial position, how can I write it in cuda?

We have CUDA reset function that pushes the data from CPU host to the GPU in the very beginning and later used this original host start point to reset directly inside the GPU, the Python API is here
https://github.com/salesforce/warp-drive/blob/4f380f839bad003010ef98868ad143899c8c46d0/warp_drive/managers/function_manager.py#L787
And the backend CUDA code is here
https://github.com/salesforce/warp-drive/blob/master/warp_drive/cuda_includes/core/reset.h
The current problem is this: we used the original random state generated by the Python API but as you know, it is a single env instance. So we expand at the environment dimension to use this initial state for all the environment replicas managed by GPU blocks. This will make Python simulation and GPU simulation seamlessly the same with all APIs, and we will not have repeated data transfer btw CPU/GPU
https://github.com/salesforce/warp-drive/blob/4f380f839bad003010ef98868ad143899c8c46d0/warp_drive/env_wrapper.py#L213
Although the randomness and coverage of the states is guaranteed due to random sampling process in step function, it is ideal that each environment replica could have a different random state or a set of random states to start with. It may not be critical for Tag game, but for some environments, different starting configuration could have different meanings. There are two options in my mind:

implement a GPU randomness reset function, however, this would be env by env which is somehow against the generic rule for the utility functions of WarpDrive
provide a set of random initial states, and at each reset, every environment replica can pick up one, so one extreme case would be all environments share the same initial state as we do now, and another extreme is each environment replica has its own
The second choice seems a better choice, and not hard to do. The reason we have not yet implemented it is because this means we will provide a initial states pool somewhere in the EnvWrapper, which makes API a little ugly.

Please let me know your thoughts, if you want, we can proceed with option 2 or some better ideas.

Sorry for the late response, my idea is that the cuda you provide is global CudaSteps, but I hope that each iteration can provide a random value, so that I can change the state or relative relationship of the agent in each iteration(This operation can without each iteration, the purpose is to provide more diversity for environment learning), I hope in There is a device func that can be used in cuda global during training just like the reward function, I believe it should be better uderstand than adding in EnvWrapper, but it depends on how you design it, Thanks to the
warp-drive team for helping me learn MUTI RL

In order to make the environment more complex, you can also design a parameter in WarpDrive. At the beginning, you can set several enviroments to be used. During training, you can use random to generate several enviroments first, and choose them randomly at different iterations.


dependency is listed only with -e normal,dev but not with -e normal or -e dev

Problem
The dependency is listed only when running cargo tree -e normal,dev. When running either cargo tree -e normal or cargo tree -e dev it is not listed.
Steps
To reproduce:
git clone https://github.com/tlsnotary/tlsn
cd tlsn/components/tls/tls-mpc/
git checkout 68b9474015b817255c226fec38e80addd16191d1
cargo tree -e normal,dev | grep mio
cargo tree -e normal | grep mio
cargo tree -e dev | grep mio

You will only see that the dependency was found on the first invocation of cargo tree but not found on the 2nd or the 3rd.
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.79.0 (ffa9cf99a 2024-06-03)
release: 1.79.0
commit-hash: ffa9cf99a594e59032757403d4c780b46dc2c43a
commit-date: 2024-06-03
host: x86_64-unknown-linux-gnu
libgit2: 1.7.2 (sys:0.18.3 vendored)
libcurl: 8.6.0-DEV (sys:0.4.72+curl-8.6.0 vendored ssl:OpenSSL/1.1.1w)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Ubuntu 22.4.0 (jammy) [64-bit]

$ cargo tree -e normal,dev
mio v0.8.11
└── tokio v1.38.0
    ├── h2 v0.3.26
    │   └── hyper v0.14.29
    │       └── tls-server-fixture v0.0.0 (/home/epage/src/personal/dump/tlsn/components/tls/tls-server-fixture)
    │           [dev-dependencies]
    │           └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    ├── hyper v0.14.29 (*)
    ├── tls-server-fixture v0.0.0 (/home/epage/src/personal/dump/tlsn/components/tls/tls-server-fixture) (*)
    ├── tlsn-utils-aio v0.1.0 (https://github.com/tlsnotary/tlsn-utils?rev=51f313d#51f313d1)
    │   ├── mpz-garble v0.1.0 (https://github.com/privacy-scaling-explorations/mpz?rev=9f7403b#9f7403be)
    │   │   ├── tlsn-aead v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/aead)
    │   │   │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   │   ├── tlsn-block-cipher v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/cipher/block-cipher)
    │   │   │   ├── tlsn-aead v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/aead) (*)
    │   │   │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   │   ├── tlsn-hmac-sha256 v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/prf/hmac-sha256)
    │   │   │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   │   ├── tlsn-key-exchange v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/key-exchange)
    │   │   │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   │   ├── tlsn-stream-cipher v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/cipher/stream-cipher)
    │   │   │   ├── tlsn-aead v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/aead) (*)
    │   │   │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   ├── mpz-ot v0.1.0 (https://github.com/privacy-scaling-explorations/mpz?rev=9f7403b#9f7403be)
    │   │   ├── mpz-garble v0.1.0 (https://github.com/privacy-scaling-explorations/mpz?rev=9f7403b#9f7403be) (*)
    │   │   ├── mpz-share-conversion v0.1.0 (https://github.com/privacy-scaling-explorations/mpz?rev=9f7403b#9f7403be)
    │   │   │   ├── tlsn-point-addition v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/point-addition)
    │   │   │   │   ├── tlsn-key-exchange v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/key-exchange) (*)
    │   │   │   │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   │   │   ├── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   │   │   └── tlsn-universal-hash v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/universal-hash)
    │   │   │       ├── tlsn-aead v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/aead) (*)
    │   │   │       └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   │   └── tlsn-key-exchange v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/key-exchange) (*)
    │   │   [dev-dependencies]
    │   │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   ├── mpz-share-conversion v0.1.0 (https://github.com/privacy-scaling-explorations/mpz?rev=9f7403b#9f7403be) (*)
    │   ├── tlsn-aead v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/aead) (*)
    │   ├── tlsn-hmac-sha256 v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/prf/hmac-sha256) (*)
    │   ├── tlsn-key-exchange v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/key-exchange) (*)
    │   ├── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    │   └── uid-mux v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/uid-mux)
    │       [dev-dependencies]
    │       └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    └── tokio-util v0.7.11
        ├── h2 v0.3.26 (*)
        ├── tls-server-fixture v0.0.0 (/home/epage/src/personal/dump/tlsn/components/tls/tls-server-fixture) (*)
        ├── tlsn-tls-client-async v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-client-async)
        │   [dev-dependencies]
        │   └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
        └── tlsn-utils-aio v0.1.0 (https://github.com/tlsnotary/tlsn-utils?rev=51f313d#51f313d1) (*)
        [dev-dependencies]
        └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
    [dev-dependencies]
    └── tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)

mio is an optional dependency of tokio if net, process, or signal features are enabled

Helps if I look at the most basic output
❯ cargo tree -e dev
tlsn-tls-mpc v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-mpc)
[dev-dependencies]
├── mpz-ot v0.1.0 (https://github.com/privacy-scaling-explorations/mpz?rev=9f7403b#9f7403be)
├── tls-server-fixture v0.0.0 (/home/epage/src/personal/dump/tlsn/components/tls/tls-server-fixture)
├── tlsn-tls-client v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-client)
├── tlsn-tls-client-async v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/tls/tls-client-async)
├── tokio v1.38.0
├── tokio-util v0.7.11
├── tracing-subscriber v0.3.18
└── uid-mux v0.1.0-alpha.5 (/home/epage/src/personal/dump/tlsn/components/uid-mux)

Notice that this doesn't go any deeper.  It looks like -e dev doesn't show "what are my dependencies when I do a dev build" but include the dev edges".  To see all of your dev-dependencies, you also have to look at their normal dependencies.

@epage , thanks for looking into this. I just want to make sure: are you confirming that this is a bug or is this the expected behaviour?

Note that if you run
cargo tree -e normal,dev,features | grep mio -A10 -B10
you will see this snippet
│   │   │   │       │   ├── tokio feature "default"
│   │   │   │       │   │   └── tokio v1.38.0
│   │   │   │       │   │       ├── mio v0.8.11

which shows that cargo thinks that mio is a dep of tokio with the default feature.
This is wrong - mio is an optional dep.
I don't know if this is a separate bug or whether it is related to this one.

I just want to make sure: are you confirming that this is a bug or is this the expected behaviour?

@ehuss, any thoughts on this?  I can see both an argument for -e dev only showing you direct dependencies, because that is literally what you asked for, but most likely the user intended to see the normal and build dependencies associated with their dev-dependencies.

Sorry I don't have a particularly good answer. In short, this is expected behavior. "Show dev-dependencies and their normal dependencies, but not my normal dependencies" wasn't a use case I think we considered (or at least seemed important).

Thanks for trying to resolve this but it seems to me like we started to talk past each other at some point, maybe because I didn't articulate my question precisely.
My question can be distilled into:
When comparing the output of -e normal,dev  and the concatenation of outputs from -e normal and -e dev, I can see that -e normal,dev outputs some extra information (as per my OP).
So far I understood that:
-e dev -> show my dev dependencies and don't go any deeper. (i.e. don't show the deps of my dev deps)
-e normal -> show my normal deps and also the deps of my normal deps.
-e normal,dev -> show my normal+dev deps and also the deps of all the normal+dev deps
So, the extra info shown by -e normal,dev (which is not shown by concatenating -e normal and -e dev) is the deps of my dev deps?
Is that correct?

Yes, that sounds correct to me.

Thank you, it's all clear now.
Seems like the fact that mio  shows as a dependency of tokio with the default feature is an unrelated issue. I'll open a new issue for that.


[Howto] Build portable v68 on fedora

Note :
Please close that issue... I did not made a pull request on building.md i wanted first to post here... also may be i can pull request building.md just to link here, as we can answer the post it's easier when we have an issue when building new versions instead of creating new issue...
Note II:
Fedora is using a new version of glibc, so if you are planning to distribute the portable binary for distro other than fedora, it's not a good idea to build it with fedora
Where did i build :
I used Scaleway Cloud Services with a VM running Fedora v28
Building Instructions For Fedora For Portable Version  :
Update & install needed packages
dnf update
dnf install wget git patch nano ninja-build python36
dnf builddep chromemium
dnf install perl-Switch dirac-devel hunspell-devel imlib2-devel libdc1394 libdc1394-devel libavcodec-devel yasm-devel libexif-devel libtheora-devel schroedinger-devel minizip-devel libvdpau-devel slang-devel libjack-devel libavformat-devel SDL-devel ninja binutils-gold bison cups-devel desktop-file-utils fdupes flex gperf hicolor-icon-theme libcap-devel libelf-devel libgcrypt-devel libgsm libgsm-devel libjpeg-devel libpng-devel libva-devel ncurses-devel pam-devel pkgconfig re2-devel snappy-devel update-desktop-files util-linux wdiff alsa Mesa-dri-devel cairo-devel libavutil-devel libavfilter-devel libdrm2 libdrm-devel libwebp-devel libxslt-devel libopus-devel rpm-build --skip-broken
yum install clang*
yum install llvm llvm-static llvm-devel ninja*

Clone sources
git clone https://github.com/Eloston/ungoogled-chromium.git
cd ungoogled-chromium

Prepare sources
mkdir -p build/src
./get_package.py linux_simple build/src/ungoogled_packaging
cd build/src

Edit ./ungoogled_packaging/build.sh  and remove the last line starting with ninja
Prepare build
./ungoogled_packaging/build.sh
Build (Note that -j48 is for a cpu with 48 cores so update that number according to how many build thread you want to run at the same time)
ninja -j48 -C out/Default chrome chrome_sandbox chromedriver
Create the tar archive with the portable chromium
./ungoogled_packaging/package.sh

Thanks for the instructions. If you could, please submit a PR with the information integrated into the Portable Linux building instructions.
Issues are not designed for long-term discussions. They are designed for short conversations that address specific concerns. If changes need to be made, they can be said in commit comments or new issues. This may not be what others are doing with issues, but it's a system that has been working well with this project (and long discussions definitely don't work on GitHub).

@Eloston i just sent a pr ;)


Fix undefined (reading 'name') error when msg is from a http-in node

Description

Check constructor is something before attempting to read the name property. This reveals the real exception - which in the case of the HTTP-In msg object was a circular ref error
When a msg contains the HTTP In node req/res properties is passed through project-call nodes, detach the properties then re-attach them when the response comes in.

Related Issue(s)
#42
Checklist

[x] I have read the contribution guidelines
[ ] Suitable unit/system level tests have been added and they pass
[x] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on flowforge/helm to update ConfigMap Template
[ ] Issue/PR raised on flowforge/CloudProject to update values for Staging/Production

Labels

[ ] Backport needed? -> add the backport label
[ ] Includes a DB migration? -> add the area:migration label

It was pointed out on the nodered Slack #FlowFuse channel - why do I set msg.req/msg.req with the strings REQ:${eventId} and RES:${eventId}, why not simply apply req/res if present in the original msg.
Before publishing the PR, I spent a fair bit time mulling this over (e.g. should I just re-add req & res if present originally).
In the end, I left this in as belt and braces.  e.g. These temporary strings guarantee the following:

It was our code that determined the msg was an actual MQTT-In msg
It was our code that removed the original req/res`
Verify the MQTT response message has not (intentionally) changed in these properties
That the msg was originally modified by the Project Nodes before attempting to reattach the original props

One point that may be worth considering is to leave the req object in the msg as the down stream flow may wish to use properties of it?  I am fairly sure this would stringify without the circular ref errors.
Of course, the user could simply cherry pick properties from req and add them to a separate object/payload if needed.
Thoughts?

/.../ leave the req object in the msg as the down stream flow may wish to use properties of it? I am fairly sure this would stringify without the circular ref errors.

I just checked and msg.req too contains constructors that won't submit to stringification without a custom replacer. Downstream nodes are probably more interested in the res object, and having access to only one of them will probably introduce at least some level of confusion.
I think you've found a good level with the current solution that basically says "handle http entrance and exit on the same level", just like you should follow your guests to the door as they leave.


proto: hash protos piece by piece

Commit Message: Hash protos one piece at a time
Additional Description:
Use an implementation of ZeroCopyOutputStream that sends the results to
a hasher object instead of to a string, producing a hash inline with the
printing instead of first constructing and then hashing the entire string.
Risk Level: low
Testing: added unit tests
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

I was hoping for a large improvement, but it looks like string allocation is not a large part of the cost of hashing. I'm seeing only a 1-2% improvement, even for large protos.

I was hoping for a large improvement, but it looks like string allocation is not a large part of the cost of hashing. I'm seeing only a 1-2% improvement, even for large protos.

I was hoping for a large improvement, but it looks like string allocation is not a large part of the cost of hashing. I'm seeing only a 1-2% improvement, even for large protos.

Seems better than nothing.  Can you post benchmark results (-c opt)?
/wait

I was hoping for a large improvement, but it looks like string allocation is not a large part of the cost of hashing. I'm seeing only a 1-2% improvement, even for large protos.

Seems better than nothing. Can you post benchmark results (-c opt)?
/wait

ping
Could you post before and after benchmark results in -c opt mode?

Ran the two benchmarks, both compiled with -c opt. The .inline one is this change, .string builds the entire message string before hashing. This is using the comparison script from the Google benchmark repo.
akonradi@akonradi ~/git/envoy/proto-hash> python3 ../../benchmark/tools/compare.py -a benchmarks ./utility_speed_test.opt.string ./utility_speed_test.opt.inline -- -- --benchmark_repetitions=20
RUNNING: ./utility_speed_test.opt.string -- --benchmark_repetitions=20 --benchmark_display_aggregates_only=true --benchmark_out=/tmp/tmprig98ej7
2021-02-17 15:37:25
Running ./utility_speed_test.opt.string
Run on (12 X 4000 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x6)
  L1 Instruction 32 KiB (x6)
  L2 Unified 256 KiB (x6)
  L3 Unified 15360 KiB (x1)
Load Average: 0.69, 0.69, 0.89
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
----------------------------------------------------------------------------
Benchmark                                  Time             CPU   Iterations
----------------------------------------------------------------------------
bmProtobufMessageHashSmall_mean        37603 ns        37599 ns           20
bmProtobufMessageHashSmall_median      37499 ns        37500 ns           20
bmProtobufMessageHashSmall_stddev        404 ns          403 ns           20
bmProtobufMessageHashLarge_mean        95595 ns        95590 ns           20
bmProtobufMessageHashLarge_median      95519 ns        95517 ns           20
bmProtobufMessageHashLarge_stddev        263 ns          263 ns           20
RUNNING: ./utility_speed_test.opt.inline -- --benchmark_repetitions=20 --benchmark_display_aggregates_only=true --benchmark_out=/tmp/tmp4s_gkczm
2021-02-17 15:37:54
Running ./utility_speed_test.opt.inline
Run on (12 X 4000 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x6)
  L1 Instruction 32 KiB (x6)
  L2 Unified 256 KiB (x6)
  L3 Unified 15360 KiB (x1)
Load Average: 1.09, 0.79, 0.91
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
----------------------------------------------------------------------------
Benchmark                                  Time             CPU   Iterations
----------------------------------------------------------------------------
bmProtobufMessageHashSmall_mean        37661 ns        37656 ns           20
bmProtobufMessageHashSmall_median      37571 ns        37568 ns           20
bmProtobufMessageHashSmall_stddev        457 ns          456 ns           20
bmProtobufMessageHashLarge_mean        93276 ns        93267 ns           20
bmProtobufMessageHashLarge_median      93183 ns        93179 ns           20
bmProtobufMessageHashLarge_stddev        519 ns          520 ns           20
Comparing ./utility_speed_test.opt.string to ./utility_speed_test.opt.inline
Benchmark                                           Time             CPU      Time Old      Time New       CPU Old       CPU New
--------------------------------------------------------------------------------------------------------------------------------
bmProtobufMessageHashSmall_mean                  +0.0015         +0.0015         37603         37661         37599         37656
bmProtobufMessageHashSmall_median                +0.0019         +0.0018         37499         37571         37500         37568
bmProtobufMessageHashSmall_stddev                +0.1318         +0.1313           404           457           403           456
bmProtobufMessageHashLarge_mean                  -0.0243         -0.0243         95595         93276         95590         93267
bmProtobufMessageHashLarge_median                -0.0245         -0.0245         95519         93183         95517         93179
bmProtobufMessageHashLarge_stddev                +0.9743         +0.9790           263           519           263           520

The result is that for larger messages (a benchmark for which was added in the most recent commit), the speedup is only ~2% but the variance is much larger.

Interesting.  How would you prefer we proceed?
/wait


Change repo structure.

Put all the HTML files in the root of the repo.
The root should also have a folder called assets which has folders called css, js, img and fonts where you can add the respective files.
Modify the HTML code to incorporate the src and href changes for the location.

Why hasn't this simple issue been sorted out yet  the repository looks messy  change its structure  fast

@Aarushi21 @yasharthratan


RN 0.74 debugger compatibility

this is more of a question, not an issue, but seeing that RN  0.74 will drop support for flipper and switch to chrome debugger, i'm wondering whether this library will be compatible

RN 0.74??

but yea, it will work with RN 0.74. They will use JSI as well, so whatever Facebook uses works here as well. It's just the remote debugger that won't work


API Deployment Failing

https://github.com/HTBox/TwoWeeksReady/actions/runs/1344087041

This was due to an expired service principal. Was resolved by @tonysurma


[Feature]Batch upload/download defined workflow

When I defined the complete workflow in the development environment, I could not quickly synchronize to the production environment
Now that the file supports json single file export, can you implement bulk import and export

Thanks for your feedback, the same issues # 2501 already exist, we will add this feature in the future

Close by #2560, duplicated issue: #2501


Remove qobj_header test cases

Summary
fixes #131
with the removal of qobj support in backend.run() qobj_header is also no longer supported
Details and comments

Do we have tests for the its replacement?

Do we have tests for the its replacement?

What kind of tests should be added? Testing the normal job.run() header?

@kt474 I think we should just pass header=custom_header in the tests, instead of qobj_header.
header will get set to qobj_header in _get_run_config, so if we pass it again in the test it means that we are setting qobj_header twice and that's the reason for the error.
https://github.com/Qiskit-Partners/qiskit-ibm/blob/ca5a035dd6e79872ab45cffe539d505541803e47/qiskit_ibm/ibm_backend.py#L271-L272
Also modify the test names so it says test_headers_*.


Zawarudo Spam Bug

If you spam :zawarudo it cannot be undone.
(unconfirmed but probably accurate)

should b fixed with the new debounce