bubble up errors

I understand that Multicall3 contracts are immutable, however, this has been a frequent problem and its significant enough that it warrants creation of Multicall4.
A frequent issue that I experience as a web3 developer is establishing the ultimate error that caused a transaction to fail, or perhaps finding the error for a read call that failed unexpectedly. In this way, it is typically most useful if any proxy/intermediate contracts pass through any errors that occur. This particularly more important for larger transactions, such as multicalls.
unfortunately, multicall3 does not have any capability to bubble up errors. rather than returning the original error data, multicall3 will return Multicall3: call failed upon error on the inner transactions, effectively obscuring the result. If I am a developer and am just trying to get an app to work, I now have to either 1) break my transaction into individual calls and find the individual error (defeating the purpose of using a multicall for reads in the first place), or 2) copy my transaction into a trace tool such as tenderly and read the inner failure result. If I am an end user, an unexpected error on a read or write call can make it extremely difficult for developers to immediately pin down the cause.
it turns out its pretty easy to bubble up errors. The revert reason is included in the return data from the call, so a short assembly section can allow for the revert data to be accessed and re-reverted (ex. https://github.com/Synthetixio/synthetix-v3/blob/main/protocol/synthetix/contracts/modules/core/MulticallModule.sol#L31).
Bubbling up errors would also be useful for EIPs which rely on revert values in order to request offchain data, such as EIP-3668 or EIP-7412
BTW, slightly unrelated but if you are looking for another improvement for Multicall4, you could have the contract be deployed with CREATE2 using arachnid https://github.com/Arachnid/deterministic-deployment-proxy

Yea, agreed that would be ideal. These days for bespoke multicalls I revert with error CallFailed(uint256 callIndex, bytes revertData) so you can easily map it to the call also. Created https://github.com/mds1/multicall/issues/146 to track this
A workaround is to not revert on failure and manually check the Result[] array, and pull out the revert data as soon as you find one where success is false. If you're doing this on-chain, it may get costly depending on how many calls you have and how large the return/revert data is

Going to close since there's a workaround for the current version and we're now tracking this in #146 :)


Add support for 'rows' mode

Allow specifying data as a list of rows instead of columns by specifying
the 'rows' flag:

rows nosum

Header 1

Header 2

Shows up under Header 1

Shows up under Header 2

With this flag, tables operate in a similar way to the Roam Research
{{table}} macro.

Here's a screencast of the behavior in action.

No problem, done!
I also took the liberty to include the screencast in the README, and include two other small changes:

Changed App.jsx to use ES6 destructuring and a ternary, to avoid calling the blocksAsColumns or childBlocksAsColumns function twice.
Fix runtime errors in blocksAsColumns for partially-typed tables.

If you don't want either of these or want me to split them into separate PRs, please let me know.

Looks good! Thanks for your wonderful addition!


Can Any body help me to use it with stripe js elements ?

Not sure what you are trying to achieve, since Stripe elements give their own components to use on a payment screen. I currently, do not have a proper repo set up with the correct client-server integration, but you could do the following.
If you have Stripe system set up, with the correct integrations on the server and the client, then you could see if you are able to the onChange or possibly even target the input elements using a ref. Then you may be able to get the card_number, card_expiry, and the card_cvv, to show it in the react-credit-cards component.
https://stripe.com/docs/js/element/events/on_change?type=paymentElement
https://stripe.com/docs/payments/accept-card-payments?platform=web&ui=elements&html-or-react=react
One important thing to remember though is that this may be a bit more difficult since the purpose of Stripe Elements is to provide a secured tokenized form for a customer to enter their payment details.

Stripe.js tokenizes sensitive payment details within an Element without ever having them touch your server.


⚠ Bofrost.at has degraded performance

In a9ae553, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1142 ms

Resolved: Bofrost.at performance has improved in 1c2e88a after 20 minutes.


Adds X-Total-Count headers for the GetFiles request

This PR fixes the missing X-Total-Count header in the GET request for /files endpoint (#280).
Inside server/endpoints.go, the getFilesResponse struct defines a method count() that returns the length of its Files slice.
Inside server/routing.go, the encodeResponse func now looks to see if the response type implements the counter interface.  If it does, it sets the X-Total-Count header on the response with the value of counter.count().
@adamdecaf for comments.

Awesome, thanks!


Comparison between this and something like Kedro or ZenML?

Hey there! Thanks for this amazing work! I was wondering if you /any users here had done a comparison between these projects. Seems like this repo just describes a general set of tools and how they link up together whereas the others take an opinionated stance and do the linking themselves?
I'm in the process of evaluating tools / frameworks.
I'm currently a single person looking to set up the groundwork for things to come. So far my plans have been to stay local for as long as possible before moving to some distributed computing framework (Dask gave me a lot of trouble in the past). I'm also looking to avoid using tools such as AWS or GCP for as long as possible so ideally the discussion would revolve around local machines. I'd love to hear thoughts and opinions.

Hi @IanQS, thanks for our interest in our work! The general philosophy is collected in this series: the repo does not really "describe tools", it actually gives you working end-to-end code that goes from millions of data points to an endpoint - without any need for devOps people, and with pretty good future proofing, as most components would scale by themselves.
We prefer the "pick and choose approach" over the "one platform for all", which tends to work less well for people with sophisticated needs: using metaflow has been a sweet spot in that sense, as a framework easy to adopt, but also infinitely extensible. If you look for a (still end-to-end, fully ready to go) simpler stack, we just released this: https://github.com/jacopotagliabue/post-modern-stack - it is an easier starting point, compared to this repository.
On the issue local vs cloud, again metaflow is your friend: you start local and scale to AWS when you can / are ready, with minimal changes. We wrote extensively about distributed computing so won't repeat it here ;-)
If you'd like to chat more, do reach out - I'm usually around in the MLOps Community slack: mlops-community.slack.com - if you look for their next hands-on workshop, it should be me explaining the above repo step by step, in case you want to see a live demo!


HomeBridge Can’t Find Bridge After Power Outage

Describe Your Problem:
I setup the HomeBridge-Lutron-casita-leap plug-in last weekend and was successful in getting it working. I had a power outage this past week and found my pico remote wasn’t working. Found that I couldn’t reach the Lutron bridge with the Lutron app. Found there was a network issue and fixed that and the Lutron app could now connect but the plug-in still couldn’t find the bridge. I uninstalled and reinstalled the plug-in but it still couldn’t find the bridge. In the HomeBridge terminal I’m able to ping the Lutron bridge. Not sure what else I can try to get the plug-in to see the Lutron bridge.
Logs:
6/4/2022, 9:05:20 AM] [Homebridge UI] Homebridge restart request received
[6/4/2022, 9:05:20 AM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[6/4/2022, 9:05:20 AM] [Homebridge UI] Sending SIGTERM to Homebridge
[6/4/2022, 9:05:20 AM] Got SIGTERM, shutting down Homebridge...
[6/4/2022, 9:05:25 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[6/4/2022, 9:05:30 AM] [HB Supervisor] Restarting Homebridge...
[6/4/2022, 9:05:30 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules
[6/4/2022, 9:05:31 AM] [HB Supervisor] Started Homebridge v1.4.1 with PID: 7741
[6/4/2022, 9:05:32 AM] Loaded config.json with 1 accessories and 2 platforms.
[6/4/2022, 9:05:32 AM] Loaded 7 cached accessories from cachedAccessories.
[6/4/2022, 9:05:32 AM] ---
[6/4/2022, 9:05:33 AM] Loaded plugin<EMAIL_ADDRESS>[6/4/2022, 9:05:33 AM] Registering accessory 'homebridge-dummy.DummySwitch'
[6/4/2022, 9:05:33 AM] ---
[6/4/2022, 9:05:34 AM] Loaded plugin<EMAIL_ADDRESS>[6/4/2022, 9:05:34 AM] Registering platform 'homebridge-lutron-caseta-leap.LutronCasetaLeap'
[6/4/2022, 9:05:34 AM] ---
[6/4/2022, 9:05:34 AM] Loaded plugin<EMAIL_ADDRESS>[6/4/2022, 9:05:34 AM] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
[6/4/2022, 9:05:34 AM] ---
[6/4/2022, 9:05:34 AM] Loaded plugin<EMAIL_ADDRESS>[6/4/2022, 9:05:34 AM] Registering platform 'homebridge-config-ui-x.config'
[6/4/2022, 9:05:34 AM] ---
[6/4/2022, 9:05:34 AM] Loading 2 platforms...
[6/4/2022, 9:05:34 AM] [Config] Initializing config platform...
[6/4/2022, 9:05:34 AM] [Config] Running in Service Mode
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Initializing TplinkSmarthome platform...
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] homebridge-tplink-smarthome v7.0.1, node v16.14.0, homebridge v1.4.1, api v2.7
[6/4/2022, 9:05:34 AM] Loading 1 accessories...
[6/4/2022, 9:05:34 AM] [Setup] Initializing DummySwitch accessory...
[6/4/2022, 9:05:34 AM] [Setup] Setting switch to false
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Configuring cached accessory: [Plug 1] UUID: 72471e42-d2da-44ac-97e9-db0c1bfcefbf deviceId: 80063AB11D3024F10AA8777EE68FE2F41F16D62C00
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Configuring cached accessory: [Plug 2] UUID: 8d735e70-1ec0-4e6c-87ec-620c2efd59ca deviceId: 80063AB11D3024F10AA8777EE68FE2F41F16D62C01
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Configuring cached accessory: [Plug 3] UUID: f3230054-f4f0-43c5-8b80-fe379022b804 deviceId: 80063AB11D3024F10AA8777EE68FE2F41F16D62C02
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Configuring cached accessory: [Plug 4] UUID: 97e6ea4f-82bd-4e73-9a85-1dfa7b8f61b7 deviceId: 80063AB11D3024F10AA8777EE68FE2F41F16D62C03
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Configuring cached accessory: [Plug 5] UUID: 7e4d44b8-0cbc-4464-977b-8c88497a4d80 deviceId: 80063AB11D3024F10AA8777EE68FE2F41F16D62C04
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Configuring cached accessory: [Plug 6] UUID: 9fdae57f-81d8-4771-ae4a-864250d0e116 deviceId: 80063AB11D3024F10AA8777EE68FE2F41F16D62C05
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Configuring cached accessory: [TP-LINK_Smart Plug_DC71] UUID: 5f45010b-e85f-43f6-8b3f-f777e37a3f8d deviceId: 800637237E9F7D52021150416DCD08051EF99A39
Setup Payload:
X-HM://0023ISYWYD81U
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐

    └────────────┘

[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Device First Online: [TP-LINK_Smart Plug_DC71] plug [800637237E9F7D52021150416DCD08051EF99A39] <IP_ADDRESS> 9999
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Adding: [TP-LINK_Smart Plug_DC71] plug [800637237E9F7D52021150416DCD08051EF99A39]
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Device First Online: [Plug 1] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C00] <IP_ADDRESS> 9999
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Adding: [Plug 1] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C00]
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Device First Online: [Plug 2] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C01] <IP_ADDRESS> 9999
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Adding: [Plug 2] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C01]
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Device First Online: [Plug 3] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C02] <IP_ADDRESS> 9999
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Adding: [Plug 3] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C02]
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Device First Online: [Plug 4] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C03] <IP_ADDRESS> 9999
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Adding: [Plug 4] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C03]
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Device First Online: [Plug 5] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C04] <IP_ADDRESS> 9999
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Adding: [Plug 5] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C04]
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Device First Online: [Plug 6] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C05] <IP_ADDRESS> 9999
[6/4/2022, 9:05:34 AM] [TplinkSmarthome] Adding: [Plug 6] plug [80063AB11D3024F10AA8777EE68FE2F41F16D62C05]
[6/4/2022, 9:05:35 AM] Homebridge v1.4.1 (HAP v0.10.2) (Homebridge B36C) is running on port 53388.
[6/4/2022, 9:05:36 AM] [TplinkSmarthome.API] TCP <IP_ADDRESS>:9999 Error: connect ECONNRESET <IP_ADDRESS>:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 9999
}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome.API] [Plug 5] device.send() Error: connect ECONNRESET <IP_ADDRESS>:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 9999
}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 5] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 5] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome.API] TCP <IP_ADDRESS>:9999 Error: connect ECONNRESET <IP_ADDRESS>:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 9999
}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome.API] [Plug 6] device.send() Error: connect ECONNRESET <IP_ADDRESS>:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 9999
}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 6] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 6] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome.API] TCP <IP_ADDRESS>:9999 Error: connect ECONNRESET <IP_ADDRESS>:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 9999
}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome.API] [Plug 5] device.send() Error: connect ECONNRESET <IP_ADDRESS>:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 9999
}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 5] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 5] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 5] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 5] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 5] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome.API] TCP <IP_ADDRESS>:9999 Error: connect ECONNRESET <IP_ADDRESS>:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 9999
}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome.API] [Plug 6] device.send() Error: connect ECONNRESET <IP_ADDRESS>:9999
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 9999
}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 6] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 6] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 6] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 6] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}
[6/4/2022, 9:05:36 AM] [TplinkSmarthome] [Plug 6] {"errno":-104,"code":"ECONNRESET","syscall":"connect","address":"<IP_ADDRESS>","port":9999}

**Plugin Config:**

{
    "bridge": {
        "name": "Homebridge",
        "username": "########",
        "port": 53388,
        "pin": "########",
        "bind": [
            "eth0",
            "eth0.4",
            "docker0"
        ],
        "advertiser": "avahi"
    },
    "accessories": [
        {
            "name": "Setup",
            "stateful": true,
            "reverse": false,
            "time": 1000,
            "resettable": false,
            "accessory": "DummySwitch"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "TplinkSmarthome",
            "addCustomCharacteristics": true,
            "broadcast": "<IP_ADDRESS>",
            "deviceTypes": [
                "plug",
                "bulb"
            ],
            "platform": "TplinkSmarthome"
        }
    ]
}

Screenshots:

Environment:

Plugin Version: 2.3.6
Homebridge Version: 1.4.1
Node.js Version: 16.4.0
NPM Version:  not sure how to check what version
Operating System: Docker running on a Raspberry Pi

I’m unfortunately not sure what to tell you, if your phone and the Homebridge server are on the same network. The plug-in works by sending mDNS broadcasts, so it kind of either works or it doesn’t. If you do figure out how to fix it, please report back so I can update docs.

I am having this same problem. Got a new router (TP-Link AX5400) and now I can't find the smart bridge through the Hoobs bridge interface. Lutron works fine in my HomeKit.


feat: add drag-drop

How to use.

chart = new d3.OrgChart()
     .container(".chart-container")
     .enableDragDrop(() => true) // enable drag and drop on the chart
     .onDragFilter((node, dragEvent) => true) // whether or not to allow the drag to start
     .onDragStart((node, dragEvent) => /* do something to the drag node*/)
     .onDrag((node, dragEvent) => /* do something to the drag node*/)
     .onDrop((dragNode, targetNode, dragEvent) => /* do with the dragNode and targetNode*/)
     .onDragTarget((dragNode, targetNode, dragEvent) => {
        /* Do something with the dragging node and the target node on node-enter drop range */
     }),
     .outDragTarget((dragNode, targetNode, dragEvent) => {
        /* Do something with the dragging node and the target node on node-exit drop range */
     }),
     .nodeEnter(function() {
        d3.select(this).classed('draggable', true); // this must be set to allow the node to be draggable
        d3.select(this).classed('droppable', true); // this must be set to allow the node to be droppable
     })
     .draggingClass(() => 'dragging') // class name for the node being dragged
     .draggableClass(() => 'draggable') // class name for the node if it is draggable
     .droppableClass(() => 'droppable') // class name for the node if it is droppable
     .data(dataFlattened)

Potential improvements:

Don't depend on classes for draggable and droppable
Don't use callbacks fro draggingClass, draggableClass, droppableClass
Expose overrides to the drag and drop handlers

@bumbeishvili Feel free to make any changes necessary


A little confused why user-defined variables are designed into three syntaxes

hi, in this page , ##
When you define a variable, you can use different syntaxes (macro, template expression, or runtime) and what syntax you use will determine where in the pipeline your variable will render.##
i'm a little confused why user-defined variables are designed into three syntaxes，Is this designed to ensure a single responsibility?  for future evolution? i think it's simple and clear if i can always use macro syntax。thx!

@oakeswu Thanks for your question. You should reach out to the dev team about this.
To make sure it gets in front of the right people, please ask your question here.

OK thank you for your reply!

OK thank you for your reply!

@oakeswu Thanks for your question. You should reach out to the dev team about this. To make sure it gets in front of the right people, please ask your question here.

OK thank you for your reply!


Add knocker tests

Add tests for knocker support

Coverage increased (+0.01%) to 97.346% when pulling 4503a14b4f11aee920de78466a6d6ae18b8635b4 on feature/knocker_tests into bbaa8aca6ff9b36ccaf567a76ce59e64af5e5c7c on develop.


docker-machine build will only copy .zip files

Dockerfile:
FROM nginx:alpine
COPY logo.png /usr/share/nginx/html/

results in:
$ docker-compose build app
Building app
Step 1/3 : FROM nginx:alpine
 ---> 377c0837328f
Step 2/3 : COPY logo.png /usr/share/nginx/html/
ERROR: Service 'app' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder483187277/logo.png: no such file or directory

While Dockerfile:
FROM nginx:alpine
COPY app.zip /usr/share/nginx/html/

builds successfully.

This seems strange. My nginx Dockerfile copies all sorts of files include nginx.conf, entrypoint.sh, and other files. Are you sure you're not missing file logo.png at app/logo.png

I’m sure the image is present side-by-side with the zip file. Did you specify an “app” sub directory for a reason?
Can you try that exact Dockerfile I pasted with a PNG image? I’m curious if I’m imagining things :)
Lastly: are you using Docker Machine?

I'm using docker-machine with aws. With docker-compose, I put each service in its own subdir along with its docker file and associated files. And your example works for me.
docker-compose build app
Building app
Step 1/2 : FROM nginx:alpine
alpine: Pulling from library/nginx
cbdbe7a5bc2a: Pull complete
c554c602ff32: Pull complete
Digest: sha256:763e7f0188e378fef0c761854552c70bbd817555dc4de029681a2e972e25e30e
Status: Downloaded newer image for nginx:alpine
 ---> 89ec9da68213
Step 2/2 : COPY logo.png /usr/share/nginx/html/
 ---> 39d336b3e732

Successfully built 39d336b3e732
Successfully tagged demo_app:latest
cnguyen@stretch:~/work/docker/demo$ ls *
docker-compose.yml

app:
Dockerfile  logo.png
cnguyen@stretch:~/work/docker/demo$ cat docker-compose.yml
version: '3.3'

services:

  app:
    build:
      context: ./app
      dockerfile: Dockerfile
cnguyen@stretch:~/work/agilescan/agilescan/docker/docker/demo$ cat app/Dockerfile
FROM nginx:alpine

COPY logo.png /usr/share/nginx/html/

docker-machine ssh awsdemo "sudo docker image ls demo_app"
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
demo_app            latest              39d336b3e732        8 minutes ago       19.9MB


Update doc for cyber_python from python2 to python3

update examples' paths
Examples copied from apollo/cyber/python/cyber_py3/examples/
fix typos

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Use a system assigned port if 0 or ? is specified

Having to run get-port even if you specified a port might be a small drawback but shouldn't matter too much since you probably aren't starting and stopping the server too often.
Fixes #35.

Awesome! :)
Only support ?. I don't like having two ways to do the same thing.

Done!

Thank you @kevva :)

purr

LIEK! ^_^


Composer: Add only option to wpackagist.org repository

See:

https://github.com/outlandishideas/wpackagist/pull/311
https://github.com/composer/composer/pull/8755/
https://php.watch/articles/composer-2

This option is backwards compatible I guess? Composer just ignores it for non-2.0 versions?

This option is backwards compatible I guess?

Correct. Composer v1 ignores the only option.

Not to confuses with canonical repositories:

If a packages exists in a higher priority repository, it will now be entirely ignored in lower priority repositories. See repository priorities for details.
-- https://github.com/composer/composer/blob/master/UPGRADE-2.0.md


Fix golint import path

I am a bot. Please reach out to @azillion if you have any issues, or just close the PR.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


chore: split MvPolynomial.Variables

Splits this file into two. The sections about degree related concepts are totally independent of the vars related concepts so this was a clean split.

[x] depends on: #11073

Reminder: when this gets merged I need to go back to the dependent PR and finalize the things I put off in that.

LGTM
bors d+
Note that there is a merge conflict

bors r+


Clue scroll notifier

Unsure if it's allowed since the readme prefers us not to download resources on the user's machines but tried to implement this as per this issue: https://github.com/SoaresPT/clue-scroll-notifier/issues/1
Changes:

Plugin now downloads 5 "default" .wav files. They won't be replaced if the user keeps the same name allowing them to have their own unique sounds
Added the ability to switch which sound get played.
Added ability to toggle notifications for Scroll Boxes for leagues.

Provided it is only 5 sound files, it would be nicer if you can include them in the plugin resources and just unpack them into the dir on startup instead of fetching remotely.

No longer grabs the sound files from remote and instead has them packed on the resources dir as per readme instructions


After the new 'Stop Generating' feature, all the buttons to download disappear.

Hello, I was a contributor once to this project and I see that liady stopped maintaining it. Because of that I have created my own version of the ChatGPT-pdf, called ChatgptToPdf, If you see that you have problems with this extension I invite you to try mine and see if your issues get fix, let's work together to improve it. Thank you!


jsii-pacmak: very eager to detect Maven repositories

Don't know exactly what's going on, but jsii-pacmak is doing a lot of duplicate work. When run with -v:
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-events/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-iam/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/region-info/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-iam/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/region-info/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-logs/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-cloudwatch/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-iam/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/region-info/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-iam/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/region-info/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-s3/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-events/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-iam/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/region-info/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-iam/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/region-info/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-kms/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-iam/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/region-info/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/cx-api/dist/java as a local dependency output
@aws-cdk/aws-codepipeline-actions: [jsii-pacmak] [VERBOSE] Found /codebuild/output/src173406332/src/packages/@aws-cdk/aws-s3-notifications/dist/java as a local dependency output

Fairly sure this is the reason why the build hangs.
The build ends with:
@aws-cdk/app-delivery:   '/codebuild/output/src173406332/src/packages/@aws-cdk/aws-kms/dist/java',
@aws-cdk/app-delivery:   '/codebuild/output/src173406332/src/packages/@aws-cdk/aws-iam/dist/java',
@aws-cdk/app-delivery:   '/codebuild/output/src173406332/src/packages/@aws-cdk/cdk/dist/java',
@aws-cdk/app-delivery:   ... 6281 more items ]
@aws-cdk/app-delivery: [jsii-pacmak] [VERBOSE] Generated /tmp/jsii-pacmak-code6J4idX/user.xml
@aws-cdk/app-delivery: [INFO] Scanning for projects...

Maven is now scanning 6000+ directories for the same project every time.


Questions about EfficientNet

Dear Neural Magic Team, may I ask what is the "Arch, Moderate" tag for EfficientNet on the SparseZoo? Does it correspond to any type of pruning? Actually, I tried to prune an EfficientNet on my own, but weirdly couldn't get any good result. So, I wondered if it has been done by the team and started looking in the SparseZoo. If you could give me some hints as to why some models, e.g. EfficientNet, do not respond well to pruning, it would be much appreciated. Thank you.

Hi @jz-exwzd, great question, and thanks for the interest! Unfortunately, EfficientNet models are generally very memory bound and are fairly sensitive to pruning. It's something that we've wanted to look into more in the future, but haven't had a chance to yet. The "Arch, Moderate" tag for EfficientNet stands for a modification to the architecture to enable a better architecture for the DeepSparse engines Tensor Column technology. Specifically, it moves the squeeze excite to the end of the inverted bottleneck blocks rather than having them occur after the depthwise.
In general, models like EfficientNet and those that use the inverted bottleneck with DepthWise convolutions have already been structurally pruned to a very high level because of the DepthWise convolution. Therefore there is less redundancy in the network as compared to a model with larger convolutions such as ResNet's, Inception's, and others. Additionally, EfficientNet's training scheme is not very efficient -- it takes a long time for it to converge to a proper solution, especially on ImageNet. Adding in pruning can destabilize this delicate training process as well.
Hope this helps and let us know if you have any other questions!

Hi @markurtz, thanks for your detailed explanations with the technical details as well.
So the issue is somehow tied to the low redundancy of the EfficientNet, which is the topic of one of the issues that I have raised before regarding the effect of pruning on model's with low redundancy https://github.com/neuralmagic/deepsparse/issues/321.
It is then not so wise to blindly apply pruning recipes to all kinds of models in hope of getting some form of speed up in all situations. Specifically, pruning could be skipped in small models and some special models like EfficientNet. Was hoping to come up with a mechanism that could work in all situations.
Thank you once again for the explanations that could not be easily discovered by myself.


Fix capitalization of valid value Unknown

Enables fix of #127

Not ready for review - conversion failed

@elv-sb I am going to merge this without review as I need to test in staging and it currently blocks the last outstanding issue for release 3 linked above.


Document naming translation conventions

As mentioned in #458, many items go through a naming translation step to better conform to Rust naming practices. We should document what these translation conventions are so that users can easily learn to anticipate how items will be renamed.

Going to close this in favor of #425

Going to close this in favor of #425


Add missing quotechar

Thanks!

Codecov Report

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

@@          Coverage Diff           @@
##           master     #75   +/-   ##
======================================
  Coverage    99.4%   99.4%
======================================
  Files          13      13
  Lines         500     500
  Branches      147     147
======================================
  Hits          497     497
  Misses          3       3

Continue to review full report at Codecov.

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


Return un-archived user only

Close  #1141
Added an if condition to return users who have archived roles false.

Where is the test for this feature?

added


Method Zizaco\Entrust\MigrationCommand::handle() does not exist

how can I fix this problem

U see folder,This method already exits in MigrationCommand ,why handle() does not exist?
@Endlife93
这个文件不是存在于那儿好好的吗？没有这个异常啊?你执行什么的时候发现的？

"zizaco/entrust": "^1.9"

@Clago  Thank you. :)
I always use "zizaco/entrust": "5.2.x-dev" in my project.
I will try the version "zizaco/entrust": "^1.9" last time !

Error Method Zizaco\Entrust\MigrationCommand::handle() does not exist

Go to the file (vendor-> zizaco-> entrust-> src-> commands-> MigrationCommand.php) and change the "fire" method to "handle" and after the command "php artisan entrust: migration" will be generated Migration and just run the "php artisan migrate" command that the tables will be generated in your database.

@toanlv92 you should never make changes to vendor files to make things work.

"zizaco/entrust": "^1.9"

This works

It doesn't work in Laravel 5.7.* and 5.2.x-dev
So I have added this function
public function handle() {
    $this->fire();
}

to (vendor-> zizaco-> entrust-> src-> commands-> MigrationCommand.php)


Generating 4 and 5 source mixtures

Hi,
I'm trying to generate 4 and 5 source mixtures for training Facebook research's svoice but looking at the script I don't see the location where the n_src variable is set. I tried changing for n_src in 2 3; do to for n_src in 2 3 4 5; do which generates the 2 and 3 mixtures just fine but get an error that the metadata files hadn't been generated for libri4mix. Any suggestions on how I'd go about getting the script to do 4 and 5 source mixtures?
Thank you.

I think it's there: https://github.com/JorisCos/LibriMix/blob/master/scripts/create_librimix_metadata.py#L38
So:
-Generate the metadata with 4 and 5 sources

Run the generation from the metadata files.

Is that working?

So if I try to run create_librispeech_metadata.py directly I'm getting the following errors:
(librimix) user@system:/media/user/svoice/LibriMix$ python scripts/create_librimix_from_metadata.py --librispeech_dir librimix/     --wham_dir librimix/wham_noise/     --metadata_dir metadata/LibriSpeech/     --librimix_outdir librimix-2nd-try/     --n_src 4     --freqs 16k     --modes min max     --types mix_clean mix_both mix_single
Creating mixtures and sources from metadata/LibriSpeech/dev-clean.csv in librimix-2nd-try/Libri4Mix/wav16k/min/dev
  0%|                                                                                | 0/2303 [00:00<?, ?it/s]
concurrent.futures.process._RemoteTraceback:
"""
Traceback (most recent call last):
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 3080, in get_loc
    return self._engine.get_loc(casted_key)
  File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 4554, in pandas._libs.hashtable.PyObjectHashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'mixture_ID'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/concurrent/futures/process.py", line 243, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/concurrent/futures/process.py", line 202, in _process_chunk
    return [fn(*args) for args in chunk]
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/concurrent/futures/process.py", line 202, in <listcomp>
    return [fn(*args) for args in chunk]
  File "/media/user/svoice/LibriMix/scripts/create_librimix_from_metadata.py", line 158, in process_utterance
    mix_id, gain_list, sources = read_sources(row, n_src, librispeech_dir,
  File "/media/user/svoice/LibriMix/scripts/create_librimix_from_metadata.py", line 233, in read_sources
    mixture_id = row['mixture_ID']
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/site-packages/pandas/core/series.py", line 853, in __getitem__
    return self._get_value(key)
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/site-packages/pandas/core/series.py", line 961, in _get_value
    loc = self.index.get_loc(label)
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 3082, in get_loc
    raise KeyError(key) from err
KeyError: 'mixture_ID'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/media/user/svoice/LibriMix/scripts/create_librimix_from_metadata.py", line 415, in <module>
    main(args)
  File "/media/user/svoice/LibriMix/scripts/create_librimix_from_metadata.py", line 58, in main
    create_librimix(librispeech_dir, wham_dir, librimix_outdir, metadata_dir,
  File "/media/user/svoice/LibriMix/scripts/create_librimix_from_metadata.py", line 71, in create_librimix
    process_metadata_file(csv_path, freqs, n_src, librispeech_dir,
  File "/media/user/svoice/LibriMix/scripts/create_librimix_from_metadata.py", line 114, in process_metadata_file
    process_utterances(md_file, librispeech_dir, wham_dir, freq, mode,
  File "/media/user/svoice/LibriMix/scripts/create_librimix_from_metadata.py", line 133, in process_utterances
    for results in tqdm.contrib.concurrent.process_map(
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/site-packages/tqdm/contrib/concurrent.py", line 130, in process_map
    return _executor_map(ProcessPoolExecutor, fn, *iterables, **tqdm_kwargs)
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/site-packages/tqdm/contrib/concurrent.py", line 76, in _executor_map
    return list(tqdm_class(ex.map(fn, *iterables, **map_args), **kwargs))
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/site-packages/tqdm/std.py", line 1178, in __iter__
    for obj in iterable:
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/concurrent/futures/process.py", line 559, in _chain_from_iterable_of_lists
    for element in iterable:
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/concurrent/futures/_base.py", line 600, in result_iterator
    yield fs.pop().result()
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/concurrent/futures/_base.py", line 433, in result
    return self.__get_result()
  File "/home/user/anaconda3/envs/librimix/lib/python3.9/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
KeyError: 'mixture_ID'

Did you generate the metadata from Librispeech itself?

Opps, I was running the wrong script and had an incorrect directory to boot. The metadata creation script is running right now for 4 mixtures. fingers crossed, it'll finish. I'll update. Thanks for your fast response.

I was able to get it to work properly by using the metadata creation script. It would be a nice feature if it were possible to specify the number of sources as an argument to the main generate_librimix.sh script.
Thanks for your help


when highlighting multiple entities in the hierarchy, moving one w the arrow (translation) should move them all

when highlighting multiple entities in the hierarchy, moving one w the arrow (translation) should move them all

Hold Shift to activate cooperative move

Added to documentation: f4987a9

this does not solve it for me. it must be a bug .  i do see multiple gizmos but cant move them together even with SHIFT

What is your OS?

I found same bug on windows. Looks like dropped functionality

The issue seems to be caused by the conditional at line: 113 of crates/editor_ui/src/tools/gizmo.rs
the conditional never seems to be true, and seems to affect other customizable hotkeys. removing the first part of the conditional ui.ui_contains_pointer() fixes the issue, but i am too much of a novice to know if leaving that removed would cause undesirable behavior. i would fork it and submit a PR, but i honestly am almost completely new to collab and don't know how.

@Severencir If you are confident that this fixes the issue, feel free to submit a PR and we can test it on our end, but your observation seems correct from what I have tested (works on Windows and Mac)

i think i did that right. from the testing i did, the removal seems to have no negative effect on usage since keypresses aren't handled if the scene view doesn't have focus anyway

Thanks @Severencir. Now holding shift works @ethereumdegen just checked in windows and Mac

Oh, I've fixed a fixed issue in my PR xDD


Multiple line endings in the generated .gitignore

For the command create gitignore, the resulted .gitignore file have mixed line endings (both CRLF and LF are in the file).

An entry from macOS needs two \r.
https://github.com/github/gitignore/blob/53cf297127b8c4613f5f3331b55cd7f465581e53/Global/macOS.gitignore#L6


Available aircraft not showing in custom marker airport

First of all, many thanks for this most excellent planner. I find it indispensable.
It seems that when searching for available aircraft, a candidate aircraft at an airport which is a custom marker is not picked up: the airport marker remains just the custom marker colour, and the aircraft is not included in the airport click popup.
I am seeing this at present for the Ju-52 at EGPU.
debug.zip

Thanks for the report. The fact that the custom marker does not change color is intended, but I could at least display the airplanes in the popup if there are any.

Implemented: markers now change color on all layers, and the list of planes is correctly shown in the popup


Clarify option description

Hi,
I'd greately appreciate if you could clarify the description of these fields in the UI a bit more.
minimum time for new ON status [minutes]
minimum time for new OFF status [minutes]
Does minimum time for new ON status [minutes] mean
a) Stays ON for at least x minutes after has been switched ON
or
b) Must be OFF at least x minutes before a new ON status can be set
This is not really clear to me from the UX (had to look into the code). Maybe you could improve on that?
Thanks!

this was implemented wit 0.0.2 based on #12
It schould work like in SAE


‘Stops Moving’ does not trigger

App v2.0.0
‘Starts Moving’ works fine, but I never get the ‘Stops Moving’ trigger to fire.

I'll investigate. Have you changed the default settings for intervals and timing on the device settings?

No, I have not changed the defaults.
Track Loc : Yes
Save last.. : No
Loc Track Interval during driving: 60
When parked: 120
Poll batt: Yes
Batt poll int. : 20
min mov triggers: 10
min dist trav.. : 1

My stoped card works ok, but running on dev 2.1.0 version. Have you created this flow after installing v 2.0.0?

Yes. All cards from 1.0.5 got errors when i upgraded, så all flows recreated.
And its a simple test flow: When stopped send notification with start/stop and distance

Works perfectly again..
Thank you..


feat: docs and newchat shortcut on titlebar

closes #242
add docs button - note - we dont have docs page right now.
add new chat button.

add pear links to product.json
added trypear.ai to trusted domains, so when new users log in or open docs, they won't see this msg:

mmmm

Nicee


us-west-2 is missing amazon-eks-node-1.16-v20201117 AMI

What happened: Although just released (< ~20 min ago), I am unable to see the AMI (amazon-eks-node-1.16-v20201117) in region us-west-2 (Oregon).  It appears to be in other regions I spot checked.
Environment:

AWS Region: us-west-2

cc: @abeer91

Hi, Can you check again? This is what I'm seeing on my side
(cli-ve) ➜  bin git:(mainline) aws ssm get-parameter --name /aws/service/eks/optimized-ami/1.16/amazon-linux-2/recommended/image_id --region us-west-2                      [20/11/18| 8:49AM]
{
    "Parameter": {
        "Name": "/aws/service/eks/optimized-ami/1.16/amazon-linux-2/recommended/image_id",
        "Type": "String",
        "Value": "ami-009250020daac8145",
        "Version": 19,
        "LastModifiedDate":<PHONE_NUMBER>.342,
        "ARN": "arn:aws:ssm:us-west-2::parameter/aws/service/eks/optimized-ami/1.16/amazon-linux-2/recommended/image_id",
        "DataType": "text"
    }
}
(cli-ve) ➜  bin git:(mainline) aws ec2 describe-images --image-id ami-009250020daac8145                                                                                [20/11/18| 8:49AM]
{
    "Images": [
        {
            "Architecture": "x86_64",
            "CreationDate": "2020-11-18T00:52:02.000Z",
            "ImageId": "ami-009250020daac8145",
            "ImageLocation": "amazon/amazon-eks-node-1.16-v20201117",
            "ImageType": "machine",
            "Public": true,
            "OwnerId": "602401143452",
            "PlatformDetails": "Linux/UNIX",
            "UsageOperation": "RunInstances",
            "State": "available",
            "BlockDeviceMappings": [
                {
                    "DeviceName": "/dev/xvda",
                    "Ebs": {
                        "DeleteOnTermination": true,
                        "SnapshotId": "snap-08df40f110d048714",
                        "VolumeSize": 20,
                        "VolumeType": "gp2",
                        "Encrypted": false
                    }
                }
            ],
            "Description": "EKS Kubernetes Worker AMI with AmazonLinux2 image, (k8s: 1.16.15, docker:19.03.6ce-4.amzn2)",
            "EnaSupport": true,
            "Hypervisor": "xen",
            "ImageOwnerAlias": "amazon",
            "Name": "amazon-eks-node-1.16-v20201117",
            "RootDeviceName": "/dev/xvda",
            "RootDeviceType": "ebs",
            "SriovNetSupport": "simple",
            "VirtualizationType": "hvm"
        }
    ]
}

So odd, I am getting the same results using the CLI - but the AWS console is not listing it.  Might be a delay there?

I have the same problem in ap-southeast-2. I did not think of checking with CLI but my console only list v20201112 as latest image. Same for 1.18 image which is what I use.

Can you please post a screenshot of console where you are seeing v20201112 ? My checked again and Console is recommending an Update for all nodegroups created on v20201112 and new nodegroup was created on v20201117

Sure...
here is us-east-1:

same in us-west-2 returns nothing:

Sure...
here is us-east-1:

same in us-west-2 returns nothing:

interesting. This is an issue with Ec2 console and we are digging into it further. However, if you create or upgrade a managed nodegroup in any region, you will get the latest AMI v20201117.
If you are using self manage nodegroups, then please use the SSM parameter to get the AMI id.

This has been an issue in the Ec2 console and they are deploying a fix. Resolving.


Updated SLZ test to leverage on SLZ OCP quickstart instead of rc version

Description
Updated SLZ test to leverage on SLZ OCP quickstart instead of rc version
https://github.com/terraform-ibm-modules/terraform-ibm-websphere-liberty-operator/issues/38
Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[X] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

@vbontempi can you resolve conflicts again and ping me when its ready for merge

fixed, running tests again

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

GitHub release
v1.4.2

Your semantic-release bot :package::rocket:


Regenerate z/VM certificates with the rest

The z/VM certificates are expiring in the field.  The automation I was supposed to set up to get them auto-renewed in the backend didn't eventuate and we're impacted at a couple of locations (including Crowdstrike right now).
The existing method of using the root CA to secure the certs because it's "too hard" to replace them in the field is not going to fly going forward.  Not only is it allowing certs to expire, but the details in the certs does not reflect the actual host details (meaning that x3270 must always be run with Y: as a prefix on the hostname for connection, to permit acceptance of "invalid" certificate, for example).
Include the z/VM certificates into the list of certs generated in the firstboot... this will not only refresh the certs, but give us a chance to put meaningful IPs and hostnames into them.

This will also provide a foundation to regularly regenerating all the certificates at regular intervals (monthly?).


Getting Cannot read properties of undefined (reading 'addListener') on ngrok.io subdomain (non-Shopify project)

I've got a non-Shopify project that I'm running through Ngrok.
I get this error in dev tools console:
Uncaught TypeError: Cannot read properties of undefined (reading 'addListener')
    at contentScript.bundle.js:1:462
    at contentScript.bundle.js:1:635

Thanks for the report @vfonic
This was actually caused by a code change I introduced in the latest release.
This code is totally separate from the functionality so that shouldn't be affected at all.


Add OpenFF Toolkit to test section

It would be nice - but not required - to use the test: block to ensure no installation conflict with the OpenFF Toolkit. We encountered weird behavior when doing this in the 1.8.0 PR (pypy was being brought in for some reason?). Might be worth waiting until OpenMM 7.5.1 (unknown date) to work on this. See https://github.com/conda-forge/forcebalance-feedstock/pull/11#issuecomment-797333533 for more context

I tried to sneak this into the v1.9.3 release, but the OpenFF stack (or really its dependencies) are not yet migrated to Python 3.10 and Pypy version something or other. ForceBalance is migrated on these, and I'd rather leave it to CI to test compatibility between these things than undo those migrations.
This should be re-addressed at some point in the future when these builds match up.


Markup bug in the emails

Details
Click to recover password
Expected Result
No bugs
Actual Result
Has a bug:

Just so you're aware, I've put a block over your key to protect your account. I've also added some relevant labels. Thanks for the report!

This should be fixed. 🎆


Allow users to create proofs by passing in CLI arguments

Problem
Currently the input from a program comes from a TOML file. The ABI allows us to use many different formats and one of those could be CLI/JSON
Solution
Add CLI as an option.
For the program:
fn main(x : Field, y : Field) {}

We can do something like nargo prove --args a=5 b=10
Alternatives considered

Additional context

I can't remember if we've discussed this before, but one alternative for this would be to allow stringified json input from the CLI. We could then support arrays/structs more easily and it would be easier for a different program to pipe in inputs (standardised serialisation).


Fix/usdc balance above validation

the logic was there but it was put into a one-liner with a short-circuit before it. breaking it out resolved the issue.
also adjusted the balance copy for clarity.

@Syncretik when clicking on the "Coinbase" buy option in the buy modal I get these errors

@gglucass oh is this on safari? I've noticed that happening at times in the past

@gglucass oh is this on safari? I've noticed that happening at times in the past

No this is Chrome

it's only happening in deploys and not locally because the USDC balance is not being fetched properly for some reason.
adding an existence check so it doesn't break and debugging a bit further.
I also caught a bug where clicking the step will still turn the card green, adding additional check there as well


Check for changes in dry-run mode before running rsync

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

51 of 59 (86.44%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 84.879%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

synchro/sync.py
41
45
91.11%

synchro/utils/proc_rsync_out.py
10
14
71.43%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
421

Relevant Lines:
496

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

51 of 59 (86.44%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 84.879%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

synchro/sync.py
41
45
91.11%

synchro/utils/proc_rsync_out.py
10
14
71.43%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
421

Relevant Lines:
496

💛  - Coveralls


react-html5-qrcode-reader not working in react 18

hi, great componente but, not working in react 18

@juanele121976 it looks like it is working with react 18, see this stackblitz for reference: https://react-ts-wzhrqh.stackblitz.io

Hello, sorry for the inconvenience, I did the test but I could not install the component in react.js I get an error
thank you very much in advance
$ npm i react-html5-qrcode-reader
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-html5-qrcode-reader
npm ERR!   react-html5-qrcode-reader@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\GBA-PC\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR!      C:\Users\GBA-PC\AppData\Local\npm-cache_logs\2022-11-22T19_54_21_304Z-debug.log

@juanele121976 should be closed with https://github.com/briosheje/react-html5-qrcode-reader/commit/bfe6bf8223410705df1193f2597f597396001107
Please update to version 1.1.1, the error should disappear.

thank you very much for your time and solution


rabbitMQ - use retry logic from _helpers.sh

https://github.com/Shippable/pm/issues/8976
uses default timeout of 60 seconds

this is done, closing


[FEATURE]: option to exclude tags

Please describe your feature
Let's have an option in buildtest build to exclude by tags. We can already search by tags buildtest bd -t tag1,tag2 which will discover buildspecs. We also have option to filter by tags buildtest bd --filter tags=tag1 but there is no way to exclude tags.
For instance if one wants to build all tests in a directory and exclude all test by given tag name this is not possible at the moment.
Suggest potential solution
Introduce a new option buildtest bd -xt with long option --exclude-tags that work similar to -t so you can exclude tags
Here are two ways this can be used. We can do comma separated list and also append this multiple times
# comma separated
buildtest  bd -b /path/to/dir -xt cuda,mpi

buildtest bd -b example.yml -xt cuda -xt mpi

The exclusion will exclude any test that are found in list of tags if tags is empty or there is no match then test will be processed.
Additional Information
No response
Post question in Slack

[X] I agree that I posted my question in slack before creating this issue

Is there an existing issue

[X] I confirm there is no existing issue for this issue

@prathmesh4321 @Xiangs18 let me know what you think about this feature.

@prathmesh4321 @Xiangs18 let me know what you think about this feature.

@shahzebsiddiqui Yeah, exclude by tags will be a very useful feature. I think we should implement this.

Ok cool, any suggestions on the option name, short and long option.


Major Enhancements

Enhancements to Segue implementation
Removal of undocumented API for Segues
Added constraints for currently present view controller's view in contentView
Code enhancements

Sorry for the review delay.
Thank you so much for these enhancements!


WIP - Run all tests via GitHub actions

Building on top of #524, run the e2e suite via Github Actions as well.

Has been implemented in other PR.


https://codellama.h2o.ai/?

use what codellama model?
can support some prompt template?

It shows on the page: h2oai/h2ogpt-16k-codellama-34b-instruct
It supports expert settings like normal public portal gpt.h2o.ai.


Retrieve a List of Objects From Realm - returns a nil even though the list is not empty

<!---
Questions: If you have questions about how to use Realm, ask on
StackOverflow.
We monitor the realm tag.
Feature Request: Just fill in the first two sections below.
Bugs: To help you as fast as possible with an issue please describe your issue
and the steps you have taken to reproduce it in as many details as possible.
-->
Goals
 Retrieve a List of Objects from Realm
Expected Results
 The List will be displayed
Actual Results
 The List of Objects is nil even though the list is not empty
Steps to Reproduce

Code Sample

print("Data: \(data)")
Output:
availability = Immediately; 		user_id = 599ce9fb0083f2ac403cf8eb; 		industries = RLMArray <0x6000002e1a00> ( 			[0] MultiIndustryPositionObject { 				industry = IndustryObject { 					updated_at = 2017-09-12 07:38:00 +0000; 					created_at = 2017-09-12 07:38:00 +0000; 					deleted_at = 2017-09-12 07:38:00 +0000; 					deleted = 2017-09-12 07:38:00 +0000; 					id = 1; 					name = Accounting; 				}; 				positions = RLMArray <0x6000002ecc00> ( 					[0] <Maximum depth exceeded>, 					[1] <Maximum depth exceeded> 				); 			} 		);
but when I want to retrieve "industries" by doing:
print("Industries: \(data?.industries)") ---> this will return NIL
but when I try to access the "availability" property:
print("Availability: \(data?.availability)") ---> this will output: Optional("Immediately")
Version of Realm and Tooling

Realm framework version: 2.10.0
Realm Object Server version: ?
Xcode version: 8.2
iOS/OSX version: macOS Sierra Version 10.12.2
Dependency manager + version: ?

Thanks for getting in touch with us. Can you post the definitions of your model objects and the code you're using to build and print out data? Even better would be a reproduction case that we can run.

Closing due to no response


Give extra kudos as a reward for not being a hamster each week

Motivation
Some people keep being hamsters. It would be nice to promote people who are not a hamster, by giving them extra 5 kudos each week (to their pool, as a reward). It should motivate hamsters to distribute their kudos, otherwise, they will get a lower share.
It could be for example 5 extra kudos a week from the system to each person who has 0 balance at the end of the week (balance of kudos to distribute).

@PoslinskiNet I would debate on the amount of bonus kudos, 5 seems to much (it would inflate the system too much).

@dominikduda yea, I have no problem with lowering the amount 👍.


Update translations de.json

Thanks for the PR @ReuschelCGN, would you be willing to also add the missing keys from #670, that will be merged later today, as well?

all done and after consultation with Fabio ready to merge


Keeping location info

Hello,
Is there any plan to keep some location information ? For example, we could have a Loc module, with an interface quite similar to the interface of the Safe module, but with constructors of the json type having a location information. This could be used to provide more useful error messages in applications.
Do you think it can easily be added to Yojson ? And would you be interested in a patch ?

Yojson originally was designed to serve as the runtime library for atdgen. The lexer uses ocamllex with a module-shadowing trick to avoid allocating a new position record for each token, saving something like 30% time.
Now I see that a bunch of people use yojson without atdgen. I don't understand fully why, but certainly don't mind.
There's no need to keep locations around with atdgen. Since the OCaml data structures are constructed at the same time as parsing, and once we have the OCaml data, there's no more error to expect. In that respect the yojson tree is different so I see why having locations would be useful.
With a bit more preprocessor hackery, we could create a new module in addition to Safe, Basic, and Raw. I must say I don't like that there are multiple modules to pick from. We could probably generate equivalents of these with locations, but now we get not 3 but 6 modules to pick from. I can't really tell whether it's just fine or if it will create a lot of confusion among users. And we don't want to break existing applications. Do you have an opinion?

6 modules is a lot in my opinion. Personnally, I always use Safe. But looking at the code, keeping locations will result in large code duplication in the lexer, since the type of the tree would not be compatible with the existing one. I think I'll write my own small lib, then :)

Go for it. It's difficult to have one library that's optimized for all purposes and the json format is so simple that it makes sense.


请将最新的代码发布至pypi

通过 pip install django-oss-storage 安装组建，目前pypi上的版本为1.1.0。
安装成功后，还是会出现
https://github.com/aliyun/django-oss-storage/issues/9
这个问题。

The project is not very actively maintained. I believe my bugfix branch covers most fixes at this moment (https://github.com/aliyun/django-oss-storage/issues/17, https://github.com/aliyun/django-oss-storage/issues/15, https://github.com/aliyun/django-oss-storage/issues/9). And based on jxltom's fixes.
I'm currently using it in production.
pip install git+git://github.com/favoyang/django-oss-storage@bugfix#egg=django-oss-storage

fixed in version 1.1.1


Add transform TSIOBuffer watermark APIs.

This feature PR allows a LUA transform handler to set the upstream buffer watermark in units of bytes via the TSIOBufferWaterMarkGet/Set() APIs.
Setting the watermark to values of 256kb, 512kb, or even 1MB seems to dramatically improve the performance of a LUA transform handler when processing high-throughput response body.

[approvie ci]

[approve ci]

sorry. I miss this till now. will review over the weekend.

Description and the code makes sense. Will be trying this out over the weekend before merging.

Thanks for taking a look.  Let me know if you need anything else to accurately test this patch.  The code submitted was used to improve the performance bandwidth speed testing tool.

I think it is ok not to have a max limit at this point.
Can you give a simple example script in the doc section to show how to use this this function?

I think everything else looks good.

Cherry picked to 8.1.0

We probably need this cherry picked in to 8.0.x as well, as of now it only exists on 8.1


Squashing migrations does not work for migrations outside database/migrations folder.

Squashing Migrations https://laravel.com/docs/8.x/migrations#squashing-migrations,
is not working for migrations registered outside database/migrations

Laravel Version: 8.29.0
PHP Version: 7.4.13
Database Driver & Version: PostgreSQL 10.12

Description:
Squashing Migrations https://laravel.com/docs/8.x/migrations#squashing-migrations,
is not working for migrations registered outside database/migrations
Steps To Reproduce:

Create a migration file outside database/migrations folder
Register migration in your service provider using $this->loadMigrationsFrom(__DIR__ . $pathOutsideDatabaseMigrations);
Run squash migrations command php artisan schema:dump

The expected output is that all loaded migrations are included in schema dump and that its possible to also prune migrations outside database/migrations

Yeah - have to use the conventional folder.


enhance design on paywall block

On paywalled posts, which is most of them, we'd like to have an effect where the text fades out as the block comes up. (One visitor wrote us and didn't understand the block as is.)
So, realize this would be development time. It's not urgent but we'll pay for the time.

When we get around to this in weeks ahead, we'll change the second line to, "To read the rest of this post, please subscribe."

We haven't succeeded in setting aside a few hours to do this, with all the BH work last couple months. Maybe there's time this week, since it would be good on FH too, I mentioned in an issue in that repo.


Failed on release build

I tried to create a new project with the template and do a release build, but got the following errors:
$ ./gradlew bundleRelease

> Task :app:compileReleaseJavaWithJavac FAILED
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:10: error: package com.facebook.flipper.android does not exist
import com.facebook.flipper.android.AndroidFlipperClient;
                                   ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:11: error: package com.facebook.flipper.android.utils does not exist
import com.facebook.flipper.android.utils.FlipperUtils;
                                         ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:12: error: package com.facebook.flipper.core does not exist
import com.facebook.flipper.core.FlipperClient;
                                ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:13: error: package com.facebook.flipper.plugins.crashreporter does not exist
import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;
                                                 ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:14: error: package com.facebook.flipper.plugins.databases does not exist
import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin;
                                             ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:15: error: package com.facebook.flipper.plugins.fresco does not exist
import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin;
                                          ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:16: error: package com.facebook.flipper.plugins.inspector does not exist
import com.facebook.flipper.plugins.inspector.DescriptorMapping;
                                             ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:17: error: package com.facebook.flipper.plugins.inspector does not exist
import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin;
                                             ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:18: error: package com.facebook.flipper.plugins.network does not exist
import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor;
                                           ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:19: error: package com.facebook.flipper.plugins.network does not exist
import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
                                           ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:20: error: package com.facebook.flipper.plugins.react does not exist
import com.facebook.flipper.plugins.react.ReactFlipperPlugin;
                                         ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:21: error: package com.facebook.flipper.plugins.sharedpreferences does not exist
import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
                                                     ^
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:29: error: cannot find symbol
    if (FlipperUtils.shouldEnableFlipper(context)) {
        ^
  symbol:   variable FlipperUtils
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:30: error: cannot find symbol
      final FlipperClient client = AndroidFlipperClient.getInstance(context);
            ^
  symbol:   class FlipperClient
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:30: error: cannot find symbol
      final FlipperClient client = AndroidFlipperClient.getInstance(context);
                                   ^
  symbol:   variable AndroidFlipperClient
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:32: error: cannot find symbol
      client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
                           ^
  symbol:   class InspectorFlipperPlugin
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:32: error: cannot find symbol
      client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
                                                           ^
  symbol:   variable DescriptorMapping
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:33: error: cannot find symbol
      client.addPlugin(new ReactFlipperPlugin());
                           ^
  symbol:   class ReactFlipperPlugin
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:34: error: cannot find symbol
      client.addPlugin(new DatabasesFlipperPlugin(context));
                           ^
  symbol:   class DatabasesFlipperPlugin
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:35: error: cannot find symbol
      client.addPlugin(new SharedPreferencesFlipperPlugin(context));
                           ^
  symbol:   class SharedPreferencesFlipperPlugin
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:36: error: cannot find symbol
      client.addPlugin(CrashReporterPlugin.getInstance());
                       ^
  symbol:   variable CrashReporterPlugin
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:38: error: cannot find symbol
      NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
      ^
  symbol:   class NetworkFlipperPlugin
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:38: error: cannot find symbol
      NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
                                                      ^
  symbol:   class NetworkFlipperPlugin
  location: class ReactNativeFlipper
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:43: error: cannot find symbol
              builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin));
                                                ^
  symbol: class FlipperOkhttpInterceptor
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:62: error: cannot find symbol
                        client.addPlugin(new FrescoFlipperPlugin());
                                             ^
  symbol: class FrescoFlipperPlugin
/Users/me/src/code/r/reasonml/MyApp/android/app/src/main/java/com/myapp/ReactNativeFlipper.java:68: error: cannot find symbol
        client.addPlugin(new FrescoFlipperPlugin());
                             ^
  symbol:   class FrescoFlipperPlugin
  location: class ReactNativeFlipper
26 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 17s
19 actionable tasks: 10 executed, 9 up-to-date

It seems Gradle is complaining about dependencies on Flipper.  Changing all three dependency declarations on Flipper in android/app/build.gradle from debugImplementation to implementation fixed it.  Note that I am a total newbie in React Native AND Android development here :)

This template should be exactly the same as the original React Native one (note the version number via the branch naming).
I see that they reference debugImplementation, see https://github.com/facebook/react-native/blob/b9944e54ae35c2beed0e78ea454d871e0fe92ec6/template/android/app/build.gradle#L197-L207
Not sure what wrong in your case. How do you build the app? Did you look for help on React Native itself?

Closing due to non response.


Add BoolParam class

Coverage remained the same at 100.0% when pulling e7ee7eca2532246501ac863a3259459582b41d84 on tomislater:boolparam_class into 878126a06d8887fc5abab97c9a4b17f272502aed on swistakm:dev/0.2.x.

thanks for PR!

I have made small modification after the merge to include also explicit list of True values to avoid user's confusion in case of typos. See: 613a16627

+1


CPU를 사용하는 AnyNet 모델 필요

raise AssertionError("Torch not compiled with CUDA enabled")
Ha...CUDA..
Originally posted by @Miragecore in https://github.com/Miragecore/cando/issues/11#issuecomment-1091952884

Miragecore/AnyNet@5f3e6eff5911cdee63f20a42169b736820eb5189


✅ Fix test_hashable_required test in test_dataclasses

Change Summary
Dealing with an XFAIL test. Looks like adding arbitrary_types_allowed=True to the model config actually fixes the test.
Some additional tweaks in the test itself were needed as well.
Also, I suggest adding extract_error_details helper function which should help matching just some of ErrorDetails keys when desired. I'm planning finding a better place for this function before merging the PR.
If this change looks Ok, I would like to add a negative test that will ensure that the original exception which fails the test without arbitrary_types_allowed=True option persists as it looks like an expected behavior.
Checklist

[x] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review


ePubCheck/iTunes Producer encryption.xml validation issue

I had a client send me the error below that they received from iTunes Producer on their ePub file. From reading a moblereads forum post it looks like it can be related to mismatched font extensions, but in this clients ePub I had removed all the fonts and their references throughout except I forgot to remove the encryption.xml (from InDesign CC ePub export). When I run the file through ePubCheck (3.0.1) the file is valid with no errors, but iTunes Producer will not validate the file and throws the error below.
ERROR ITMS-9000 "filename.epub: Item referenced in encryption.xml could not be found in the OPF manifest” at Book (MZitmspBookPackage)"

Closing this as outdated. Feel free to reopen the issue if necessary.


coreDNS failed when using more than one node

env
k3s 1.0.0 v1.16.3-k3s.2
CentOS Linux release 7.7.1908 (Core)  CentOS Linux release 7.6.1810 (Core)
3.10.0-1062.4.3.el7.x86_64
docker 19.03.4
describe

only the node run coredns can resolve via <IP_ADDRESS>, other (both master and agents) can't.
pods with hostNetwork: true can't resolve servicename via it on the same node,  and can't resolve clusterip via it on the different node.(set ClusterFirstWithHostNet)

Maybe the same problem i have: #1142

Ubuntu 16.04（amd64）is good

While we expect K3s to run on just about any Linux distro (amd64, arm64, armhf architectures) please note that currently only some distros are tested and fully supported. See https://rancher.com/docs/k3s/latest/en/installation/node-requirements/#operating-systems
We are planning to start testing with CentOS 7 and RHEL 7 however this does not necessarily mean we are going to add official support in the next release.
While running on CentOS 7.x / RHEL 7.x should work it's possible to come across issues with them.

Ubuntu 16.04（amd64）coredns is also have 5s latency on other node
curl <IP_ADDRESS>:53

this reproduces for us as well. a comment on this bug: https://github.com/kubernetes/kubernetes/issues/56934 suggests it relates to flannel and should perhaps be filed with them.

I do have the same issue when deploying metricbeat, which uses:
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet

When removing it, it works fine.
They added that to have the real hostnames in the metrics, instead of the names of the pods.

I'm seeing this issue as well with Metricbeat/Filebeat. Seems to occur on every release since 1.0.0, but not before that

@tengzhuofei I am trying to reproduce the issue on Ubuntu as well as CentOS using k3s version v1.21.2+k3s1 and k3s version v1.0.0
Here are the steps I followed which seems to be working as expected.

Installed k3s with traefik disabled.
Joined an agent node
Deployed the manifest with hostNetwork: true and dnsPolicy: ClusterFirstWithHostNet,  ensuring pods are on separate nodes

$ cat nginx
apiVersion: v1
kind: Service
metadata:
  name: my-nginx
  labels:
    app: my-nginx
spec:
  type: LoadBalancer
  ports:
  - port: 8800
    targetPort: 80
  selector:
    app: my-nginx

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: my-nginx
spec:
  selector:
    matchLabels:
      app: my-nginx

  replicas: 2
  template:
    metadata:
      labels:
        app: my-nginx
    spec:
      hostNetwork: true
      dnsPolicy: ClusterFirstWithHostNet
      containers:
      - name: my-nginx
        image: nginx:1.8.1

$ kubectl exec -it my-nginx-67db58bbd-9q9nx -- /usr/bin/nslookup my-nginx
Server:		<IP_ADDRESS>
Address:	<IP_ADDRESS>#53

Name:	my-nginx.default.svc.cluster.local
Address: <IP_ADDRESS>

[centos@ip-172-31-43-223 ~]$ curl http://<IP_ADDRESS>:8800
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>

[centos@ip-172-31-43-223 ~]$ curl http://<IP_ADDRESS>:8800
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>

Closing as this no longer seems to be an issue.


never as keyof tuples/arrays behaves the same as number

🔎 Search Terms
tuple keyof never, tuple[never], array keyof never
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries about this issue

Versions I tried:

5.2.2
nightly (playground)

⏯ Playground Link
https://www.typescriptlang.org/play?ts=5.3.0-dev.20230923#code/C4TwDgpgBAglC8UDeBfA2gOwgNwgJwF0oB6YqQUHIotc8AoUSKAIQWSgEMAuKAZ2DwCWGAOZR01fEVIUqOfPXDQAwqzQFMcwiTKUJdBtAAiqvoJHq9UsoBlyXvyHCFjAKKtTDtRppWot9yKdoADFWAAp-UQAfKgBXAFsAI3wASk9LKG1fOzMo2MT8IA
💻 Code
type A = {}[never] // ✅ never
type B = { a: string }[never] // ✅ never
type C = [][never] // ✅ never
type D = [string][never] // ❌ string
type E = string[][never] // ❌ string
type F = (string | number)[][never]  // ❌ string | number

🙁 Actual behavior
After using a never key on tuples/arrays you get back the entirety of the tuple/array elements type.
🙂 Expected behavior
After using a never key on tuples/arrays you get back never, as when dealing with objects.
Additional information about the issue
Not sure if this has historical reasons to behave like it does, but couldn't find any specific info about it.

Is there an actual issue you had with this behaviour? It sounds awfully lot like this issue and comment: https://github.com/microsoft/TypeScript/issues/53345#issuecomment-1483508833

Couldn't find that one! Thanks for pointing that out.
There are no unsolvable problems to be honest, because with your custom types you can workaround the "unexpected" behaviour quite simply.
My actual use case is a "find if there are duplicates in tuple" type. My approach was to deconstruct the tuple with its indexes and check if the current element is equal to one of the types in the union of the other tuple keys. What's interesting is that by simply stating this, you can see why returning the whole tuple/array element type when indexing with never doesn't seems to be "right", when manipulating tuples/arrays.
Example:
export type Indexes<T extends readonly any[]> = keyof T & `${number}`

declare namespace IfNoDuplicateElements {
    export type Duplicate = "Duplicate"
    export type NotDuplicate = "NotDuplicate"
    export type HasDuplicates<T extends readonly any[]> = T extends readonly [] | readonly [any]
        ? NoDuplicate
        : {
              [K1 in Indexes<T>]: Exclude<Indexes<T>, K1> extends infer K2
                  ? K2 extends keyof T
                      ? Type.IfEquals<T[K2], T[K1], Duplicate, NotDuplicate>
                      : "unreachable"
                  : "unreachable"
          }[Indexes<T>]
}
export type IfNoDuplicateElements<
    T extends readonly any[],
    True = T,
    False = never
> = IfNoDuplicateElements.Duplicate extends IfNoDuplicateElements.HasDuplicates<T> ? False : True

I'm basically mapping each element of the tuple to a "Duplicate" or "NotDuplicate" type so to check if any of the elements is duplicated.
The HasDuplicates type, since indexing with never equals to the whole tuple elements type, requires a special case handling for it, instead of being able to apply what I'd call "a reasonable enough approach". It seems fine to me to think about the problem's solution as: "check if any tuple element is equal to any other tuple element". Encoding this logic directly, which seemed correct at first, introduces a subtle bug with 1 elements tuples, forcing a special case handling.
Not to say this is the best approach to this problem, but surely the special case handling seems not intuitive.

Happy to take a PR on this one now that we have an example of where it might matter

@RyanCavanaugh I closed my PR because in the past a similar issue was closed as "Working as Intended". But now I reopened it, may you chack that one? It's #55842


many logs created with date in file name (hashtag695)

I set 2 log but I found many logs with date in the file name. You can see "base64_log_20220819.2022-08-19_15-26-06_100641.log", I think it should be "base64_log_20220819.log".
I use uvicorn and gunicor with one thread. I have no idea why the date in the file name
logger.add("logs/log_{time:YYYYMMDD}.log",
               format="{time:YYYY-MM-DD HH:mm:ss.SSS} | {level} | {message}",
               level="INFO",
               filter=lambda record: "base64" not in record["extra"],
               rotation="12:00",
               diagnose=False,
               catch=False)
logger.add("logs/base64_log_{time:YYYYMMDD}.log",
               format="{time:YYYY-MM-DD HH:mm:ss.SSS} | {level} | {message}",
               level="INFO",
               filter=lambda record: "base64" in record["extra"],
               rotation="12:00",
               diagnose=False,
               catch=False)
logger.info(f"ACCEPT /predict/id ip:\"{req.client.host}\" hash:\"{data_hash}\" {str(data)} {str(type)}")

![image](
![image](

Hi.
I think this happens because of multiple processes started by Uvicorn. Each time a new process is spawned, the entire script is likely re-executed, causing logger.add() to be called more times than desired.
Can you please look at this article and tell me if it helped you: [Unify Python logging for a Gunicorn/Uvicorn/FastAPI application](
Otherwise, could you please provide a [minimal reproducible example]( including Uvicorn/Gunicor setup and command line?


Can we add augmentation transforms to the eval transformations?

We found two comments about this problem in the Challenge Repo, but their content conflicted with each other.

Hi @yi94code, you are free to add transformations as long as they don't introduce random behaviors.
For instance, you are free to resize or pad images, but please don't use those transformations that run based on probability.

Thanks!


"add item" & "add profile" buttons do nothing

"add item" & "add profile" buttons do nothing
Karabiner-Events 0.90.89
on macOs Sierra 10.12.3
I also have Seil installed, which also has issues with Sierra, and links to this Karabiner-Elements project

I have the same issue; same versions of Karabiner-Events and MacOS. I used to have Seil installed, but have uninstalled it and restarted.  The issue persists.

Same issue here.

I have the same problem. Just uninstalled old Karabiner as it was not working after upgrade to sierra and can not add any key to change.

same here, just posting to get updates on that - still thankful for karabiner and your work on it!

Temporary solution - Fork the repo, clone your fork and revert to commit ab39980 - that's the 0.90.88 version which "Add item" works

Whaaaaat? :(

I was able to fix this on my install by opening the config directory ~/.config/karabiner and just doing a touch karabiner.json

@muzll0dr thank you very much. It's WORKING! You are great!

Sorry for inconvenience.
I've fixed this issue at v0.90.90.
Please upgrade Karabiner-Elements.

Thx! I'm loving my Mac again ;)
Donated ;)

Thx a lot! Confirmed working.


DEVOPS-87

Main changes are in the first commit. A lot of formatting changes got mixed in with rustfmt updates.


Improve compilation artifacts structure for multiple solc version

Component
Forge
Describe the feature you would like
Now that foundry supports multiple compiler versions, it creates out/filename/contractName-<compiler-version>.json compilation artifacts. However it is difficult to retrieve what compilation units was used for the files. This makes difficult to support for third party tools (slither/echidna/..).
It would be great to clean the directory structure. For example:

Creating a directory per compilation unit: out/some_id_of_compilation_unit/filename/.... Where some_id_of_compilation_unit could be the hash of the compilation settings, or something similar
Create a mapping some_id_of_compilation_unit -> compiler setting in a file , to allows third party tools to retrieve this information

Such structure will also allow to be robust if a user wants to use the same compiler version, but with different settings (ex: with/without the new IR pipeline / optimization/ ...)
Additional context
No response

Is there any update on this? It is preventing multiple users from using foundry with slither/echidna/...

sorry for not responding, this slipped through...
could elaborate on what you mean by compilation unit here?

`out/some_id_of_compilation_unit/filename/.... Where some_id_of_compilation_unit could be the hash of the compilation settings, or something similar

I think this could be very confusing if you want to look for a specific Artifact (Counter.sol for example) and then you first need to figure out what compilation unit it's part of.
However, if you have a single solc then there should be only one, right? Which would make it redundant for those cases.

However it is difficult to retrieve what compilation units were used for the files

can you describe how this is currently being done and what info is required?
The cache currently has a file, config -> [artifacts] mapping

Marking as not planned, slither has since added support for multiple compilation targets with foundry: https://github.com/crytic/crytic-compile/pull/348


Use delete instead of getmethod for delete ready to merge label

References and relevant issues
closes:  #7159
documentation: https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#remove-a-label-from-an-issue
Description

Actually, with delete if the label is not present, do you get the 404 error still?

I do not remember which code, but I got an error response (4xx code)

I do not remember which code, but I got an error response (4xx code)

So would the response.raise_for_status still result in an error, even if you use delete?

So would the response.raise_for_status still result in an error, even if you use delete?

No, because above, I check if label is already assigned to PR.


List with initial size (improved range)

To do this we could expand on the range syntax:
| Regular range
var list = 0..n; | 0, 1, ... n - 1
| List filled with n zeroes
var list = 0.*n; | 0, ... 0

Not a clear syntax. Could be achieved with:
var list = (0..n).toList().fill(0);


docs: Fix missing code block fence for hidden_legend_constraints

Two things:

Minor thing that I noticed when using this function.  Seems to look fine in documentation, but looked weird on stuff like VS Code.

When using GraphType::Line, if the dataset is empty, you can end up with a subtraction underflow when you do the length - 1.

EDIT: This was originally just a documentation fix but I found the GraphType::Line bug soon after... I guess kill two birds with one PR.

I think that your fix is the object of an other dedicated PR (#283). So I would happily take the documentation fix in this PR and resolve the overflow bug in the other one.

Ah, my bad.  Forgot that I pushed that change temporarily to use in my Cargo.  I'll revert the third commit.
The second commit is more of a fix for if dataset.data is empty - for i in 0..dataset.data.len() - 1 {...} occasionally seems to fail otherwise due to underflow.

Thanks. No you can left the other bug fix here that's fine. I've left a comment and it would be nice if you could add a small test covering this case as well.

Thanks !


Test with cf-operator daily on tip of master

We should catch incompatibilities with latest cf-operator sooner than later.

I'll close this since there's an automated mechanism in place to bump cf-operator, which in some sense implements the idea here. This issue dates back to when we didn't pin cf-operator on KubeCF.


Get Swift working again

After a series of refactors and rewrites there were a small number of
defects in the Swift code path. Update Ursula to take account for
these changes.

Waiting on a package build

Unrelated failure in tests. Rerunning.

Rebased on master and pushed again for tests.